SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Quanta Services, Inc. – ‘10-Q’ for 3/31/22 – ‘JSON’

On:  Thursday, 5/5/22, at 4:27pm ET   ·   For:  3/31/22   ·   Accession #:  1050915-22-78   ·   File #:  1-13831

Previous ‘10-Q’:  ‘10-Q’ on 11/4/21 for 9/30/21   ·   Next:  ‘10-Q’ on 8/4/22 for 6/30/22   ·   Latest:  ‘10-Q’ on 5/2/24 for 3/31/24   ·   4 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

 5/05/22  Quanta Services, Inc.             10-Q        3/31/22  102:9.5M

Quarterly Report   —   Form 10-Q

Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML   1.02M 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     32K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     32K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     29K 
10: R1          Cover Page                                          HTML     81K 
11: R2          Condensed Consolidated Balance Sheets               HTML    151K 
12: R3          Condensed Consolidated Balance Sheets               HTML     47K 
                (Parenthetical)                                                  
13: R4          Condensed Consolidated Statements of Operations     HTML    121K 
14: R5          Condensed Consolidated Statements of Comprehensive  HTML     62K 
                Income (Loss)                                                    
15: R6          Condensed Consolidated Statements of Comprehensive  HTML     32K 
                Income (Loss) (Parenthetical)                                    
16: R7          Condensed Consolidated Statements of Cash Flows     HTML    135K 
17: R8          Condensed Consolidated Statements of Equity         HTML     84K 
18: R9          Condensed Consolidated Statements of Equity         HTML     30K 
                (Parenthetical)                                                  
19: R10         Business and Organization                           HTML     36K 
20: R11         Basis of Presentation and Accounting Policies       HTML     32K 
21: R12         New Accounting Pronouncements                       HTML     40K 
22: R13         Revenue Recognition and Related Balance Sheet       HTML     94K 
                Accounts                                                         
23: R14         Segment Information                                 HTML     65K 
24: R15         Acquisitions                                        HTML     58K 
25: R16         Goodwill and Other Intangible Assets                HTML     33K 
26: R17         Investments in Affiliates and Other Entities        HTML     37K 
27: R18         Per Share Information                               HTML     41K 
28: R19         Debt Obligations                                    HTML     72K 
29: R20         Leases                                              HTML    110K 
30: R21         Income Taxes                                        HTML     34K 
31: R22         Equity                                              HTML     58K 
32: R23         Stock-Based Compensation                            HTML     62K 
33: R24         Employee Benefit Plans                              HTML     37K 
34: R25         Commitments and Contingencies                       HTML     76K 
35: R26         Fair Value Measurements                             HTML     41K 
36: R27         Detail of Certain Accounts                          HTML     53K 
37: R28         Supplemental Cash Flow Information                  HTML     82K 
38: R29         Basis of Presentation and Accounting Policies       HTML     84K 
                (Policies)                                                       
39: R30         Revenue Recognition and Related Balance Sheet       HTML     77K 
                Accounts (Tables)                                                
40: R31         Segment Information (Tables)                        HTML     57K 
41: R32         Acquisitions (Tables)                               HTML     50K 
42: R33         Per Share Information (Tables)                      HTML     39K 
43: R34         Debt Obligations (Tables)                           HTML     74K 
44: R35         Leases (Tables)                                     HTML     88K 
45: R36         Equity (Tables)                                     HTML     55K 
46: R37         Stock-Based Compensation (Tables)                   HTML     58K 
47: R38         Detail of Certain Accounts (Tables)                 HTML     54K 
48: R39         Supplemental Cash Flow Information (Tables)         HTML     85K 
49: R40         Business and Organization (Detail)                  HTML     30K 
50: R41         Revenue Recognition and Related Balance Sheet       HTML     52K 
                Accounts - Revenue Disaggregated by Geographic                   
                Location and Contract Type (Details)                             
51: R42         Revenue Recognition and Related Balance Sheet       HTML     91K 
                Accounts - Additional Information (Details)                      
52: R43         Revenue Recognition and Related Balance Sheet       HTML     33K 
                Accounts - Contract Assets and Liabilities                       
                (Details)                                                        
53: R44         Revenue Recognition and Related Balance Sheet       HTML     35K 
                Accounts - Composition of the Allowance for Credit               
                Losses (Details)                                                 
54: R45         Segment Information - Narrative (Details)           HTML     45K 
55: R46         Segment Information - Summarized Financial          HTML     56K 
                Information (Details)                                            
56: R47         Acquisitions - Narrative (Details)                  HTML     74K 
57: R48         Acquisitions - Aggregate Fair Values of             HTML     42K 
                Outstanding Contingent Consideration Liabilities                 
                (Details)                                                        
58: R49         Acquisitions - Unaudited Supplemental Pro Forma     HTML     46K 
                Results of Operations (Details)                                  
59: R50         Goodwill and Other Intangible Assets - Narrative    HTML     51K 
                (Details)                                                        
60: R51         Investments in Affiliates and Other Entities        HTML     90K 
                (Details)                                                        
61: R52         Per Share Information - Basic and Diluted Earnings  HTML     47K 
                Per Share Attributable to Common Stock (Details)                 
62: R53         Per Share Information - Narrative (Details)         HTML     30K 
63: R54         Debt Obligations - Long-term Debt Obligations       HTML     68K 
                (Details)                                                        
64: R55         Debt Obligations - Current Maturities of Long-Term  HTML     35K 
                Debt and Short-Term Debt (Details)                               
65: R56         Debt Obligations - Senior Notes (Details)           HTML     42K 
66: R57         Debt Obligations - Senior Credit Facility           HTML     80K 
                (Details)                                                        
67: R58         Debt Obligations - Borrowings under Credit          HTML     34K 
                Facility and Applicable Interest Rates (Details)                 
68: R59         Leases - Components of Lease Costs (Details)        HTML     39K 
69: R60         Leases - Narrative (Details)                        HTML     42K 
70: R61         Leases - Future Minimum Lease Payments (Details)    HTML     86K 
71: R62         Leases - Other Information Related to Leases        HTML     39K 
                (Details)                                                        
72: R63         Income Taxes (Details)                              HTML     41K 
73: R64         Equity - Repurchases of Common Stock Under Stock    HTML     34K 
                Repurchase Programs (Details)                                    
74: R65         Equity - Narrative (Details)                        HTML     29K 
75: R66         Equity - Dividends (Details)                        HTML     32K 
76: R67         Stock-Based Compensation - Additional Information   HTML     47K 
                (Details)                                                        
77: R68         Stock-Based Compensation - Summary of PSUs and      HTML     60K 
                RSUs to be Settled in Common Stock Activity                      
                (Details)                                                        
78: R69         Stock-Based Compensation - Grant Date Fair Value    HTML     39K 
                for Awards of Performance Units Inputs (Details)                 
79: R70         Stock-Based Compensation - RSUs to be Settled in    HTML     37K 
                Cash (Details)                                                   
80: R71         Employee Benefit Plans (Details)                    HTML     36K 
81: R72         Commitments and Contingencies - Legal Proceedings   HTML    103K 
                (Details)                                                        
82: R73         Commitments and Contingencies - Silverado Wildfire  HTML     32K 
                Matter (Details)                                                 
83: R74         Commitments and Contingencies - Insurance           HTML     41K 
                (Details)                                                        
84: R75         Commitments and Contingencies - Letters of Credit   HTML     33K 
                (Details)                                                        
85: R76         Commitments and Contingencies - Bonds and Parent    HTML     40K 
                Guarantees (Details)                                             
86: R77         Commitments and Contingencies - Committed           HTML     33K 
                Expenditures (Details)                                           
87: R78         Commitments and Contingencies - Residual Value      HTML     29K 
                Guarantees (Details)                                             
88: R79         Commitments and Contingencies - Deferral of         HTML     33K 
                Employer Payroll Taxes (Details)                                 
89: R80         Fair Value Measurements - Contingent Consideration  HTML     42K 
                Liabilities (Details)                                            
90: R81         Fair Value Measurements - Long-term Debt (Details)  HTML     38K 
91: R82         Detail of Certain Accounts - Cash and Cash          HTML     50K 
                Equivalents (Details)                                            
92: R83         Detail of Certain Accounts - Accounts Payable and   HTML     38K 
                Accrued Expenses (Details)                                       
93: R84         Supplemental Cash Flow Information - Net Effects    HTML     45K 
                of Changes in Operating Assets and Liabilities,                  
                Net, on Cash Flows from Operating Activities                     
                (Details)                                                        
94: R85         Supplemental Cash Flow Information -                HTML     45K 
                Reconciliation of Cash, Cash Equivalents, and                    
                Restricted Cash (Details)                                        
95: R86         Supplemental Cash Flow Information - Supplemental   HTML     44K 
                Cash Flow Related to Leases (Details)                            
96: R87         Supplemental Cash Flow Information - Additional     HTML     35K 
                Supplemental Cash Flow Information (Details)                     
97: R88         Supplemental Cash Flow Information - Narrative      HTML     30K 
                (Details)                                                        
100: XML         IDEA XML File -- Filing Summary                      XML    190K  
98: XML         XBRL Instance -- pwr-20220331_htm                    XML   2.06M 
99: EXCEL       IDEA Workbook of Financial Reports                  XLSX    133K 
 6: EX-101.CAL  XBRL Calculations -- pwr-20220331_cal                XML    250K 
 7: EX-101.DEF  XBRL Definitions -- pwr-20220331_def                 XML    702K 
 8: EX-101.LAB  XBRL Labels -- pwr-20220331_lab                      XML   2.02M 
 9: EX-101.PRE  XBRL Presentations -- pwr-20220331_pre               XML   1.15M 
 5: EX-101.SCH  XBRL Schema -- pwr-20220331                          XSD    242K 
101: JSON        XBRL Instance as JSON Data -- MetaLinks              499±   714K  
102: ZIP         XBRL Zipped Folder -- 0001050915-22-000078-xbrl      Zip    439K  


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


This File is an XBRL Instance as JavaScript Object Notation (JSON) Data.



{
"instance":  {
    "pwr-20220331.htm":  {
        "axisCustom":  1,
        "axisStandard":  35,
        "contextCount":  233,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "pwr-20220331_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "pwr-20220331_def.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "pwr-20220331.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "pwr-20220331_lab.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "pwr-20220331_pre.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "pwr-20220331.xsd"
                    ],
                "remote":  [
                    "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
                    "http://www.xbrl.org/2005/xbrldt-2005.xsd",
                    "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
                    "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
                    "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
                    "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
                    "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
                    "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
                    "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
                    "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
                    "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
                    "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
                    "https://xbrl.sec.gov/country/2021/country-2021.xsd",
                    "https://xbrl.sec.gov/currency/2021/currency-2021.xsd",
                    "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd"
                    ]
                }
            },
        "elementCount":  673,
        "entityCount":  1,
        "hidden":  {
            "http://xbrl.sec.gov/dei/2021q4":  5,
            "total":  5
            },
        "keyCustom":  77,
        "keyStandard":  344,
        "memberCustom":  58,
        "memberStandard":  39,
        "nsprefix":  "pwr",
        "nsuri":  "http://quantaservices.com/20220331",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "0001001 - Document - Cover Page",
                "role":  "http://quantaservices.com/role/CoverPage",
                "shortName":  "Cover Page",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2101101 - Disclosure - Business and Organization",
                "role":  "http://quantaservices.com/role/BusinessandOrganization",
                "shortName":  "Business and Organization",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2103102 - Disclosure - Basis of Presentation and Accounting Policies",
                "role":  "http://quantaservices.com/role/BasisofPresentationandAccountingPolicies",
                "shortName":  "Basis of Presentation and Accounting Policies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2105103 - Disclosure - New Accounting Pronouncements",
                "role":  "http://quantaservices.com/role/NewAccountingPronouncements",
                "shortName":  "New Accounting Pronouncements",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2106104 - Disclosure - Revenue Recognition and Related Balance Sheet Accounts",
                "role":  "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccounts",
                "shortName":  "Revenue Recognition and Related Balance Sheet Accounts",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:SegmentReportingPolicyPolicyTextBlock",
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2112105 - Disclosure - Segment Information",
                "role":  "http://quantaservices.com/role/SegmentInformation",
                "shortName":  "Segment Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:SegmentReportingPolicyPolicyTextBlock",
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2116106 - Disclosure - Acquisitions",
                "role":  "http://quantaservices.com/role/Acquisitions",
                "shortName":  "Acquisitions",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2121107 - Disclosure - Goodwill and Other Intangible Assets",
                "role":  "http://quantaservices.com/role/GoodwillandOtherIntangibleAssets",
                "shortName":  "Goodwill and Other Intangible Assets",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:EquityAndCostMethodInvestmentsAndJointVentureDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2123108 - Disclosure - Investments in Affiliates and Other Entities",
                "role":  "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntities",
                "shortName":  "Investments in Affiliates and Other Entities",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:EquityAndCostMethodInvestmentsAndJointVentureDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2125109 - Disclosure - Per Share Information",
                "role":  "http://quantaservices.com/role/PerShareInformation",
                "shortName":  "Per Share Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2129110 - Disclosure - Debt Obligations",
                "role":  "http://quantaservices.com/role/DebtObligations",
                "shortName":  "Debt Obligations",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1001002 - Statement - Condensed Consolidated Balance Sheets",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                "shortName":  "Condensed Consolidated Balance Sheets",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:AccountsReceivableNetCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeasesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2136111 - Disclosure - Leases",
                "role":  "http://quantaservices.com/role/Leases",
                "shortName":  "Leases",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeasesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2142112 - Disclosure - Income Taxes",
                "role":  "http://quantaservices.com/role/IncomeTaxes",
                "shortName":  "Income Taxes",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2144113 - Disclosure - Equity",
                "role":  "http://quantaservices.com/role/Equity",
                "shortName":  "Equity",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2149114 - Disclosure - Stock-Based Compensation",
                "role":  "http://quantaservices.com/role/StockBasedCompensation",
                "shortName":  "Stock-Based Compensation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2155115 - Disclosure - Employee Benefit Plans",
                "role":  "http://quantaservices.com/role/EmployeeBenefitPlans",
                "shortName":  "Employee Benefit Plans",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2157116 - Disclosure - Commitments and Contingencies",
                "role":  "http://quantaservices.com/role/CommitmentsandContingencies",
                "shortName":  "Commitments and Contingencies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2166117 - Disclosure - Fair Value Measurements",
                "role":  "http://quantaservices.com/role/FairValueMeasurements",
                "shortName":  "Fair Value Measurements",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:DetailOfCertainBalanceSheetAccountsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2169118 - Disclosure - Detail of Certain Accounts",
                "role":  "http://quantaservices.com/role/DetailofCertainAccounts",
                "shortName":  "Detail of Certain Accounts",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:DetailOfCertainBalanceSheetAccountsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2173119 - Disclosure - Supplemental Cash Flow Information",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformation",
                "shortName":  "Supplemental Cash Flow Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2204201 - Disclosure - Basis of Presentation and Accounting Policies (Policies)",
                "role":  "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies",
                "shortName":  "Basis of Presentation and Accounting Policies (Policies)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1002003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
                "shortName":  "Condensed Consolidated Balance Sheets (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisaggregationOfRevenueTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2307301 - Disclosure - Revenue Recognition and Related Balance Sheet Accounts (Tables)",
                "role":  "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsTables",
                "shortName":  "Revenue Recognition and Related Balance Sheet Accounts (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisaggregationOfRevenueTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2313302 - Disclosure - Segment Information (Tables)",
                "role":  "http://quantaservices.com/role/SegmentInformationTables",
                "shortName":  "Segment Information (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2317303 - Disclosure - Acquisitions (Tables)",
                "role":  "http://quantaservices.com/role/AcquisitionsTables",
                "shortName":  "Acquisitions (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2326304 - Disclosure - Per Share Information (Tables)",
                "role":  "http://quantaservices.com/role/PerShareInformationTables",
                "shortName":  "Per Share Information (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2330305 - Disclosure - Debt Obligations (Tables)",
                "role":  "http://quantaservices.com/role/DebtObligationsTables",
                "shortName":  "Debt Obligations (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LeaseCostTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2337306 - Disclosure - Leases (Tables)",
                "role":  "http://quantaservices.com/role/LeasesTables",
                "shortName":  "Leases (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LeaseCostTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2345307 - Disclosure - Equity (Tables)",
                "role":  "http://quantaservices.com/role/EquityTables",
                "shortName":  "Equity (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2350308 - Disclosure - Stock-Based Compensation (Tables)",
                "role":  "http://quantaservices.com/role/StockBasedCompensationTables",
                "shortName":  "Stock-Based Compensation (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R38":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2370309 - Disclosure - Detail of Certain Accounts (Tables)",
                "role":  "http://quantaservices.com/role/DetailofCertainAccountsTables",
                "shortName":  "Detail of Certain Accounts (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R39":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashFlowOperatingCapitalTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2374310 - Disclosure - Supplemental Cash Flow Information (Tables)",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformationTables",
                "shortName":  "Supplemental Cash Flow Information (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashFlowOperatingCapitalTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1003004 - Statement - Condensed Consolidated Statements of Operations",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations",
                "shortName":  "Condensed Consolidated Statements of Operations",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:CostOfGoodsAndServicesSold",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R40":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unitRef":  "segment",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2402401 - Disclosure - Business and Organization (Detail)",
                "role":  "http://quantaservices.com/role/BusinessandOrganizationDetail",
                "shortName":  "Business and Organization (Detail)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R41":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2408402 - Disclosure - Revenue Recognition and Related Balance Sheet Accounts - Revenue Disaggregated by Geographic Location and Contract Type (Details)",
                "role":  "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails",
                "shortName":  "Revenue Recognition and Related Balance Sheet Accounts - Revenue Disaggregated by Geographic Location and Contract Type (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "3",
                    "lang":  "en-US",
                    "name":  "pwr:PercentageOfTotalRevenues",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R42":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-7",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueRemainingPerformanceObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2409403 - Disclosure - Revenue Recognition and Related Balance Sheet Accounts - Additional Information (Details)",
                "role":  "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails",
                "shortName":  "Revenue Recognition and Related Balance Sheet Accounts - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-7",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueRemainingPerformanceObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R43":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ContractWithCustomerAssetNetCurrent",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2410404 - Disclosure - Revenue Recognition and Related Balance Sheet Accounts - Contract Assets and Liabilities (Details)",
                "role":  "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsContractAssetsandLiabilitiesDetails",
                "shortName":  "Revenue Recognition and Related Balance Sheet Accounts - Contract Assets and Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R44":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i70a7e3d6e74c4adcb6c78d46a5b87eb7_I20211231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2411405 - Disclosure - Revenue Recognition and Related Balance Sheet Accounts - Composition of the Allowance for Credit Losses (Details)",
                "role":  "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsCompositionoftheAllowanceforCreditLossesDetails",
                "shortName":  "Revenue Recognition and Related Balance Sheet Accounts - Composition of the Allowance for Credit Losses (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i70a7e3d6e74c4adcb6c78d46a5b87eb7_I20211231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R45":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unitRef":  "segment",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2414406 - Disclosure - Segment Information - Narrative (Details)",
                "role":  "http://quantaservices.com/role/SegmentInformationNarrativeDetails",
                "shortName":  "Segment Information - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i1193863096ba454eae9fcda41a3c1f29_D20220101-20220331",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R46":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2415407 - Disclosure - Segment Information - Summarized Financial Information (Details)",
                "role":  "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails",
                "shortName":  "Segment Information - Summarized Financial Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ib8eb8386481c4901b43c04559c0a3c3b_D20220101-20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingIncomeLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R47":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2418408 - Disclosure - Acquisitions - Narrative (Details)",
                "role":  "http://quantaservices.com/role/AcquisitionsNarrativeDetails",
                "shortName":  "Acquisitions - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "if8df55d2771441c1bc35551e1759fcc5_D20210401-20220331",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "pwr:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetTangibleAssets",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R48":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i786d15a22be84023ad56d3f4085d3a00_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationContingentConsiderationLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2419409 - Disclosure - Acquisitions - Aggregate Fair Values of Outstanding Contingent Consideration Liabilities (Details)",
                "role":  "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                "shortName":  "Acquisitions - Aggregate Fair Values of Outstanding Contingent Consideration Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i786d15a22be84023ad56d3f4085d3a00_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationContingentConsiderationLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R49":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ib29ba86a755f453fa20682bd163846ca_D20210101-20210331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessAcquisitionsProFormaRevenue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2420410 - Disclosure - Acquisitions - Unaudited Supplemental Pro Forma Results of Operations (Details)",
                "role":  "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails",
                "shortName":  "Acquisitions - Unaudited Supplemental Pro Forma Results of Operations (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ib29ba86a755f453fa20682bd163846ca_D20210101-20210331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessAcquisitionsProFormaRevenue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1004005 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss)",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss",
                "shortName":  "Condensed Consolidated Statements of Comprehensive Income (Loss)",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R50":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unitRef":  "segment",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2422411 - Disclosure - Goodwill and Other Intangible Assets - Narrative (Details)",
                "role":  "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails",
                "shortName":  "Goodwill and Other Intangible Assets - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "0",
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillImpairmentLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R51":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EquityMethodInvestments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2424412 - Disclosure - Investments in Affiliates and Other Entities (Details)",
                "role":  "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails",
                "shortName":  "Investments in Affiliates and Other Entities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EquityMethodInvestments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R52":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2427413 - Disclosure - Per Share Information - Basic and Diluted Earnings Per Share Attributable to Common Stock (Details)",
                "role":  "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails",
                "shortName":  "Per Share Information - Basic and Diluted Earnings Per Share Attributable to Common Stock (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R53":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2428414 - Disclosure - Per Share Information - Narrative (Details)",
                "role":  "http://quantaservices.com/role/PerShareInformationNarrativeDetails",
                "shortName":  "Per Share Information - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R54":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfDebtTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCredit",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2431415 - Disclosure - Debt Obligations - Long-term Debt Obligations (Details)",
                "role":  "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                "shortName":  "Debt Obligations - Long-term Debt Obligations (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfDebtTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherLongTermDebt",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R55":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfShortTermDebtTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermBorrowings",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2432416 - Disclosure - Debt Obligations - Current Maturities of Long-Term Debt and Short-Term Debt (Details)",
                "role":  "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails",
                "shortName":  "Debt Obligations - Current Maturities of Long-Term Debt and Short-Term Debt (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfShortTermDebtTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermBorrowings",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R56":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i0faa44984b8a4a39bf700b8e061a1a54_I20210923",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentInterestRateStatedPercentage",
                    "reportCount":  1,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2433417 - Disclosure - Debt Obligations - Senior Notes (Details)",
                "role":  "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails",
                "shortName":  "Debt Obligations - Senior Notes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i000f9faf6cea482a8346780c532607d4_D20210923-20210923",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentPeriodicPaymentInterest",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R57":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfDebtTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCredit",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2434418 - Disclosure - Debt Obligations - Senior Credit Facility (Details)",
                "role":  "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails",
                "shortName":  "Debt Obligations - Senior Credit Facility (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ib4e689739f0c47bf817bdbc2f0543ba9_I20220331",
                    "decimals":  "-7",
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityRemainingBorrowingCapacity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R58":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2435419 - Disclosure - Debt Obligations - Borrowings under Credit Facility and Applicable Interest Rates (Details)",
                "role":  "http://quantaservices.com/role/DebtObligationsBorrowingsunderCreditFacilityandApplicableInterestRatesDetails",
                "shortName":  "Debt Obligations - Borrowings under Credit Facility and Applicable Interest Rates (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R59":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinanceLeaseRightOfUseAssetAmortization",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2438420 - Disclosure - Leases - Components of Lease Costs (Details)",
                "role":  "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails",
                "shortName":  "Leases - Components of Lease Costs (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinanceLeaseRightOfUseAssetAmortization",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1005006 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLossParenthetical",
                "shortName":  "Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R60":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermLeaseCommitmentAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2439421 - Disclosure - Leases - Narrative (Details)",
                "role":  "http://quantaservices.com/role/LeasesNarrativeDetails",
                "shortName":  "Leases - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermLeaseCommitmentAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R61":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
                        "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2440422 - Disclosure - Leases - Future Minimum Lease Payments (Details)",
                "role":  "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails",
                "shortName":  "Leases - Future Minimum Lease Payments (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
                        "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R62":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "pwr:AssetsAndLiabilitiesLesseeTableTextBlock",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2441423 - Disclosure - Leases - Other Information Related to Leases (Details)",
                "role":  "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails",
                "shortName":  "Leases - Other Information Related to Leases (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "pwr:AssetsAndLiabilitiesLesseeTableTextBlock",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R63":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2443424 - Disclosure - Income Taxes (Details)",
                "role":  "http://quantaservices.com/role/IncomeTaxesDetails",
                "shortName":  "Income Taxes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R64":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockRepurchasedDuringPeriodShares",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2446425 - Disclosure - Equity - Repurchases of Common Stock Under Stock Repurchase Programs (Details)",
                "role":  "http://quantaservices.com/role/EquityRepurchasesofCommonStockUnderStockRepurchaseProgramsDetails",
                "shortName":  "Equity - Repurchases of Common Stock Under Stock Repurchase Programs (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockRepurchasedDuringPeriodShares",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R65":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PaymentsForRepurchaseOfCommonStock",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2447426 - Disclosure - Equity - Narrative (Details)",
                "role":  "http://quantaservices.com/role/EquityNarrativeDetails",
                "shortName":  "Equity - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R66":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:DividendsDeclaredTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i844b9362f2784347bd483a39704778bb_D20220330-20220330",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockDividendsPerShareDeclared",
                    "reportCount":  1,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2448427 - Disclosure - Equity - Dividends (Details)",
                "role":  "http://quantaservices.com/role/EquityDividendsDetails",
                "shortName":  "Equity - Dividends (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:DividendsDeclaredTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i844b9362f2784347bd483a39704778bb_D20220330-20220330",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:DividendsCommonStockCash",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R67":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:NumberOfShareBasedEquityPlans",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "incentiveplan",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2451428 - Disclosure - Stock-Based Compensation - Additional Information (Details)",
                "role":  "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                "shortName":  "Stock-Based Compensation - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:NumberOfShareBasedEquityPlans",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "incentiveplan",
                    "xsiNil":  "false"
                    }
                },
            "R68":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i51a1ae95a4a7483cac0daa489434b9a7_I20211231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2452429 - Disclosure - Stock-Based Compensation - Summary of PSUs and RSUs to be Settled in Common Stock Activity (Details)",
                "role":  "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails",
                "shortName":  "Stock-Based Compensation - Summary of PSUs and RSUs to be Settled in Common Stock Activity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i51a1ae95a4a7483cac0daa489434b9a7_I20211231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R69":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ic1835f715b7f4c4a911f636f8498133e_I20210325",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SharePrice",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2453430 - Disclosure - Stock-Based Compensation - Grant Date Fair Value for Awards of Performance Units Inputs (Details)",
                "role":  "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails",
                "shortName":  "Stock-Based Compensation - Grant Date Fair Value for Awards of Performance Units Inputs (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ic1835f715b7f4c4a911f636f8498133e_I20210325",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SharePrice",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1006007 - Statement - Condensed Consolidated Statements of Cash Flows",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                "shortName":  "Condensed Consolidated Statements of Cash Flows",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeLossFromEquityMethodInvestments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R70":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ifd9c3841ec4c4eef8bd009e49d70af3b_D20220101-20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2454431 - Disclosure - Stock-Based Compensation - RSUs to be Settled in Cash (Details)",
                "role":  "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails",
                "shortName":  "Stock-Based Compensation - RSUs to be Settled in Cash (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ifd9c3841ec4c4eef8bd009e49d70af3b_D20220101-20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R71":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DeferredCompensationLiabilityClassifiedNoncurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2456432 - Disclosure - Employee Benefit Plans (Details)",
                "role":  "http://quantaservices.com/role/EmployeeBenefitPlansDetails",
                "shortName":  "Employee Benefit Plans (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DeferredCompensationLiabilityClassifiedNoncurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R72":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GrossProfit",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2458433 - Disclosure - Commitments and Contingencies - Legal Proceedings (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                "shortName":  "Commitments and Contingencies - Legal Proceedings (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i80f19c7d7c93421395608e24ce2d93de_I20190831",
                    "decimals":  "0",
                    "lang":  "en-US",
                    "name":  "pwr:NumberOfBuildingsWithPropertyDamage",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "building",
                    "xsiNil":  "false"
                    }
                },
            "R73":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i6f8ef127b1a2447cb6ac20ac21e5133f_I20201031",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:DamagedLandArea",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "acre",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2459434 - Disclosure - Commitments and Contingencies - Silverado Wildfire Matter (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails",
                "shortName":  "Commitments and Contingencies - Silverado Wildfire Matter (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i6f8ef127b1a2447cb6ac20ac21e5133f_I20201031",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:DamagedLandArea",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "acre",
                    "xsiNil":  "false"
                    }
                },
            "R74":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherLiabilitiesNoncurrent",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2460435 - Disclosure - Commitments and Contingencies - Insurance (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails",
                "shortName":  "Commitments and Contingencies - Insurance (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "id72cbd76a8b04c149ea967d5f99c2ec0_I20220331",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:LiabilityForClaimsAndClaimsAdjustmentExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R75":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "ib485ce0874de404c8cb1707726c0b9d2_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LettersOfCreditOutstandingAmount",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2461436 - Disclosure - Commitments and Contingencies - Letters of Credit (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                "shortName":  "Commitments and Contingencies - Letters of Credit (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i249d09bd57a74bd281d3e07f3ce8c6b1_D20220101-20220331",
                    "decimals":  null,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentTerm",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R76":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i317a73e14809405aa1f9efba7d90a57d_I20220331",
                    "decimals":  "-8",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GuaranteeObligationsMaximumExposure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2462437 - Disclosure - Commitments and Contingencies - Bonds and Parent Guarantees (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                "shortName":  "Commitments and Contingencies - Bonds and Parent Guarantees (Details)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i317a73e14809405aa1f9efba7d90a57d_I20220331",
                    "decimals":  "-8",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GuaranteeObligationsMaximumExposure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R77":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i61c4cef128544b0b91673d9aff9347e6_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2463438 - Disclosure - Commitments and Contingencies - Committed Expenditures (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails",
                "shortName":  "Commitments and Contingencies - Committed Expenditures (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i61c4cef128544b0b91673d9aff9347e6_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R78":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseResidualValueOfLeasedAsset",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2464439 - Disclosure - Commitments and Contingencies - Residual Value Guarantees (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesResidualValueGuaranteesDetails",
                "shortName":  "Commitments and Contingencies - Residual Value Guarantees (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R79":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i6da868a0ec724f7b9725f7667d98f9f7_D20200101-20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:CARESActDeferredPaymentEmployerPayrollTaxes",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2465440 - Disclosure - Commitments and Contingencies - Deferral of Employer Payroll Taxes (Details)",
                "role":  "http://quantaservices.com/role/CommitmentsandContingenciesDeferralofEmployerPayrollTaxesDetails",
                "shortName":  "Commitments and Contingencies - Deferral of Employer Payroll Taxes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i6da868a0ec724f7b9725f7667d98f9f7_D20200101-20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "pwr:CARESActDeferredPaymentEmployerPayrollTaxes",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i8b72b163130540e1bc29f2947ddb0f36_I20201231",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SharesOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1007008 - Statement - Condensed Consolidated Statements of Equity",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity",
                "shortName":  "Condensed Consolidated Statements of Equity",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i8b72b163130540e1bc29f2947ddb0f36_I20201231",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SharesOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R80":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "us-gaap:FairValueOfFinancialInstrumentsPolicy",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i3580600d755e40b6b3f4879f6263f1b9_I20220331",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationContingentConsiderationLiabilityMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2467441 - Disclosure - Fair Value Measurements - Contingent Consideration Liabilities (Details)",
                "role":  "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                "shortName":  "Fair Value Measurements - Contingent Consideration Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "us-gaap:FairValueOfFinancialInstrumentsPolicy",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i3580600d755e40b6b3f4879f6263f1b9_I20220331",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationContingentConsiderationLiabilityMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R81":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i3306a59428544ae58b582eb14fd9599c_I20220331",
                    "decimals":  "-7",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtFairValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2468442 - Disclosure - Fair Value Measurements - Long-term Debt (Details)",
                "role":  "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails",
                "shortName":  "Fair Value Measurements - Long-term Debt (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i3306a59428544ae58b582eb14fd9599c_I20220331",
                    "decimals":  "-7",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtFairValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R82":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2471443 - Disclosure - Detail of Certain Accounts - Cash and Cash Equivalents (Details)",
                "role":  "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                "shortName":  "Detail of Certain Accounts - Cash and Cash Equivalents (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:CashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R83":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AccountsPayableTradeCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2472444 - Disclosure - Detail of Certain Accounts - Accounts Payable and Accrued Expenses (Details)",
                "role":  "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails",
                "shortName":  "Detail of Certain Accounts - Accounts Payable and Accrued Expenses (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AccountsPayableTradeCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R84":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:CashFlowOperatingCapitalTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncreaseDecreaseInAccountsAndNotesReceivable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2475445 - Disclosure - Supplemental Cash Flow Information - Net Effects of Changes in Operating Assets and Liabilities, Net, on Cash Flows from Operating Activities (Details)",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails",
                "shortName":  "Supplemental Cash Flow Information - Net Effects of Changes in Operating Assets and Liabilities, Net, on Cash Flows from Operating Activities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:CashFlowOperatingCapitalTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncreaseDecreaseInAccountsAndNotesReceivable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R85":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idac664dc0d2d43d9932d851d9939e17e_I20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2476446 - Disclosure - Supplemental Cash Flow Information - Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details)",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails",
                "shortName":  "Supplemental Cash Flow Information - Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "idd53c417c0854b0c95652ee8fd72a797_I20220331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:RestrictedCashAndCashEquivalents",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R86":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "pwr:LesseeSupplementalCashFlowsFromLeasesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeasePayments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2477447 - Disclosure - Supplemental Cash Flow Information - Supplemental Cash Flow Related to Leases (Details)",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails",
                "shortName":  "Supplemental Cash Flow Information - Supplemental Cash Flow Related to Leases (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "pwr:LesseeSupplementalCashFlowsFromLeasesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeasePayments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R87":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestPaidNet",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2478448 - Disclosure - Supplemental Cash Flow Information - Additional Supplemental Cash Flow Information (Details)",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformationAdditionalSupplementalCashFlowInformationDetails",
                "shortName":  "Supplemental Cash Flow Information - Additional Supplemental Cash Flow Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestPaidNet",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R88":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CapitalExpendituresIncurredButNotYetPaid",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2479449 - Disclosure - Supplemental Cash Flow Information - Narrative (Details)",
                "role":  "http://quantaservices.com/role/SupplementalCashFlowInformationNarrativeDetails",
                "shortName":  "Supplemental Cash Flow Information - Narrative (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i37d32fad735f407cbb91a0bfd89cbe87_D20220101-20220331",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CapitalExpendituresIncurredButNotYetPaid",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:DividendsDeclaredTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "pwr-20220331.htm",
                    "contextRef":  "i844b9362f2784347bd483a39704778bb_D20220330-20220330",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockDividendsPerShareDeclared",
                    "reportCount":  1,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1008009 - Statement - Condensed Consolidated Statements of Equity (Parenthetical)",
                "role":  "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquityParenthetical",
                "shortName":  "Condensed Consolidated Statements of Equity (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  null
                }
            },
        "segmentCount":  98,
        "tag":  {
            "country_AU":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "AUSTRALIA",
                            "terseLabel":  "Australia"
                            }
                        }
                    },
                "localname":  "AU",
                "nsuri":  "http://xbrl.sec.gov/country/2021",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "country_CA":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CANADA",
                            "terseLabel":  "Canada"
                            }
                        }
                    },
                "localname":  "CA",
                "nsuri":  "http://xbrl.sec.gov/country/2021",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails",
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "country_US":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "UNITED STATES",
                            "terseLabel":  "United States"
                            }
                        }
                    },
                "localname":  "US",
                "nsuri":  "http://xbrl.sec.gov/country/2021",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "currency_AUD":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Australia, Dollars",
                            "terseLabel":  "Australian Dollars"
                            }
                        }
                    },
                "localname":  "AUD",
                "nsuri":  "http://xbrl.sec.gov/currency/2021",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "currency_AllCurrenciesDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "All Currencies [Domain]",
                            "terseLabel":  "All Currencies [Domain]"
                            }
                        }
                    },
                "localname":  "AllCurrenciesDomain",
                "nsuri":  "http://xbrl.sec.gov/currency/2021",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "currency_CAD":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Canada, Dollars",
                            "terseLabel":  "Canadian Dollars"
                            }
                        }
                    },
                "localname":  "CAD",
                "nsuri":  "http://xbrl.sec.gov/currency/2021",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "currency_USD":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "United States of America, Dollars",
                            "terseLabel":  "U.S.  Dollar"
                            }
                        }
                    },
                "localname":  "USD",
                "nsuri":  "http://xbrl.sec.gov/currency/2021",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "dei_AmendmentFlag":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
                            "label":  "Amendment Flag",
                            "terseLabel":  "Amendment Flag"
                            }
                        }
                    },
                "localname":  "AmendmentFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code",
                            "terseLabel":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CurrentFiscalYearEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "End date of current fiscal year in the format --MM-DD.",
                            "label":  "Current Fiscal Year End Date",
                            "terseLabel":  "Current Fiscal Year End Date"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "gMonthDayItemType"
                },
            "dei_DocumentFiscalPeriodFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
                            "label":  "Document Fiscal Period Focus",
                            "terseLabel":  "Document Fiscal Period Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in YYYY format.  For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus.  Example: 2006.",
                            "label":  "Document Fiscal Year Focus",
                            "terseLabel":  "Document Fiscal Year Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
                            "label":  "Document Period End Date",
                            "terseLabel":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentQuarterlyReport":  {
                "auth_ref":  [
                    "r729"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an quarterly report.",
                            "label":  "Document Quarterly Report",
                            "terseLabel":  "Document Quarterly Report"
                            }
                        }
                    },
                "localname":  "DocumentQuarterlyReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r730"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report",
                            "terseLabel":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc).  The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
                            "label":  "Document Type",
                            "terseLabel":  "Document Type"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "submissionTypeItemType"
                },
            "dei_EntityAddressAddressLine1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Address Line 1 such as Attn, Building Name, Street Name",
                            "label":  "Entity Address, Address Line One",
                            "terseLabel":  "Entity Address, Address Line One"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town",
                            "terseLabel":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code",
                            "terseLabel":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province",
                            "terseLabel":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC.  It is commonly abbreviated as CIK.",
                            "label":  "Entity Central Index Key",
                            "terseLabel":  "Entity Central Index Key"
                            }
                        }
                    },
                "localname":  "EntityCentralIndexKey",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "centralIndexKeyItemType"
                },
            "dei_EntityCommonStockSharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report.  Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
                            "label":  "Entity Common Stock, Shares Outstanding",
                            "terseLabel":  "Entity Common Stock, Shares Outstanding"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "dei_EntityCurrentReportingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Current Reporting Status",
                            "terseLabel":  "Entity Current Reporting Status"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "All the names of the entities being reported upon in a document.  Any legal structure used to conduct activities or to hold assets.  Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts.  This item does not include business and geographical segments which are included in the geographical or business segments domains.",
                            "label":  "Entity [Domain]",
                            "terseLabel":  "Entity [Domain]"
                            }
                        }
                    },
                "localname":  "EntityDomain",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate if registrant meets the emerging growth company criteria.",
                            "label":  "Entity Emerging Growth Company",
                            "terseLabel":  "Entity Emerging Growth Company"
                            }
                        }
                    },
                "localname":  "EntityEmergingGrowthCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityFileNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commission file number.  The field allows up to 17 characters.  The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
                            "label":  "Entity File Number",
                            "terseLabel":  "Entity File Number"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate whether the registrant is one of the following:  Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer.  Definitions of these categories are stated in Rule 12b-2 of the Exchange Act.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Filer Category",
                            "terseLabel":  "Entity Filer Category"
                            }
                        }
                    },
                "localname":  "EntityFilerCategory",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "filerCategoryItemType"
                },
            "dei_EntityIncorporationStateCountryCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Two-character EDGAR code representing the state or country of incorporation.",
                            "label":  "Entity Incorporation, State or Country Code",
                            "terseLabel":  "Entity Incorporation, State or Country Code"
                            }
                        }
                    },
                "localname":  "EntityIncorporationStateCountryCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r732"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
                            "label":  "Entity Interactive Data Current",
                            "terseLabel":  "Entity Interactive Data Current"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
                            "label":  "Entity Registrant Name",
                            "terseLabel":  "Entity Registrant Name"
                            }
                        }
                    },
                "localname":  "EntityRegistrantName",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
                            "label":  "Entity Shell Company",
                            "terseLabel":  "Entity Shell Company"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicates that the company is a Smaller Reporting Company (SRC).",
                            "label":  "Entity Small Business",
                            "terseLabel":  "Entity Small Business"
                            }
                        }
                    },
                "localname":  "EntitySmallBusiness",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r727"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
                            "label":  "Entity Tax Identification Number",
                            "terseLabel":  "Entity Tax Identification Number"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_LegalEntityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The set of legal entities associated with a report.",
                            "label":  "Legal Entity [Axis]",
                            "terseLabel":  "Legal Entity [Axis]"
                            }
                        }
                    },
                "localname":  "LegalEntityAxis",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number",
                            "terseLabel":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r726"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security",
                            "terseLabel":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r728"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name",
                            "terseLabel":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol",
                            "terseLabel":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2021q4",
                "presentation":  [
                    "http://quantaservices.com/role/CoverPage"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "pwr_AccountsReceivableAllowanceForCreditLossWriteoffRecovery":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accounts Receivable, Allowance for Credit Loss, Writeoff (Recovery)",
                            "label":  "Accounts Receivable, Allowance for Credit Loss, Writeoff (Recovery)",
                            "terseLabel":  "Direct write-offs charged against the allowance (recoveries of uncollectible receivables)"
                            }
                        }
                    },
                "localname":  "AccountsReceivableAllowanceForCreditLossWriteoffRecovery",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsCompositionoftheAllowanceforCreditLossesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_AcquisitionsIn2021ExcludingBlattnerMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Acquisitions In 2021 Excluding Blattner",
                            "label":  "Acquisitions In 2021 Excluding Blattner [Member]",
                            "terseLabel":  "Acquisitions In 2021 Excluding Blattner"
                            }
                        }
                    },
                "localname":  "AcquisitionsIn2021ExcludingBlattnerMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_AllAcquisitionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "All Acquisitions",
                            "label":  "All Acquisitions [Member]",
                            "terseLabel":  "All Acquisitions"
                            }
                        }
                    },
                "localname":  "AllAcquisitionsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_AssetsAndLiabilitiesLesseeTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Assets And Liabilities, Lessee",
                            "label":  "Assets And Liabilities, Lessee [Table Text Block]",
                            "terseLabel":  "Other Information Related to Leases"
                            }
                        }
                    },
                "localname":  "AssetsAndLiabilitiesLesseeTableTextBlock",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "pwr_BlattnerHoldingCompanyMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Blattner Holding Company",
                            "label":  "Blattner Holding Company [Member]",
                            "terseLabel":  "Blattner Holding Company"
                            }
                        }
                    },
                "localname":  "BlattnerHoldingCompanyMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_BroadbandTechnologyProviderMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Broadband Technology Provider",
                            "label":  "Broadband Technology Provider [Member]",
                            "terseLabel":  "Broadband Technology Provider"
                            }
                        }
                    },
                "localname":  "BroadbandTechnologyProviderMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_BusinessAcquisitionsProFormaAmortizationOfIntangibleAssets":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Acquisitions, Pro Forma Amortization Of Intangible Assets",
                            "label":  "Business Acquisitions, Pro Forma Amortization Of Intangible Assets",
                            "negatedTerseLabel":  "Amortization of intangible assets"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaAmortizationOfIntangibleAssets",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_BusinessAcquisitionsProFormaGrossProfit":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Acquisitions, Pro Forma Gross Profit",
                            "label":  "Business Acquisitions, Pro Forma Gross Profit",
                            "terseLabel":  "Gross profit"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaGrossProfit",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_BusinessAcquisitionsProFormaNetIncomeLossAttributableToCommonStockNetOfTax":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Acquisitions Pro Forma, Net Income (Loss) Attributable To Common Stock, Net Of Tax",
                            "label":  "Business Acquisitions Pro Forma, Net Income (Loss) Attributable To Common Stock, Net Of Tax",
                            "verboseLabel":  "Net income attributable to common stock"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaNetIncomeLossAttributableToCommonStockNetOfTax",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_BusinessAcquisitionsProFormaSellingGeneralAndAdministrativeExpenses":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Acquisitions, Pro Forma Selling, General And Administrative Expenses",
                            "label":  "Business Acquisitions, Pro Forma Selling, General And Administrative Expenses",
                            "negatedTerseLabel":  "Selling, general and administrative expenses"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaSellingGeneralAndAdministrativeExpenses",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_BusinessCombinationCashConsiderationTransferredOrToBeTransferred":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash consideration transferred or to be transferred in cash except for contingent consideration.",
                            "label":  "Business Combination, Cash Consideration Transferred Or To Be Transferred",
                            "terseLabel":  "Cash consideration"
                            }
                        }
                    },
                "localname":  "BusinessCombinationCashConsiderationTransferredOrToBeTransferred",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_BusinessCombinationContingentConsiderationArrangementsFinancialPerformanceObjectivesDeferredEarningsInterestAccrual":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Combination, Contingent Consideration Arrangements, Financial Performance Objectives, Deferred Earnings, Interest Accrual",
                            "label":  "Business Combination, Contingent Consideration Arrangements, Financial Performance Objectives, Deferred Earnings, Interest Accrual",
                            "terseLabel":  "Post-acquisition period, deferred earnings, accrued interest"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationArrangementsFinancialPerformanceObjectivesDeferredEarningsInterestAccrual",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_BusinessCombinationContingentConsiderationArrangementsFinancialPerformanceObjectivesPostAcquisitionPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Combination, Contingent Consideration Arrangements, Financial Performance Objectives, Post-Acquisition Period",
                            "label":  "Business Combination, Contingent Consideration Arrangements, Financial Performance Objectives, Post-Acquisition Period",
                            "terseLabel":  "Post-acquisition period, financial performance objectives"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationArrangementsFinancialPerformanceObjectivesPostAcquisitionPeriod",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "pwr_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetTangibleAssets":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of tangible assets acquired less liabilities assumed at the acquisition date.",
                            "label":  "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Net Tangible Assets",
                            "terseLabel":  "Net tangible assets acquired"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetTangibleAssets",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_BusinessesThatProvideElectricPowerConstructionServicesInTheUnitedStatesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Businesses That Provide Electric Power Construction Services In The United States",
                            "label":  "Businesses That Provide Electric Power Construction Services In The United States [Member]",
                            "terseLabel":  "Businesses That Provide Electric Power Construction Services In The United States"
                            }
                        }
                    },
                "localname":  "BusinessesThatProvideElectricPowerConstructionServicesInTheUnitedStatesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_CARESActDeferredPaymentEmployerPayrollTaxes":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "CARES Act, Deferred Payment, Employer Payroll Taxes",
                            "label":  "CARES Act, Deferred Payment, Employer Payroll Taxes",
                            "terseLabel":  "Deferred payment of employer payroll taxes"
                            }
                        }
                    },
                "localname":  "CARESActDeferredPaymentEmployerPayrollTaxes",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesDeferralofEmployerPayrollTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_CARESActDeferredPaymentEmployerPayrollTaxesPercentageOfAmountDueRemainderOfFiscalYear":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "CARES Act, Deferred Payment, Employer Payroll Taxes, Percentage Of Amount Due, Remainder Of Fiscal Year",
                            "label":  "CARES Act, Deferred Payment, Employer Payroll Taxes, Percentage Of Amount Due, Remainder Of Fiscal Year",
                            "terseLabel":  "Percentage of deferred employer payroll taxes due, remainder of fiscal year"
                            }
                        }
                    },
                "localname":  "CARESActDeferredPaymentEmployerPayrollTaxesPercentageOfAmountDueRemainderOfFiscalYear",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesDeferralofEmployerPayrollTaxesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_CARESActDeferredPaymentEmployerPayrollTaxesPercentageOfAmountPaid":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "CARES Act, Deferred Payment, Employer Payroll Taxes, Percentage Of Amount Paid",
                            "label":  "CARES Act, Deferred Payment, Employer Payroll Taxes, Percentage Of Amount Paid",
                            "terseLabel":  "Percentage of deferred employer payroll taxes paid"
                            }
                        }
                    },
                "localname":  "CARESActDeferredPaymentEmployerPayrollTaxesPercentageOfAmountPaid",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesDeferralofEmployerPayrollTaxesDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "pwr_CaptiveInsuranceCompanyMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Captive Insurance Company",
                            "label":  "Captive Insurance Company [Member]",
                            "terseLabel":  "Captive Insurance Company"
                            }
                        }
                    },
                "localname":  "CaptiveInsuranceCompanyMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_CashFlowLesseeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash Flow, Lessee [Abstract]",
                            "label":  "Cash Flow, Lessee [Abstract]",
                            "terseLabel":  "Cash paid for amounts included in the measurement of lease liabilities:"
                            }
                        }
                    },
                "localname":  "CashFlowLesseeAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_CashNotHeldByJointVenturesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash Not Held By Joint Ventures [Member]",
                            "label":  "Cash Not Held By Joint Ventures [Member]",
                            "terseLabel":  "Cash Not Held by Joint Ventures"
                            }
                        }
                    },
                "localname":  "CashNotHeldByJointVenturesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_CommitmentAndContingenciesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commitment And Contingencies [Line Items]",
                            "label":  "Commitment And Contingencies [Line Items]",
                            "terseLabel":  "Commitment And Contingencies [Line Items]"
                            }
                        }
                    },
                "localname":  "CommitmentAndContingenciesLineItems",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_CommitmentAndContingenciesTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commitment And Contingencies [Table]",
                            "label":  "Commitment And Contingencies [Table]",
                            "terseLabel":  "Commitment And Contingencies [Table]"
                            }
                        }
                    },
                "localname":  "CommitmentAndContingenciesTable",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_CommonStockClassUndefinedMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Common stock class undefined.",
                            "label":  "Common Stock Class Undefined [Member]",
                            "terseLabel":  "Common Stock"
                            }
                        }
                    },
                "localname":  "CommonStockClassUndefinedMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_ConstructionInProcessCostsIncurred":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Construction In Process, Costs Incurred",
                            "label":  "Construction In Process, Costs Incurred",
                            "terseLabel":  "Construction costs incurred"
                            }
                        }
                    },
                "localname":  "ConstructionInProcessCostsIncurred",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContingentConsiderationPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contingent Consideration, Policy",
                            "label":  "Contingent Consideration, Policy [Policy Text Block]",
                            "terseLabel":  "Contingent Consideration"
                            }
                        }
                    },
                "localname":  "ContingentConsiderationPolicyPolicyTextBlock",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "pwr_ContractWithCustomerContractValue":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Contract Value",
                            "label":  "Contract With Customer, Contract Value",
                            "terseLabel":  "Aggregate consideration for projects"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerContractValue",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerContractValueConsiderationToBeTransferredDuringConstruction":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Contract Value, Consideration To Be Transferred During Construction",
                            "label":  "Contract With Customer, Contract Value, Consideration To Be Transferred During Construction",
                            "terseLabel":  "Aggregate consideration to be paid during the construction period"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerContractValueConsiderationToBeTransferredDuringConstruction",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerContractValueConsiderationToBeTransferredDuringSubsequentPeriod":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Contract Value, Consideration To Be Transferred During Subsequent Period",
                            "label":  "Contract With Customer, Contract Value, Consideration To Be Transferred During Subsequent Period",
                            "terseLabel":  "Aggregate consideration to be paid during the post-construction operation and maintenance period"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerContractValueConsiderationToBeTransferredDuringSubsequentPeriod",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerContractValueSubsequentPaymentPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Contract Value, Subsequent Payment Period",
                            "label":  "Contract With Customer, Contract Value, Subsequent Payment Period",
                            "terseLabel":  "Term of post-construction operation and maintenance period"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerContractValueSubsequentPaymentPeriod",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "pwr_ContractWithCustomerCumulativeCatchUpAdjustmentToGrossProfitChangeInEstimate":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Cumulative Catch-Up Adjustment To Gross Profit, Change In Estimate",
                            "label":  "Contract With Customer, Cumulative Catch-Up Adjustment To Gross Profit, Change In Estimate",
                            "terseLabel":  "Change in contract estimates, (favorable) unfavorable impact on operating results, amount"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerCumulativeCatchUpAdjustmentToGrossProfitChangeInEstimate",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerCumulativeCatchUpAdjustmentToGrossProfitChangeInEstimatePercent":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Cumulative Catch-Up Adjustment, To Gross Profit, Change In Estimate, Percent",
                            "label":  "Contract With Customer, Cumulative Catch-Up Adjustment, To Gross Profit, Change In Estimate, Percent",
                            "terseLabel":  "Change in contract estimates, (favorable) unfavorable impact on operating results, percent"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerCumulativeCatchUpAdjustmentToGrossProfitChangeInEstimatePercent",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_ContractWithCustomerCumulativeCatchUpAdjustmentToRevenueChangeInEstimate":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Cumulative Catch-Up Adjustment To Revenue, Change In Estimate",
                            "label":  "Contract With Customer, Cumulative Catch-Up Adjustment To Revenue, Change In Estimate",
                            "terseLabel":  "Change in contract estimates, favorable (unfavorable) impact on revenues"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerCumulativeCatchUpAdjustmentToRevenueChangeInEstimate",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerLiabilityDeferredRevenuesCurrent":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Liability, Deferred Revenues, Current",
                            "label":  "Contract With Customer, Liability, Deferred Revenues, Current",
                            "verboseLabel":  "Unearned revenues, current portion"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityDeferredRevenuesCurrent",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerNumberOfDelayedTransmissionProjectsWithLargeComponentOfChangeOrdersInRecentQuarters":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Number of Delayed Transmission Projects with Large Component of Change Orders in Recent Quarters",
                            "label":  "Contract With Customer, Number of Delayed Transmission Projects with Large Component of Change Orders in Recent Quarters",
                            "terseLabel":  "Number of delayed transmission projects due to changes orders and claims"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerNumberOfDelayedTransmissionProjectsWithLargeComponentOfChangeOrdersInRecentQuarters",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_ContractWithCustomerNumberOfProjectsSignificantlyImpactedByAccelerationOfProjectTimeline":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Number Of Projects Significantly Impacted By Acceleration Of Project Timeline",
                            "label":  "Contract With Customer, Number Of Projects Significantly Impacted By Acceleration Of Project Timeline",
                            "terseLabel":  "Number of projects that experienced a significant impact due accelerated timeline"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerNumberOfProjectsSignificantlyImpactedByAccelerationOfProjectTimeline",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_ContractWithCustomerOnDemandPerformanceBonds":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, On-Demand Performance Bonds",
                            "label":  "Contract With Customer, On-Demand Performance Bonds",
                            "terseLabel":  "On-demand performance bonds"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerOnDemandPerformanceBonds",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ContractWithCustomerPercentageOfCompletion":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract With Customer, Percentage Of Completion",
                            "label":  "Contract With Customer, Percentage Of Completion",
                            "terseLabel":  "Percentage of project completion"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerPercentageOfCompletion",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_ContractWithCustomerRevenueRecognizedRelatedToUnapprovedChangeOrdersAndClaims":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Revenue Recognized, Related To Unapproved Change Orders And Claims",
                            "label":  "Contract With Customer, Revenue Recognized, Related To Unapproved Change Orders And Claims",
                            "terseLabel":  "Revenues recognized related to change orders and claims"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerRevenueRecognizedRelatedToUnapprovedChangeOrdersAndClaims",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_CorrectionOfEstimatedProjectCostsAndPercentageOfCompletionMethodMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Correction Of Estimated Project Costs And Percentage Of Completion Method [Member]",
                            "label":  "Correction Of Estimated Project Costs And Percentage Of Completion Method [Member]",
                            "terseLabel":  "Correction of Estimated Project Costs and Percentage of Completion Method"
                            }
                        }
                    },
                "localname":  "CorrectionOfEstimatedProjectCostsAndPercentageOfCompletionMethodMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_CostPlusContractMemberMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cost-Plus Contract Member",
                            "label":  "Cost-Plus Contract Member [Member]",
                            "terseLabel":  "Cost-plus contracts"
                            }
                        }
                    },
                "localname":  "CostPlusContractMemberMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_CustomerWithJointVentureInterestMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Customer With Joint Venture Interest",
                            "label":  "Customer With Joint Venture Interest [Member]",
                            "terseLabel":  "Customer With Joint Venture Interest"
                            }
                        }
                    },
                "localname":  "CustomerWithJointVentureInterestMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_CustomersOwnershipPercentageInJointVenture":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Customer's Ownership Percentage In Joint Venture",
                            "label":  "Customer's Ownership Percentage In Joint Venture",
                            "terseLabel":  "Ownership percentage of customer in joint venture"
                            }
                        }
                    },
                "localname":  "CustomersOwnershipPercentageInJointVenture",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_DamagedLandArea":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Damaged Land, Area",
                            "label":  "Damaged Land, Area",
                            "terseLabel":  "Damaged land (in acres)"
                            }
                        }
                    },
                "localname":  "DamagedLandArea",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "areaItemType"
                },
            "pwr_DebtInstrumentCovenantAcquisitionAmountTriggeringElevatedLeverageRatio":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Covenant, Acquisition Amount Triggering Alternate Leverage Ratio",
                            "label":  "Debt Instrument, Covenant, Acquisition Amount Triggering Elevated Leverage Ratio",
                            "terseLabel":  "Maximum consolidated leverage ratio, acquisition threshold"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantAcquisitionAmountTriggeringElevatedLeverageRatio",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_DebtInstrumentCovenantInterestCoverageRatioMinimum":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Covenant, Interest Coverage Ratio, Minimum",
                            "label":  "Debt Instrument, Covenant, Interest Coverage Ratio, Minimum",
                            "terseLabel":  "Minimum consolidated interest coverage ratio"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantInterestCoverageRatioMinimum",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "pwr_DebtInstrumentCovenantLeverageRatioMaximum":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Covenant, Leverage Ratio, Maximum",
                            "label":  "Debt Instrument, Covenant, Leverage Ratio, Maximum",
                            "terseLabel":  "Maximum consolidated leverage ratio"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantLeverageRatioMaximum",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "pwr_DebtInstrumentCovenantNumberOfFiscalQuartersApplicableToUpdatedAcquisitionRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Covenant, Number Of Fiscal Quarters Applicable To Updated Acquisition Ratio",
                            "label":  "Debt Instrument, Covenant, Number Of Fiscal Quarters Applicable To Updated Acquisition Ratio",
                            "terseLabel":  "Subsequent fiscal periods applying alternate ration due to acquisition threshold being met"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantNumberOfFiscalQuartersApplicableToUpdatedAcquisitionRatio",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_DebtInstrumentPaymentDueDateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Payment Due Date",
                            "label":  "Debt Instrument, Payment Due Date [Axis]",
                            "terseLabel":  "Debt Instrument, Payment Due Date [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPaymentDueDateAxis",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_DebtInstrumentPaymentDueDateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Payment Due Date [Domain]",
                            "label":  "Debt Instrument, Payment Due Date [Domain]",
                            "terseLabel":  "Debt Instrument, Payment Due Date [Domain]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPaymentDueDateDomain",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_DetailOfCertainBalanceSheetAccountsTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Detail of certain balance sheet accounts.",
                            "label":  "Detail Of Certain Balance Sheet Accounts [Text Block]",
                            "terseLabel":  "Detail of Certain Accounts"
                            }
                        }
                    },
                "localname":  "DetailOfCertainBalanceSheetAccountsTextBlock",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccounts"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "pwr_DocumentAndEntityInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Document and entity information.",
                            "label":  "Document And Entity Information [Abstract]",
                            "terseLabel":  "Document And Entity Information [Abstract]"
                            }
                        }
                    },
                "localname":  "DocumentAndEntityInformationAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "xbrltype":  "stringItemType"
                },
            "pwr_DomesticBankAccountsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Domestic Bank Accounts [Member]",
                            "label":  "Domestic Bank Accounts [Member]",
                            "terseLabel":  "Domestic Bank Accounts"
                            }
                        }
                    },
                "localname":  "DomesticBankAccountsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_DomesticCommunicationsProjectMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Domestic Communications Project",
                            "label":  "Domestic Communications Project [Member]",
                            "terseLabel":  "Domestic Communications Project"
                            }
                        }
                    },
                "localname":  "DomesticCommunicationsProjectMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_DomesticJointVenturesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Domestic Joint Ventures [Member]",
                            "label":  "Domestic Joint Ventures [Member]",
                            "terseLabel":  "Domestic Joint Ventures"
                            }
                        }
                    },
                "localname":  "DomesticJointVenturesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_ElectricPowerInfrastructureSolutionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Electric Power Infrastructure Solutions",
                            "label":  "Electric Power Infrastructure Solutions [Member]",
                            "terseLabel":  "Electric Power Infrastructure Solutions"
                            }
                        }
                    },
                "localname":  "ElectricPowerInfrastructureSolutionsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_EmployersLiabilityWorkersCompensationAutoLiabilityGeneralLiabilityAndGroupHealthCareClaimsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Employer's Liability, Workers' Compensation, Auto Liability, General Liability And Group Health Care Claims [Member]",
                            "label":  "Employer's Liability, Workers' Compensation, Auto Liability, General Liability And Group Health Care Claims [Member]",
                            "terseLabel":  "Employer's Liability, Workers' Compensation, Auto Liability, General Liability and Group Health Care Claims"
                            }
                        }
                    },
                "localname":  "EmployersLiabilityWorkersCompensationAutoLiabilityGeneralLiabilityAndGroupHealthCareClaimsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_EquityAndCostMethodInvestmentsAndJointVentureDisclosuresTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity And Cost Method Investments And Joint Venture Disclosures",
                            "label":  "Equity And Cost Method Investments And Joint Venture Disclosures [Text Block]",
                            "terseLabel":  "Investments in Affiliates and Other Entities"
                            }
                        }
                    },
                "localname":  "EquityAndCostMethodInvestmentsAndJointVentureDisclosuresTextBlock",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntities"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "pwr_EstimateMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Estimate.",
                            "label":  "Estimate [Member]",
                            "terseLabel":  "Estimate"
                            }
                        }
                    },
                "localname":  "EstimateMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_EstimatedCostsToCompleteBondedProjects":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Estimated Costs To Complete Bonded Projects",
                            "label":  "Estimated Costs To Complete Bonded Projects",
                            "terseLabel":  "Estimated cost to complete bonded projects"
                            }
                        }
                    },
                "localname":  "EstimatedCostsToCompleteBondedProjects",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_FinanceLeaseLiabilityToBePaidAfterYearFour":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAfterYearFour",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Finance Lease, Liability, To Be Paid, After Year Four",
                            "label":  "Finance Lease, Liability, To Be Paid, After Year Four",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityToBePaidAfterYearFour",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_FinanceLeasesCostAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Finance Leases, Cost [Abstract]",
                            "label":  "Finance Leases, Cost [Abstract]",
                            "terseLabel":  "Finance lease cost:"
                            }
                        }
                    },
                "localname":  "FinanceLeasesCostAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_ForeignBankAccountsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Foreign Bank Accounts [Member]",
                            "label":  "Foreign Bank Accounts [Member]",
                            "terseLabel":  "Foreign Bank Accounts"
                            }
                        }
                    },
                "localname":  "ForeignBankAccountsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_ForeignJointVenturesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Foreign Joint Ventures [Member]",
                            "label":  "Foreign Joint Ventures [Member]",
                            "terseLabel":  "Foreign Joint Ventures"
                            }
                        }
                    },
                "localname":  "ForeignJointVenturesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_GoodwillSensitivityAnalysisPercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Goodwill Sensitivity Analysis, Percentage",
                            "label":  "Goodwill Sensitivity Analysis, Percentage",
                            "terseLabel":  "Goodwill sensitivity analysis"
                            }
                        }
                    },
                "localname":  "GoodwillSensitivityAnalysisPercentage",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Income (Loss) From Equity Method Investments, Integral Unconsolidated Affiliates",
                            "label":  "Income (Loss) From Equity Method Investments, Integral Unconsolidated Affiliates",
                            "terseLabel":  "Equity in earnings of integral unconsolidated affiliates"
                            }
                        }
                    },
                "localname":  "IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_IncreaseDecreaseInDeferredCompensationPlanAssets":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Increase (Decrease) in Deferred Compensation Plan, Assets",
                            "label":  "Increase (Decrease) in Deferred Compensation Plan, Assets",
                            "terseLabel":  "Change in fair market value of assets associated with deferred compensation plan"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInDeferredCompensationPlanAssets",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/EmployeeBenefitPlansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_IncreaseDecreaseInDeferredCompensationPlanLiabilities":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Increase (Decrease) in Deferred Compensation Plan, Liabilities",
                            "label":  "Increase (Decrease) in Deferred Compensation Plan, Liabilities",
                            "terseLabel":  "Change in fair market value of liabilities associated with deferred compensation plan"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInDeferredCompensationPlanLiabilities",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/EmployeeBenefitPlansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_IntegralAffiliateOfferingRightOfWaySolutionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Integral Affiliate Offering Right-of-way Solutions",
                            "label":  "Integral Affiliate Offering Right-of-way Solutions [Member]",
                            "terseLabel":  "Integral Unconsolidated Affiliates"
                            }
                        }
                    },
                "localname":  "IntegralAffiliateOfferingRightOfWaySolutionsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_IntegralAffiliatesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Integral Affiliates",
                            "label":  "Integral Affiliates [Member]",
                            "terseLabel":  "Integral Affiliates"
                            }
                        }
                    },
                "localname":  "IntegralAffiliatesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_InvestmentsInJointVenturesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Investments In Joint Ventures [Member]",
                            "label":  "Investments In Joint Ventures [Member]",
                            "terseLabel":  "Investments in Joint Ventures"
                            }
                        }
                    },
                "localname":  "InvestmentsInJointVenturesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_LUMAEnergyLLCMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "LUMA Energy, LLC [Member]",
                            "label":  "LUMA Energy, LLC [Member]",
                            "terseLabel":  "LUMA Energy, LLC"
                            }
                        }
                    },
                "localname":  "LUMAEnergyLLCMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_LeasesOptionToPurchaseAssetFailedSaleLeaseback":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Leases, Option To Purchase, Asset, Failed Sale Leaseback",
                            "label":  "Leases, Option To Purchase, Asset, Failed Sale Leaseback",
                            "terseLabel":  "Rental purchase option asset"
                            }
                        }
                    },
                "localname":  "LeasesOptionToPurchaseAssetFailedSaleLeaseback",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_LesseeFinanceLeaseLeaseNotYetCommencedEstimatedPurchaseOption":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Lessee, Finance Lease, Lease Not Yet Commenced, Estimated Purchase Option",
                            "label":  "Lessee, Finance Lease, Lease Not Yet Commenced, Estimated Purchase Option",
                            "terseLabel":  "Lease not yet commenced, estimated purchase option"
                            }
                        }
                    },
                "localname":  "LesseeFinanceLeaseLeaseNotYetCommencedEstimatedPurchaseOption",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Lessee, Operating Lease, Liability, To Be Paid, After Year Four",
                            "label":  "Lessee, Operating Lease, Liability, To Be Paid, After Year Four",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityToBePaidAfterYearFour",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_LesseeSupplementalCashFlowsFromLeasesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Lessee, Supplemental Cash Flows From Leases [Table Text Block]",
                            "label":  "Lessee, Supplemental Cash Flows From Leases [Table Text Block]",
                            "terseLabel":  "Supplemental Cash Flow Information Related to Leases"
                            }
                        }
                    },
                "localname":  "LesseeSupplementalCashFlowsFromLeasesTableTextBlock",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "pwr_LettersOfCreditAndBankGuaranteesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Letters Of Credit and Bank Guarantees.",
                            "label":  "Letters Of Credit and Bank Guarantees [Member]",
                            "terseLabel":  "Letters of Credit and Bank Guarantees"
                            }
                        }
                    },
                "localname":  "LettersOfCreditAndBankGuaranteesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_LineOfCreditFacilityCovenantMaximumLeverageRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line Of Credit Facility, Covenant, Maximum Leverage Ratio",
                            "label":  "Line Of Credit Facility, Covenant, Maximum Leverage Ratio",
                            "terseLabel":  "Maximum consolidated leverage ratio permissible under credit agreement"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityCovenantMaximumLeverageRatio",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "pwr_LorenzoBentonvTelecomNetworkSpecialistsIncMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Lorenzo Benton v.  Telecom Network Specialists Inc [Member]",
                            "label":  "Lorenzo Benton V Telecom Network Specialists Inc [Member]",
                            "terseLabel":  "Lorenzo Benton v Telecom Network Specialists Inc"
                            }
                        }
                    },
                "localname":  "LorenzoBentonvTelecomNetworkSpecialistsIncMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_MaurepasPipelineLLCMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maurepas Pipeline, LLC [Member]",
                            "label":  "Maurepas Pipeline, LLC [Member]",
                            "terseLabel":  "Maurepas"
                            }
                        }
                    },
                "localname":  "MaurepasPipelineLLCMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_MaurepasProjectDisputeMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maurepas Project Dispute [Member]",
                            "label":  "Maurepas Project Dispute [Member]",
                            "terseLabel":  "Maurepas Project Dispute"
                            }
                        }
                    },
                "localname":  "MaurepasProjectDisputeMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_NumberOfBuildingsWithPropertyDamage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Buildings With Property Damage",
                            "label":  "Number Of Buildings With Property Damage",
                            "terseLabel":  "Number of buildings with property damage"
                            }
                        }
                    },
                "localname":  "NumberOfBuildingsWithPropertyDamage",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_NumberOfCustomersRepresentingTenPercentOrMoreOfNetReceivablePosition":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Customers Representing Ten Percent Or More Of Net Receivable Position",
                            "label":  "Number Of Customers Representing Ten Percent Or More Of Net Receivable Position",
                            "terseLabel":  "Number of customers representing ten percent or more of net receivable position"
                            }
                        }
                    },
                "localname":  "NumberOfCustomersRepresentingTenPercentOrMoreOfNetReceivablePosition",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_NumberOfReportingUnitsAtRiskAfterCushionTest":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Reporting Units At Risk After Cushion Test",
                            "label":  "Number Of Reporting Units At Risk After Cushion Test",
                            "terseLabel":  "Number of reporting units at risk after cushion test"
                            }
                        }
                    },
                "localname":  "NumberOfReportingUnitsAtRiskAfterCushionTest",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_NumberOfShareBasedEquityPlans":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Share-Based Equity Plans",
                            "label":  "Number Of Share-Based Equity Plans",
                            "terseLabel":  "Number of equity incentive plans"
                            }
                        }
                    },
                "localname":  "NumberOfShareBasedEquityPlans",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_OneCustomerMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "One Customer",
                            "label":  "One Customer [Member]",
                            "terseLabel":  "One Customer"
                            }
                        }
                    },
                "localname":  "OneCustomerMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due",
                            "totalLabel":  "Total future minimum operating and finance lease payments"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due [Abstract]",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due [Abstract]",
                            "terseLabel":  "Total"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAfterYearFour":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  6.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due After Year Four",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due After Year Four",
                            "totalLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDueAfterYearFour",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearFour":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  5.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due Year Four",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due Year Four",
                            "totalLabel":  "2026"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearFour",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearOne":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due Year One",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due Year One",
                            "totalLabel":  "2023"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearOne",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearThree":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  4.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due Year Three",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due Year Three",
                            "totalLabel":  "2025"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearThree",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearTwo":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  3.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Due Year Two",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Due Year Two",
                            "totalLabel":  "2024"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearTwo",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_2":  {
                        "order":  1.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Payments, Remainder Of Fiscal Year",
                            "label":  "Operating And Finance Lease Liabilities, Payments, Remainder Of Fiscal Year",
                            "totalLabel":  "Remainder of 2022"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiabilitiesUndiscountedExcessAmount":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease Liabilities, Undiscounted Excess Amount",
                            "label":  "Operating And Finance Lease Liabilities, Undiscounted Excess Amount",
                            "negatedTotalLabel":  "Less imputed interest"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiabilitiesUndiscountedExcessAmount",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeaseLiability":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Lease, Liability",
                            "label":  "Operating And Finance Lease, Liability",
                            "totalLabel":  "Total lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeaseLiability",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OperatingAndFinanceLeasesWeightedAverageDiscountRateAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Leases, Weighted Average Discount Rate [Abstract]",
                            "label":  "Operating And Finance Leases, Weighted Average Discount Rate [Abstract]",
                            "terseLabel":  "Weighted average discount rate:"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeasesWeightedAverageDiscountRateAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_OperatingAndFinanceLeasesWeightedAverageRemainingLeaseTermAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operating And Finance Leases, Weighted Average Remaining Lease Term [Abstract]",
                            "label":  "Operating And Finance Leases, Weighted Average Remaining Lease Term [Abstract]",
                            "terseLabel":  "Weighted average remaining lease term (in years):"
                            }
                        }
                    },
                "localname":  "OperatingAndFinanceLeasesWeightedAverageRemainingLeaseTermAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_OperationAndMaintenanceAgreementContractTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operation And Maintenance Agreement, Contract Term",
                            "label":  "Operation And Maintenance Agreement, Contract Term",
                            "terseLabel":  "Term of operation and maintenance agreement"
                            }
                        }
                    },
                "localname":  "OperationAndMaintenanceAgreementContractTerm",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "pwr_OperationAndMaintenanceAgreementLengthOfSystem":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Operation And Maintenance Agreement, Length Of System",
                            "label":  "Operation And Maintenance Agreement, Length Of System",
                            "terseLabel":  "Length of electric transmission and distribution system"
                            }
                        }
                    },
                "localname":  "OperationAndMaintenanceAgreementLengthOfSystem",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "pwr_OtherComprehensiveIncomeLossOtherNetOfTax":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other Comprehensive Income (Loss), Other, Net of Tax",
                            "label":  "Other Comprehensive Income (Loss), Other, Net Of Tax",
                            "terseLabel":  "Other income (loss), net of tax of $(47) and $2"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossOtherNetOfTax",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OtherComprehensiveIncomeLossOtherTax":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other comprehensive income other tax.",
                            "label":  "Other Comprehensive Income (Loss), Other, Tax",
                            "terseLabel":  "Other, tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossOtherTax",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLossParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OtherCountriesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other Countries",
                            "label":  "Other Countries [Member]",
                            "terseLabel":  "Others"
                            }
                        }
                    },
                "localname":  "OtherCountriesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_OtherInvestmentsCostMethodGainOnSale":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other Investments, Cost Method, Gain on Sale",
                            "label":  "Other Investments, Cost Method, Gain on Sale",
                            "terseLabel":  "Cost method investments, gain on sale"
                            }
                        }
                    },
                "localname":  "OtherInvestmentsCostMethodGainOnSale",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OtherInvestmentsCostMethodGainOnSaleAfterTax":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other Investments, Cost Method, Gain on Sale, After Tax",
                            "label":  "Other Investments, Cost Method, Gain on Sale, After Tax",
                            "terseLabel":  "Cost method investments, gain on sale, after tax"
                            }
                        }
                    },
                "localname":  "OtherInvestmentsCostMethodGainOnSaleAfterTax",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_OtherInvestmentsCostMethodNoncurrent":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other Investments, Cost Method, Noncurrent",
                            "label":  "Other Investments, Cost Method, Noncurrent",
                            "terseLabel":  "Cost method investments"
                            }
                        }
                    },
                "localname":  "OtherInvestmentsCostMethodNoncurrent",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_PaymentsDueFirstBusinessDayOfQuarterIn2023And2024Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Payments Due First Business Day Of Quarter In 2023 And 2024",
                            "label":  "Payments Due First Business Day Of Quarter In 2023 And 2024 [Member]",
                            "terseLabel":  "Payments Due First Business Day Of Quarter In 2023 And 2024"
                            }
                        }
                    },
                "localname":  "PaymentsDueFirstBusinessDayOfQuarterIn2023And2024Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_PaymentsDueFirstBusinessDayOfQuarterIn2025Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Payments Due First Business Day Of Quarter In 2025",
                            "label":  "Payments Due First Business Day Of Quarter In 2025 [Member]",
                            "terseLabel":  "Payments Due First Business Day Of Quarter In 2025"
                            }
                        }
                    },
                "localname":  "PaymentsDueFirstBusinessDayOfQuarterIn2025Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_PaymentsDueFirstBusinessDayOfQuarterIn2026Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Payments Due First Business Day Of Quarter In 2026",
                            "label":  "Payments Due First Business Day Of Quarter In 2026 [Member]",
                            "terseLabel":  "Payments Due First Business Day Of Quarter In 2026"
                            }
                        }
                    },
                "localname":  "PaymentsDueFirstBusinessDayOfQuarterIn2026Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_PercentageOfForeignRevenue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of foreign revenue.",
                            "label":  "Percentage Of Foreign Revenue",
                            "terseLabel":  "Percentage of foreign revenues"
                            }
                        }
                    },
                "localname":  "PercentageOfForeignRevenue",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_PercentageOfTotalRevenues":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage Of Total Revenues",
                            "label":  "Percentage Of Total Revenues",
                            "terseLabel":  "Percent of total revenues"
                            }
                        }
                    },
                "localname":  "PercentageOfTotalRevenues",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_PerformanceStockUnitsPSUsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Performance units.",
                            "label":  "Performance Stock Units (PSUs) [Member]",
                            "terseLabel":  "Performance Stock Units"
                            }
                        }
                    },
                "localname":  "PerformanceStockUnitsPSUsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails",
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_PoleReplacementPeriodBeforeFire":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Pole Replacement, Period Before Fire",
                            "label":  "Pole Replacement, Period Before Fire",
                            "terseLabel":  "Time of pole replacement before fire"
                            }
                        }
                    },
                "localname":  "PoleReplacementPeriodBeforeFire",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "pwr_ProceedsFromConstructionContracts":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Proceeds From Construction Contracts",
                            "label":  "Proceeds From Construction Contracts",
                            "terseLabel":  "Payments received on construction contracts"
                            }
                        }
                    },
                "localname":  "ProceedsFromConstructionContracts",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ProceedsFromExerciseOfOnDemandBonds":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Proceeds From Exercise Of On-Demand Bonds",
                            "label":  "Proceeds From Exercise Of On-Demand Bonds",
                            "terseLabel":  "Bond proceeds received"
                            }
                        }
                    },
                "localname":  "ProceedsFromExerciseOfOnDemandBonds",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_ProgramaNacionalDeTelecomunicacionesPRONATELMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Programa Nacional De Telecomunicaciones (PRONATEL) [Member]",
                            "label":  "Programa Nacional De Telecomunicaciones (PRONATEL) [Member]",
                            "terseLabel":  "PRONATEL"
                            }
                        }
                    },
                "localname":  "ProgramaNacionalDeTelecomunicacionesPRONATELMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_ProjectContractTerminationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Project Contract Termination [Member]",
                            "label":  "Project Contract Termination [Member]",
                            "terseLabel":  "Project Contract Termination"
                            }
                        }
                    },
                "localname":  "ProjectContractTerminationMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_QPSEngineeringLLCQPSMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "QPS Engineering, LLC (QPS) [Member]",
                            "label":  "QPS Engineering, LLC (QPS) [Member]",
                            "terseLabel":  "QPS Engineering, LLC"
                            }
                        }
                    },
                "localname":  "QPSEngineeringLLCQPSMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_RedesAndinasDeComunicacionesS.R.L.RedesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Redes Andinas De Comunicaciones S.R.L. (Redes) [Member]",
                            "label":  "Redes Andinas De Comunicaciones S.R.L. (Redes) [Member]",
                            "terseLabel":  "Redes"
                            }
                        }
                    },
                "localname":  "RedesAndinasDeComunicacionesS.R.L.RedesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_RelatedPartiesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Related Parties [Member]",
                            "label":  "Related Parties [Member]",
                            "terseLabel":  "Related Parties"
                            }
                        }
                    },
                "localname":  "RelatedPartiesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_RenewableEnergyInfrastructureSolutionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Renewable Energy Infrastructure Solutions",
                            "label":  "Renewable Energy Infrastructure Solutions [Member]",
                            "terseLabel":  "Renewable Energy Infrastructure Solutions"
                            }
                        }
                    },
                "localname":  "RenewableEnergyInfrastructureSolutionsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_RentalPurchaseOptionAssetObtainedInExchangeForRentalPurchaseOptionLiability":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Rental Purchase Option Asset Obtained in Exchange for Rental Purchase Option Liability",
                            "label":  "Rental Purchase Option Asset Obtained in Exchange for Rental Purchase Option Liability",
                            "terseLabel":  "Rental purchase option assets obtained in exchange for rental purchase option liabilities"
                            }
                        }
                    },
                "localname":  "RentalPurchaseOptionAssetObtainedInExchangeForRentalPurchaseOptionLiability",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_RestrictedStockUnitsToBeSettledInCashMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Restricted Stock Units To Be Settled In Cash [Member]",
                            "label":  "Restricted Stock Units To Be Settled In Cash [Member]",
                            "terseLabel":  "Restricted Stock Units to be Settled in Cash"
                            }
                        }
                    },
                "localname":  "RestrictedStockUnitsToBeSettledInCashMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_RestrictedStockUnitsToBeSettledInCommonStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Restricted stock units to be settled in common stock.",
                            "label":  "Restricted Stock Units To Be Settled In Common Stock [Member]",
                            "terseLabel":  "Restricted Stock Units to be Settled in Common Stock",
                            "verboseLabel":  "Restricted Stock and RSUs to be Settled in Common Stock"
                            }
                        }
                    },
                "localname":  "RestrictedStockUnitsToBeSettledInCommonStockMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_RevenueFromContractWithCustomerPercentageOfRevenueRecognizedOverTime":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Revenue From Contract With Customer, Percentage Of Revenue Recognized Over Time",
                            "label":  "Revenue From Contract With Customer, Percentage Of Revenue Recognized Over Time",
                            "terseLabel":  "Percent of total revenues recognized associated with revenue recognition method"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerPercentageOfRevenueRecognizedOverTime",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "pwr_RightOfUseAssetObtainedInExchangeForFinanceAndOperatingLeaseLiabilitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Right-Of-Use Asset Obtained In Exchange For Finance And Operating Lease Liabilities [Abstract]",
                            "label":  "Right-Of-Use Asset Obtained In Exchange For Finance And Operating Lease Liabilities [Abstract]",
                            "terseLabel":  "Lease assets obtained in exchange for lease liabilities:"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForFinanceAndOperatingLeaseLiabilitiesAbstract",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_ScheduleOfShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsValuationAssumptionsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule Of Share Based Payment Award, Equity Instruments Other Than Options, Valuation Assumptions [Table Text Block]",
                            "label":  "Schedule Of Share Based Payment Award, Equity Instruments Other Than Options, Valuation Assumptions [Table Text Block]",
                            "terseLabel":  "Grant Date Fair Value for Awards of Performance Units Inputs"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsValuationAssumptionsTableTextBlock",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "pwr_SeniorCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Credit Facility [Member]",
                            "label":  "Senior Credit Facility [Member]",
                            "terseLabel":  "Senior Credit Facility"
                            }
                        }
                    },
                "localname":  "SeniorCreditFacilityMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SeniorNotesAndTermLoanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Notes And Term Loan",
                            "label":  "Senior Notes And Term Loan [Member]",
                            "terseLabel":  "Senior Notes And Term Loan"
                            }
                        }
                    },
                "localname":  "SeniorNotesAndTermLoanMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SeniorNotesDue20242032And2041Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Notes Due 2024, 2032 And 2041",
                            "label":  "Senior Notes Due 2024, 2032 And 2041 [Member]",
                            "terseLabel":  "Senior Notes Due 2024, 2032 And 2041"
                            }
                        }
                    },
                "localname":  "SeniorNotesDue20242032And2041Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SeniorNotesDueJanuary2032Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Notes Due January 2032",
                            "label":  "Senior Notes Due January 2032 [Member]",
                            "terseLabel":  "Senior Notes Due January 2032"
                            }
                        }
                    },
                "localname":  "SeniorNotesDueJanuary2032Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SeniorNotesDueOctober2024Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Notes Due October 2024",
                            "label":  "Senior Notes Due October 2024 [Member]",
                            "terseLabel":  "Senior Notes Due October 2024"
                            }
                        }
                    },
                "localname":  "SeniorNotesDueOctober2024Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SeniorNotesDueOctober2030Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Notes Due October 2030",
                            "label":  "Senior Notes Due October 2030 [Member]",
                            "terseLabel":  "Senior Notes Due October 2030"
                            }
                        }
                    },
                "localname":  "SeniorNotesDueOctober2030Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SeniorNotesDueOctober2041Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Senior Notes Due October 2041",
                            "label":  "Senior Notes Due October 2041 [Member]",
                            "terseLabel":  "Senior Notes Due October 2041"
                            }
                        }
                    },
                "localname":  "SeniorNotesDueOctober2041Member",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share based compensation arrangement by share based payment award equity instruments other than option forfeited in period weighted average grant date fair value.",
                            "label":  "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Option Forfeited In Period Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Forfeited, weighted average grant date fair value (in usd per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionForfeitedInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "pwr_ShortTermLeaseAndVariableLeaseCost":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LeaseCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Short-Term Lease And Variable Lease, Cost",
                            "label":  "Short-Term Lease And Variable Lease, Cost",
                            "terseLabel":  "Short-term and variable lease cost"
                            }
                        }
                    },
                "localname":  "ShortTermLeaseAndVariableLeaseCost",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "pwr_SilveradoWildfireMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Silverado Wildfire",
                            "label":  "Silverado Wildfire [Member]",
                            "terseLabel":  "Silverado Wildfire"
                            }
                        }
                    },
                "localname":  "SilveradoWildfireMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_StarryGroupHoldingsIncMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Starry Group Holdings, Inc.",
                            "label":  "Starry Group Holdings, Inc. [Member]",
                            "terseLabel":  "Starry Group Holdings, Inc."
                            }
                        }
                    },
                "localname":  "StarryGroupHoldingsIncMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_SummaryOfSignificantAccountingPoliciesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Summary Of Significant Accounting Policies [Line Items]",
                            "label":  "Summary Of Significant Accounting Policies [Line Items]",
                            "terseLabel":  "Summary Of Significant Accounting Policies [Line Items]"
                            }
                        }
                    },
                "localname":  "SummaryOfSignificantAccountingPoliciesLineItems",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_SummaryOfSignificantAccountingPoliciesTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Summary Of Significant Accounting Policies [Table]",
                            "label":  "Summary Of Significant Accounting Policies [Table]",
                            "terseLabel":  "Summary Of Significant Accounting Policies [Table]"
                            }
                        }
                    },
                "localname":  "SummaryOfSignificantAccountingPoliciesTable",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "pwr_TechnologyIncubationCompanyMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Technology Incubation Company",
                            "label":  "Technology Incubation Company [Member]",
                            "terseLabel":  "Technology Incubation Company"
                            }
                        }
                    },
                "localname":  "TechnologyIncubationCompanyMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_TelecommunicationNetworksConstructionAndOperationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Telecommunication Networks Construction And Operation [Member]",
                            "label":  "Telecommunication Networks Construction And Operation [Member]",
                            "terseLabel":  "Telecommunication Networks Construction and Operation"
                            }
                        }
                    },
                "localname":  "TelecommunicationNetworksConstructionAndOperationMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_TermLoanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Term Loan [Member]",
                            "label":  "Term Loan [Member]",
                            "terseLabel":  "Term Loan"
                            }
                        }
                    },
                "localname":  "TermLoanMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_TwoCanadianPipelineOperatingBusinessesAndUnitedStatesMaterialHandlingServicesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Two Canadian Pipeline Operating Businesses And United States Material Handling Services",
                            "label":  "Two Canadian Pipeline Operating Businesses And United States Material Handling Services [Member]",
                            "terseLabel":  "Two Canadian Pipeline Operating Businesses And United States Material Handling Services"
                            }
                        }
                    },
                "localname":  "TwoCanadianPipelineOperatingBusinessesAndUnitedStatesMaterialHandlingServicesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_TwoCanadianPipelineOperatingBusinessesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Two Canadian Pipeline Operating Businesses",
                            "label":  "Two Canadian Pipeline Operating Businesses [Member]",
                            "terseLabel":  "Two Canadian Pipeline Operating Businesses"
                            }
                        }
                    },
                "localname":  "TwoCanadianPipelineOperatingBusinessesMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_UndergroundUtilityAndInfrastructureSolutionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Underground Utility and Infrastructure Solutions",
                            "label":  "Underground Utility and Infrastructure Solutions [Member]",
                            "terseLabel":  "Underground Utility and Infrastructure Solutions"
                            }
                        }
                    },
                "localname":  "UndergroundUtilityAndInfrastructureSolutionsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_UndergroundUtilityAndInfrastructureSolutionsSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Underground Utility and Infrastructure Solutions Segment",
                            "label":  "Underground Utility and Infrastructure Solutions Segment [Member]",
                            "terseLabel":  "Underground Utility and Infrastructure Solutions Segment"
                            }
                        }
                    },
                "localname":  "UndergroundUtilityAndInfrastructureSolutionsSegmentMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_UnitPriceContractsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Unit-price Contracts [Member]",
                            "label":  "Unit-Price Contracts [Member]",
                            "terseLabel":  "Unit-price contracts"
                            }
                        }
                    },
                "localname":  "UnitPriceContractsMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "pwr_VehicleFleetCommittedCapitalMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Vehicle Fleet Committed Capital",
                            "label":  "Vehicle Fleet Committed Capital [Member]",
                            "terseLabel":  "Vehicle Fleet Committed Capital"
                            }
                        }
                    },
                "localname":  "VehicleFleetCommittedCapitalMember",
                "nsuri":  "http://quantaservices.com/20220331",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ConsolidationItemsAxis":  {
                "auth_ref":  [
                    "r133",
                    "r193",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r217",
                    "r219",
                    "r223",
                    "r304",
                    "r305",
                    "r306",
                    "r307",
                    "r308",
                    "r309",
                    "r311",
                    "r312",
                    "r314",
                    "r316",
                    "r317"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Consolidation Items [Axis]",
                            "terseLabel":  "Consolidation Items [Axis]"
                            }
                        }
                    },
                "localname":  "ConsolidationItemsAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ConsolidationItemsDomain":  {
                "auth_ref":  [
                    "r133",
                    "r193",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r217",
                    "r219",
                    "r223",
                    "r304",
                    "r305",
                    "r306",
                    "r307",
                    "r308",
                    "r309",
                    "r311",
                    "r312",
                    "r314",
                    "r316",
                    "r317"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Consolidation Items [Domain]",
                            "terseLabel":  "Consolidation Items [Domain]"
                            }
                        }
                    },
                "localname":  "ConsolidationItemsDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_CurrencyAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Currency [Axis]",
                            "terseLabel":  "Currency [Axis]"
                            }
                        }
                    },
                "localname":  "CurrencyAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_EquityMethodInvesteeNameDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Investment, Name [Domain]",
                            "terseLabel":  "Investment, Name [Domain]"
                            }
                        }
                    },
                "localname":  "EquityMethodInvesteeNameDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_LitigationCaseAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Litigation Case [Axis]",
                            "verboseLabel":  "Litigation Case [Axis]"
                            }
                        }
                    },
                "localname":  "LitigationCaseAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_LitigationCaseTypeDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Litigation Case [Domain]",
                            "terseLabel":  "Litigation Case [Domain]"
                            }
                        }
                    },
                "localname":  "LitigationCaseTypeDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MajorCustomersAxis":  {
                "auth_ref":  [
                    "r230",
                    "r402",
                    "r408",
                    "r700"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Customer [Axis]",
                            "terseLabel":  "Customer [Axis]"
                            }
                        }
                    },
                "localname":  "MajorCustomersAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    "r322",
                    "r356",
                    "r439",
                    "r442",
                    "r616",
                    "r617",
                    "r618",
                    "r619",
                    "r620",
                    "r621",
                    "r623",
                    "r697",
                    "r701",
                    "r724",
                    "r725"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Maximum [Member]",
                            "terseLabel":  "Maximum"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    "r322",
                    "r356",
                    "r439",
                    "r442",
                    "r616",
                    "r617",
                    "r618",
                    "r619",
                    "r620",
                    "r621",
                    "r623",
                    "r697",
                    "r701",
                    "r724",
                    "r725"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Minimum [Member]",
                            "terseLabel":  "Minimum"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_NameOfMajorCustomerDomain":  {
                "auth_ref":  [
                    "r230",
                    "r402",
                    "r408",
                    "r700"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Customer [Domain]",
                            "terseLabel":  "Customer [Domain]"
                            }
                        }
                    },
                "localname":  "NameOfMajorCustomerDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ProductOrServiceAxis":  {
                "auth_ref":  [
                    "r226",
                    "r402",
                    "r406",
                    "r628",
                    "r696",
                    "r698"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Product and Service [Axis]",
                            "terseLabel":  "Product and Service [Axis]"
                            }
                        }
                    },
                "localname":  "ProductOrServiceAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ProductsAndServicesDomain":  {
                "auth_ref":  [
                    "r226",
                    "r402",
                    "r406",
                    "r628",
                    "r696",
                    "r698"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Product and Service [Domain]",
                            "terseLabel":  "Product and Service [Domain]"
                            }
                        }
                    },
                "localname":  "ProductsAndServicesDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    "r322",
                    "r356",
                    "r418",
                    "r439",
                    "r442",
                    "r616",
                    "r617",
                    "r618",
                    "r619",
                    "r620",
                    "r621",
                    "r623",
                    "r697",
                    "r701",
                    "r724",
                    "r725"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statistical Measurement [Axis]",
                            "terseLabel":  "Statistical Measurement [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    "r322",
                    "r356",
                    "r418",
                    "r439",
                    "r442",
                    "r616",
                    "r617",
                    "r618",
                    "r619",
                    "r620",
                    "r621",
                    "r623",
                    "r697",
                    "r701",
                    "r724",
                    "r725"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statistical Measurement [Domain]",
                            "terseLabel":  "Statistical Measurement [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScenarioUnspecifiedDomain":  {
                "auth_ref":  [
                    "r148",
                    "r153",
                    "r440"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Scenario [Domain]",
                            "terseLabel":  "Scenario [Domain]"
                            }
                        }
                    },
                "localname":  "ScenarioUnspecifiedDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis":  {
                "auth_ref":  [
                    "r242"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Investment, Name [Axis]",
                            "terseLabel":  "Investment, Name [Axis]"
                            }
                        }
                    },
                "localname":  "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_SegmentGeographicalDomain":  {
                "auth_ref":  [
                    "r227",
                    "r228",
                    "r402",
                    "r407",
                    "r699",
                    "r715",
                    "r716",
                    "r717",
                    "r718",
                    "r719",
                    "r720",
                    "r721",
                    "r722",
                    "r723"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Geographical [Domain]",
                            "terseLabel":  "Geographical [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentGeographicalDomain",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails",
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_StatementGeographicalAxis":  {
                "auth_ref":  [
                    "r227",
                    "r228",
                    "r402",
                    "r407",
                    "r699",
                    "r712",
                    "r715",
                    "r716",
                    "r717",
                    "r718",
                    "r719",
                    "r720",
                    "r721",
                    "r722",
                    "r723"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Geographical [Axis]",
                            "terseLabel":  "Geographical [Axis]"
                            }
                        }
                    },
                "localname":  "StatementGeographicalAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails",
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_StatementScenarioAxis":  {
                "auth_ref":  [
                    "r148",
                    "r153",
                    "r286",
                    "r440",
                    "r612"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Scenario [Axis]",
                            "terseLabel":  "Scenario [Axis]"
                            }
                        }
                    },
                "localname":  "StatementScenarioAxis",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_WeightedAverageMember":  {
                "auth_ref":  [
                    "r616",
                    "r618",
                    "r621",
                    "r724",
                    "r725"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average [Member]",
                            "terseLabel":  "Weighted Average"
                            }
                        }
                    },
                "localname":  "WeightedAverageMember",
                "nsuri":  "http://fasb.org/srt/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountingPoliciesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accounting Policies [Abstract]",
                            "terseLabel":  "Accounting Policies [Abstract]"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r41"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits.",
                            "label":  "Accounts Payable and Accrued Liabilities, Current",
                            "terseLabel":  "Accounts payable and accrued expenses",
                            "totalLabel":  "Accounts payable and accrued expenses"
                            }
                        }
                    },
                "localname":  "AccountsPayableAndAccruedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsPayableAndAccruedLiabilitiesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing accounts payable and accrued liabilities.",
                            "label":  "Accounts Payable and Accrued Liabilities [Member]",
                            "terseLabel":  "Accounts payable and accrued expenses"
                            }
                        }
                    },
                "localname":  "AccountsPayableAndAccruedLiabilitiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountsPayableTradeCurrent":  {
                "auth_ref":  [
                    "r12",
                    "r38"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accounts Payable, Trade, Current",
                            "terseLabel":  "Accounts payable, trade"
                            }
                        }
                    },
                "localname":  "AccountsPayableTradeCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock":  {
                "auth_ref":  [
                    "r253"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of allowance for credit loss on accounts receivable.",
                            "label":  "Accounts Receivable, Allowance for Credit Loss [Table Text Block]",
                            "terseLabel":  "Composition of the Allowance for Credit Losses"
                            }
                        }
                    },
                "localname":  "AccountsReceivableAllowanceForCreditLossTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms":  {
                "auth_ref":  [
                    "r624"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount billed to customers under long-term contracts or programs but not paid.  Excludes amounts due that have been withheld because of retainage provisions in a contract.",
                            "label":  "Construction Contractor, Receivable, Excluding Contract Retainage",
                            "terseLabel":  "Net receivable position on projects"
                            }
                        }
                    },
                "localname":  "AccountsReceivableBilledForLongTermContractsOrPrograms",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsReceivableMember":  {
                "auth_ref":  [
                    "r713"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Due from customers or clients for goods or services that have been delivered or sold.",
                            "label":  "Accounts Receivable [Member]",
                            "terseLabel":  "Accounts Receivable"
                            }
                        }
                    },
                "localname":  "AccountsReceivableMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountsReceivableNetCurrent":  {
                "auth_ref":  [
                    "r8",
                    "r25",
                    "r232",
                    "r233"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
                            "label":  "Accounts Receivable, after Allowance for Credit Loss, Current",
                            "terseLabel":  "Accounts receivable, net of allowances of $49,916 and $49,749"
                            }
                        }
                    },
                "localname":  "AccountsReceivableNetCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r28",
                    "r59",
                    "r61",
                    "r62",
                    "r675",
                    "r706",
                    "r709"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end.  Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.  Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Accumulated other comprehensive loss"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r58",
                    "r62",
                    "r70",
                    "r71",
                    "r72",
                    "r135",
                    "r136",
                    "r137",
                    "r532",
                    "r702",
                    "r703",
                    "r733"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent.  Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
                            "label":  "AOCI Attributable to Parent [Member]",
                            "terseLabel":  "Accumulated Other Comprehensive Income (Loss)"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdditionalPaidInCapitalCommonStock":  {
                "auth_ref":  [
                    "r26"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions.  Includes only common stock transactions (excludes preferred stock transactions).  May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
                            "label":  "Additional Paid in Capital, Common Stock",
                            "terseLabel":  "Additional paid-in capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    "r135",
                    "r136",
                    "r137",
                    "r463",
                    "r464",
                    "r465",
                    "r543"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
                            "label":  "Additional Paid-in Capital [Member]",
                            "terseLabel":  "Additional Paid-In Capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentForAmortization":  {
                "auth_ref":  [
                    "r112",
                    "r271"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of recurring noncash expense charged against earnings in the period to allocate the cost of assets over their estimated remaining economic lives.",
                            "label":  "Amortization",
                            "terseLabel":  "Amortization"
                            }
                        }
                    },
                "localname":  "AdjustmentForAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsForErrorCorrectionDomain":  {
                "auth_ref":  [
                    "r144",
                    "r145",
                    "r146",
                    "r149",
                    "r150",
                    "r151",
                    "r152"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of error correction.",
                            "label":  "Error Correction, Type [Domain]",
                            "terseLabel":  "Error Correction, Type [Domain]"
                            }
                        }
                    },
                "localname":  "AdjustmentsForErrorCorrectionDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Adjustments, Noncash Items, to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
                            "terseLabel":  "Adjustments to reconcile net income to net cash provided by operating activities\u2014"
                            }
                        }
                    },
                "localname":  "AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r445",
                    "r459",
                    "r469"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense for award under share-based payment arrangement.  Excludes amount capitalized.",
                            "label":  "Share-based Payment Arrangement, Expense",
                            "terseLabel":  "Compensation expense related to RSUs to be settled in cash"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivable":  {
                "auth_ref":  [
                    "r234",
                    "r249",
                    "r250",
                    "r252"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss on accounts receivable.",
                            "label":  "Accounts Receivable, Allowance for Credit Loss",
                            "periodEndLabel":  "Balance at end of period",
                            "periodStartLabel":  "Balance at beginning of period"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsCompositionoftheAllowanceforCreditLossesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent":  {
                "auth_ref":  [
                    "r32",
                    "r234",
                    "r249"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss on accounts receivable, classified as current.",
                            "label":  "Accounts Receivable, Allowance for Credit Loss, Current",
                            "verboseLabel":  "Allowances on accounts receivable, current"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfFinancingCosts":  {
                "auth_ref":  [
                    "r84",
                    "r112",
                    "r342",
                    "r581"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense attributable to debt issuance costs.",
                            "label":  "Amortization of Debt Issuance Costs",
                            "terseLabel":  "Amortization of deferred financing costs"
                            }
                        }
                    },
                "localname":  "AmortizationOfFinancingCosts",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfIntangibleAssets":  {
                "auth_ref":  [
                    "r112",
                    "r264",
                    "r271"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets.  As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
                            "label":  "Amortization of Intangible Assets",
                            "negatedTerseLabel":  "Amortization of intangible assets",
                            "terseLabel":  "Amortization of intangible assets"
                            }
                        }
                    },
                "localname":  "AmortizationOfIntangibleAssets",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ArrangementsAndNonarrangementTransactionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
                            "label":  "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
                            "terseLabel":  "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]"
                            }
                        }
                    },
                "localname":  "ArrangementsAndNonarrangementTransactionsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r128",
                    "r201",
                    "r214",
                    "r221",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r527",
                    "r533",
                    "r560",
                    "r609",
                    "r611",
                    "r648",
                    "r671"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized.  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets",
                            "totalLabel":  "Total assets"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "ASSETS"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsCurrent":  {
                "auth_ref":  [
                    "r9",
                    "r10",
                    "r55",
                    "r128",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r527",
                    "r533",
                    "r560",
                    "r609",
                    "r611"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer).  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Current",
                            "totalLabel":  "Total current assets"
                            }
                        }
                    },
                "localname":  "AssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets, Current [Abstract]",
                            "terseLabel":  "Current Assets:"
                            }
                        }
                    },
                "localname":  "AssetsCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AwardTypeAxis":  {
                "auth_ref":  [
                    "r447",
                    "r462"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of award under share-based payment arrangement.",
                            "label":  "Award Type [Axis]",
                            "terseLabel":  "Award Type [Axis]"
                            }
                        }
                    },
                "localname":  "AwardTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails",
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails",
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BalanceSheetLocationAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by location on balance sheet (statement of financial position).",
                            "label":  "Balance Sheet Location [Axis]",
                            "terseLabel":  "Balance Sheet Location [Axis]"
                            }
                        }
                    },
                "localname":  "BalanceSheetLocationAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BalanceSheetLocationDomain":  {
                "auth_ref":  [
                    "r539",
                    "r540"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Location in the balance sheet (statement of financial position).",
                            "label":  "Balance Sheet Location [Domain]",
                            "terseLabel":  "Balance Sheet Location [Domain]"
                            }
                        }
                    },
                "localname":  "BalanceSheetLocationDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BasisOfAccountingPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Basis of Accounting, Policy [Policy Text Block]",
                            "terseLabel":  "Interim Condensed Consolidated Financial Information"
                            }
                        }
                    },
                "localname":  "BasisOfAccountingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessAcquisitionAcquireeDomain":  {
                "auth_ref":  [
                    "r438",
                    "r441"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
                            "label":  "Business Acquisition, Acquiree [Domain]",
                            "terseLabel":  "Business Acquisition, Acquiree [Domain]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAcquireeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAxis":  {
                "auth_ref":  [
                    "r438",
                    "r441",
                    "r507",
                    "r508"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business combination or series of individually immaterial business combinations.",
                            "label":  "Business Acquisition [Axis]",
                            "terseLabel":  "Business Acquisition [Axis]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued":  {
                "auth_ref":  [
                    "r515"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares of equity interests issued or issuable to acquire entity.",
                            "label":  "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares",
                            "terseLabel":  "Number of shares granted for acquired companies (in shares)"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_BusinessAcquisitionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Business Acquisition [Line Items]",
                            "terseLabel":  "Business Acquisition [Line Items]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic":  {
                "auth_ref":  [
                    "r505",
                    "r506"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period.",
                            "label":  "Business Acquisition, Pro Forma Earnings Per Share, Basic",
                            "terseLabel":  "Basic (in dollars per share)"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionProFormaEarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r505",
                    "r506"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a period.",
                            "label":  "Business Acquisition, Pro Forma Earnings Per Share, Diluted",
                            "terseLabel":  "Diluted (in dollars per share)"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionProFormaEarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_BusinessAcquisitionProFormaInformationTextBlock":  {
                "auth_ref":  [
                    "r505",
                    "r506"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate.",
                            "label":  "Business Acquisition, Pro Forma Information [Table Text Block]",
                            "terseLabel":  "Unaudited Supplemental Pro Forma Results of Operations"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionProFormaInformationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount":  {
                "auth_ref":  [
                    "r518"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes.",
                            "label":  "Business Acquisition, Goodwill, Expected Tax Deductible Amount",
                            "terseLabel":  "Goodwill expected to be deductible for income tax"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessAcquisitionsProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTax":  {
                "auth_ref":  [
                    "r505",
                    "r506"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of pro forma income from continuing operations as if the business combination had been completed at the beginning of a period.",
                            "label":  "Business Acquisition, Pro Forma Income (Loss) from Continuing Operations, Net of Tax",
                            "terseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessAcquisitionsProFormaRevenue":  {
                "auth_ref":  [
                    "r505",
                    "r506"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.",
                            "label":  "Business Acquisition, Pro Forma Revenue",
                            "terseLabel":  "Revenues"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaRevenue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationAndAssetAcquisitionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Business Combination and Asset Acquisition [Abstract]"
                            }
                        }
                    },
                "localname":  "BusinessCombinationAndAssetAcquisitionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable":  {
                "auth_ref":  [
                    "r510",
                    "r511"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination.",
                            "label":  "Business Combination, Consideration Transferred, Equity Interests Issued and Issuable",
                            "terseLabel":  "Value of quanta common stock issued"
                            }
                        }
                    },
                "localname":  "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1":  {
                "auth_ref":  [
                    "r111",
                    "r519"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement.",
                            "label":  "Business Combination, Contingent Consideration Arrangements, Change in Amount of Contingent Consideration, Liability",
                            "negatedTerseLabel":  "Change in fair value of contingent consideration liabilities",
                            "terseLabel":  "Change in fair value of contingent consideration liabilities",
                            "verboseLabel":  "Change in fair value of contingent consideration liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh":  {
                "auth_ref":  [
                    "r517"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid.",
                            "label":  "Business Combination, Contingent Consideration Arrangements, Range of Outcomes, Value, High",
                            "terseLabel":  "Contingent consideration payments (up to)"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationLiability":  {
                "auth_ref":  [
                    "r509",
                    "r512",
                    "r516"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liability recognized arising from contingent consideration in a business combination.",
                            "label":  "Business Combination, Contingent Consideration, Liability",
                            "terseLabel":  "Total contingent consideration liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent":  {
                "auth_ref":  [
                    "r509",
                    "r513"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liability recognized arising from contingent consideration in a business combination, expected to be settled within one year or the normal operating cycle, if longer.",
                            "label":  "Business Combination, Contingent Consideration, Liability, Current",
                            "terseLabel":  "Accounts payable and accrued expenses"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput":  {
                "auth_ref":  [
                    "r551"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of input used to measure contingent consideration liability from business combination.",
                            "label":  "Business Combination, Contingent Consideration, Liability, Measurement Input",
                            "terseLabel":  "Contingent consideration liability, measurement input"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationLiabilityMeasurementInput",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r509",
                    "r513"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liability recognized arising from contingent consideration in a business combination, expected to be settled beyond one year or the normal operating cycle, if longer.",
                            "label":  "Business Combination, Contingent Consideration, Liability, Noncurrent",
                            "terseLabel":  "Insurance and other non-current liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationDisclosureTextBlock":  {
                "auth_ref":  [
                    "r520"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.  The disclosure may include leverage buyout transactions (as applicable).",
                            "label":  "Business Combination Disclosure [Text Block]",
                            "terseLabel":  "Acquisitions"
                            }
                        }
                    },
                "localname":  "BusinessCombinationDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/Acquisitions"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CapitalExpendituresIncurredButNotYetPaid":  {
                "auth_ref":  [
                    "r117",
                    "r118",
                    "r119"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Future cash outflow to pay for purchases of fixed assets that have occurred.",
                            "label":  "Capital Expenditures Incurred but Not yet Paid",
                            "terseLabel":  "Accrued capital expenditures"
                            }
                        }
                    },
                "localname":  "CapitalExpendituresIncurredButNotYetPaid",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r6",
                    "r35",
                    "r114"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.  Excludes cash and cash equivalents within disposal group and discontinued operation.",
                            "label":  "Cash and Cash Equivalents, at Carrying Value",
                            "terseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of cash and cash equivalent balance.",
                            "label":  "Cash and Cash Equivalents [Axis]",
                            "terseLabel":  "Cash and Cash Equivalents [Axis]"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CashAndCashEquivalentsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Cash and Cash Equivalents [Line Items]",
                            "terseLabel":  "Cash and Cash Equivalents [Line Items]",
                            "verboseLabel":  "Cash, Cash Equivalents and Restricted Cash [Line Items]"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CashAndCashEquivalentsPolicyTextBlock":  {
                "auth_ref":  [
                    "r14",
                    "r115"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents.  Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
                            "label":  "Cash and Cash Equivalents, Policy [Policy Text Block]",
                            "terseLabel":  "Cash and Cash Equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r107",
                    "r114",
                    "r120"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage.  Excludes amount for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, 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.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
                            "periodEndLabel":  "Cash, cash equivalents and restricted cash, end of period",
                            "periodStartLabel":  "Cash, cash equivalents and restricted cash, beginning of period",
                            "terseLabel":  "Total cash, cash equivalents, and restricted cash reported in the statements of cash flows"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r107",
                    "r569"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, 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.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
                            "totalLabel":  "Net increase in cash, cash equivalents and restricted cash"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r35"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of 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.  Excludes cash and cash equivalents within disposal group and discontinued operation.",
                            "label":  "Cash Equivalents, at Carrying Value",
                            "terseLabel":  "Cash equivalents"
                            }
                        }
                    },
                "localname":  "CashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashFlowOperatingCapitalTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the net increase (decrease) in operating capital in the operating section of the statement of cash flows, represents the entire footnote disclosure that provides details regarding the net change during the reporting period of all assets and liabilities used in operating activities.",
                            "label":  "Cash Flow, Operating Capital [Table Text Block]",
                            "terseLabel":  "Net Effects of Changes in Operating Assets and Liabilities, Net, on Cash Flows from Operating Activities"
                            }
                        }
                    },
                "localname":  "CashFlowOperatingCapitalTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashFlowSupplementalDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r121"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for supplemental cash flow activities, including cash, noncash, and part noncash transactions, for the period.  Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
                            "label":  "Cash Flow, Supplemental Disclosures [Text Block]",
                            "terseLabel":  "Supplemental Cash Flow Information"
                            }
                        }
                    },
                "localname":  "CashFlowSupplementalDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ClassOfStockDomain":  {
                "auth_ref":  [
                    "r125",
                    "r128",
                    "r159",
                    "r163",
                    "r168",
                    "r171",
                    "r174",
                    "r182",
                    "r183",
                    "r184",
                    "r244",
                    "r304",
                    "r309",
                    "r310",
                    "r311",
                    "r317",
                    "r318",
                    "r354",
                    "r355",
                    "r358",
                    "r362",
                    "r560",
                    "r731"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share of stock differentiated by the voting rights the holder receives.  Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
                            "label":  "Class of Stock [Domain]",
                            "terseLabel":  "Class of Stock [Domain]"
                            }
                        }
                    },
                "localname":  "ClassOfStockDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommitmentsAndContingencies":  {
                "auth_ref":  [
                    "r48",
                    "r285",
                    "r655",
                    "r680"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
                            "label":  "Commitments and Contingencies",
                            "terseLabel":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingencies",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Commitments and Contingencies Disclosure [Abstract]",
                            "terseLabel":  "Commitments and Contingencies Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r280",
                    "r282",
                    "r284",
                    "r296",
                    "r714"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for commitments and contingencies.",
                            "label":  "Commitments and Contingencies Disclosure [Text Block]",
                            "terseLabel":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingencies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommonStockDividendsPerShareDeclared":  {
                "auth_ref":  [
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate dividends declared during the period for each share of common stock outstanding.",
                            "label":  "Common Stock, Dividends, Per Share, Declared",
                            "verboseLabel":  "Cash dividends declared (in dollars per share)"
                            }
                        }
                    },
                "localname":  "CommonStockDividendsPerShareDeclared",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquityParenthetical",
                    "http://quantaservices.com/role/EquityDividendsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    "r135",
                    "r136",
                    "r543"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock that is subordinate to all other stock of the issuer.",
                            "label":  "Common Stock [Member]",
                            "terseLabel":  "Common Stock"
                            }
                        }
                    },
                "localname":  "CommonStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r23"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of common stock.",
                            "label":  "Common Stock, Par or Stated Value Per Share",
                            "terseLabel":  "Common stock, par value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "CommonStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r23"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Common Stock, Shares Authorized",
                            "terseLabel":  "Common stock, shares authorized (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r23"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury).  These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized.  Shares issued include shares outstanding and shares held in the treasury.",
                            "label":  "Common Stock, Shares, Issued",
                            "terseLabel":  "Common stock, shares issued (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r23",
                    "r368"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares of common stock outstanding.  Common stock represent the ownership interest in a corporation.",
                            "label":  "Common Stock, Shares, Outstanding",
                            "terseLabel":  "Common stock, shares outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockValue":  {
                "auth_ref":  [
                    "r23",
                    "r611"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer).  This item includes treasury stock repurchased by the entity.  Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
                            "label":  "Common Stock, Value, Issued",
                            "terseLabel":  "Common stock, $0.00001 par value, 600,000,000 shares authorized, 170,437,992 and 168,546,513 shares issued, and 143,765,604 and 142,633,934 shares outstanding"
                            }
                        }
                    },
                "localname":  "CommonStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r65",
                    "r67",
                    "r68",
                    "r81",
                    "r662",
                    "r689"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
                            "totalLabel":  "Total comprehensive income attributable to common stock"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest":  {
                "auth_ref":  [
                    "r65",
                    "r67",
                    "r80",
                    "r525",
                    "r526",
                    "r537",
                    "r661",
                    "r688"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income (loss) and other comprehensive income (loss), attributable to noncontrolling interests.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest",
                            "terseLabel":  "Less:  Comprehensive income attributable to non-controlling interests"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest":  {
                "auth_ref":  [
                    "r65",
                    "r67",
                    "r79",
                    "r524",
                    "r537",
                    "r660",
                    "r687"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest",
                            "totalLabel":  "Comprehensive income"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ConcentrationRiskBenchmarkDomain":  {
                "auth_ref":  [
                    "r186",
                    "r187",
                    "r230",
                    "r558",
                    "r559",
                    "r713"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The denominator in a calculation of a disclosed concentration risk percentage.",
                            "label":  "Concentration Risk Benchmark [Domain]",
                            "terseLabel":  "Concentration Risk Benchmark [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskBenchmarkDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConcentrationRiskByBenchmarkAxis":  {
                "auth_ref":  [
                    "r186",
                    "r187",
                    "r230",
                    "r558",
                    "r559",
                    "r710",
                    "r713"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by benchmark of concentration risk.",
                            "label":  "Concentration Risk Benchmark [Axis]",
                            "terseLabel":  "Concentration Risk Benchmark [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByBenchmarkAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskByTypeAxis":  {
                "auth_ref":  [
                    "r186",
                    "r187",
                    "r230",
                    "r558",
                    "r559",
                    "r710",
                    "r713"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
                            "label":  "Concentration Risk Type [Axis]",
                            "terseLabel":  "Concentration Risk Type [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskPercentage1":  {
                "auth_ref":  [
                    "r186",
                    "r187",
                    "r230",
                    "r558",
                    "r559"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
                            "label":  "Concentration Risk, Percentage",
                            "terseLabel":  "Concentration risk percentage"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskPercentage1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ConcentrationRiskTypeDomain":  {
                "auth_ref":  [
                    "r186",
                    "r187",
                    "r230",
                    "r558",
                    "r559",
                    "r713"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
                            "label":  "Concentration Risk Type [Domain]",
                            "terseLabel":  "Concentration Risk Type [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock":  {
                "auth_ref":  [
                    "r383"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer.  Includes, but is not limited to, change in contract asset and contract liability.",
                            "label":  "Contract with Customer, Contract Asset, Contract Liability, and Receivable [Table Text Block]",
                            "terseLabel":  "Contract Assets and Liabilities"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetAndLiabilityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ContractWithCustomerAssetNetCurrent":  {
                "auth_ref":  [
                    "r379",
                    "r381",
                    "r403"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current.",
                            "label":  "Contract with Customer, Asset, after Allowance for Credit Loss, Current",
                            "terseLabel":  "Contract assets"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetNetCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsContractAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerBasisOfPricingAxis":  {
                "auth_ref":  [
                    "r402",
                    "r409"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by basis of pricing for contract representing right to consideration in exchange for good or service transferred to customer.",
                            "label":  "Contract with Customer, Basis of Pricing [Axis]",
                            "terseLabel":  "Contract with Customer, Basis of Pricing [Axis]"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerBasisOfPricingAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ContractWithCustomerBasisOfPricingDomain":  {
                "auth_ref":  [
                    "r402",
                    "r409"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Basis of pricing for contract with customer.  Includes, but is not limited to, fixed-price and time-and-materials contracts.",
                            "label":  "Contract with Customer, Basis of Pricing [Domain]",
                            "terseLabel":  "Contract with Customer, Basis of Pricing [Domain]"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerBasisOfPricingDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ContractWithCustomerLiabilityCurrent":  {
                "auth_ref":  [
                    "r379",
                    "r380",
                    "r403"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
                            "label":  "Contract with Customer, Liability, Current",
                            "terseLabel":  "Contract liabilities"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsContractAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerLiabilityRevenueRecognized":  {
                "auth_ref":  [
                    "r404"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
                            "label":  "Contract with Customer, Liability, Revenue Recognized",
                            "terseLabel":  "Revenue recognized related to amounts in contract liabilities outstanding at the beginning of period"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityRevenueRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerReceivableAfterAllowanceForCreditLossCurrent":  {
                "auth_ref":  [
                    "r379",
                    "r382",
                    "r403"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as current.",
                            "label":  "Contract with Customer, Receivable, after Allowance for Credit Loss, Current",
                            "terseLabel":  "Current retainage balances"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerReceivableAfterAllowanceForCreditLossCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerReceivableAfterAllowanceForCreditLossNoncurrent":  {
                "auth_ref":  [
                    "r379",
                    "r382",
                    "r403"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as noncurrent.",
                            "label":  "Contract with Customer, Receivable, after Allowance for Credit Loss, Noncurrent",
                            "terseLabel":  "Non-current retainage balances"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerReceivableAfterAllowanceForCreditLossNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractsReceivableClaimsAndUncertainAmounts":  {
                "auth_ref":  [
                    "r24",
                    "r622"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of billed or unbilled claims or other similar items subject to uncertainty concerning their determination or ultimate realization under long-term contracts.",
                            "label":  "Contracts Receivable, Claims and Uncertain Amounts",
                            "terseLabel":  "Amount claimed in arbitration"
                            }
                        }
                    },
                "localname":  "ContractsReceivableClaimsAndUncertainAmounts",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CorporateNonSegmentMember":  {
                "auth_ref":  [
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r217",
                    "r223",
                    "r225"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment.",
                            "label":  "Corporate, Non-Segment [Member]",
                            "terseLabel":  "Corporate and Non-Allocated Costs"
                            }
                        }
                    },
                "localname":  "CorporateNonSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CostOfGoodsAndServicesSold":  {
                "auth_ref":  [
                    "r87",
                    "r628"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_GrossProfit",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period.  This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
                            "label":  "Cost of Goods and Services Sold",
                            "terseLabel":  "Cost of services (including depreciation)"
                            }
                        }
                    },
                "localname":  "CostOfGoodsAndServicesSold",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CreditFacilityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Axis]",
                            "terseLabel":  "Credit Facility [Axis]"
                            }
                        }
                    },
                "localname":  "CreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CreditFacilityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Domain]",
                            "terseLabel":  "Credit Facility [Domain]"
                            }
                        }
                    },
                "localname":  "CreditFacilityDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CustomerConcentrationRiskMember":  {
                "auth_ref":  [
                    "r185",
                    "r230"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues.  The risk is the materially adverse effects of loss of a significant customer.",
                            "label":  "Customer Concentration Risk [Member]",
                            "terseLabel":  "Customer Concentration Risk"
                            }
                        }
                    },
                "localname":  "CustomerConcentrationRiskMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtCurrent":  {
                "auth_ref":  [
                    "r41"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of short-term debt and current maturity of long-term debt and capital lease obligations due within one year or the normal operating cycle, if longer.",
                            "label":  "Debt, Current",
                            "terseLabel":  "Current maturities of long-term debt and short-term debt",
                            "totalLabel":  "Current maturities of long-term debt and short-term debt"
                            }
                        }
                    },
                "localname":  "DebtCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Debt Disclosure [Abstract]",
                            "terseLabel":  "Debt Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtDisclosureTextBlock":  {
                "auth_ref":  [
                    "r124",
                    "r325",
                    "r326",
                    "r327",
                    "r328",
                    "r329",
                    "r330",
                    "r331",
                    "r336",
                    "r343",
                    "r344",
                    "r346",
                    "r353"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
                            "label":  "Debt Disclosure [Text Block]",
                            "terseLabel":  "Debt Obligations"
                            }
                        }
                    },
                "localname":  "DebtDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligations"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DebtInstrumentAxis":  {
                "auth_ref":  [
                    "r18",
                    "r19",
                    "r20",
                    "r127",
                    "r133",
                    "r319",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r326",
                    "r332",
                    "r333",
                    "r334",
                    "r335",
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r341",
                    "r342",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r582",
                    "r649",
                    "r650",
                    "r670"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
                            "label":  "Debt Instrument [Axis]",
                            "terseLabel":  "Debt Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentInterestRateDuringPeriod":  {
                "auth_ref":  [
                    "r45",
                    "r339",
                    "r580"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The average effective interest rate during the reporting period.",
                            "label":  "Debt Instrument, Interest Rate During Period",
                            "terseLabel":  "Weighted-average interest rate of the senior credit facility"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateDuringPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsBorrowingsunderCreditFacilityandApplicableInterestRatesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentInterestRateStatedPercentage":  {
                "auth_ref":  [
                    "r45",
                    "r320"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contractual interest rate for funds borrowed, under the debt agreement.",
                            "label":  "Debt Instrument, Interest Rate, Stated Percentage",
                            "terseLabel":  "Interest rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateStatedPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Debt Instrument [Line Items]",
                            "terseLabel":  "Debt Instrument [Line Items]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentNameDomain":  {
                "auth_ref":  [
                    "r46",
                    "r127",
                    "r133",
                    "r319",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r326",
                    "r332",
                    "r333",
                    "r334",
                    "r335",
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r341",
                    "r342",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r582"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
                            "label":  "Debt Instrument, Name [Domain]",
                            "terseLabel":  "Debt Instrument, Name [Domain]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentPeriodicPayment":  {
                "auth_ref":  [
                    "r46",
                    "r668"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the required periodic payments including both interest and principal payments.",
                            "label":  "Debt Instrument, Periodic Payment",
                            "terseLabel":  "Quarterly principal payments"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPeriodicPayment",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentPeriodicPaymentInterest":  {
                "auth_ref":  [
                    "r46"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the required periodic payments applied to interest.",
                            "label":  "Debt Instrument, Periodic Payment, Interest",
                            "terseLabel":  "Semi-annual interest payable"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPeriodicPaymentInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r46",
                    "r127",
                    "r133",
                    "r319",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r326",
                    "r332",
                    "r333",
                    "r334",
                    "r335",
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r341",
                    "r342",
                    "r345",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r369",
                    "r370",
                    "r371",
                    "r372",
                    "r579",
                    "r580",
                    "r582",
                    "r583",
                    "r669"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table]",
                            "terseLabel":  "Schedule of Long-term Debt Instruments [Table]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Debt Instrument, Term",
                            "verboseLabel":  "Renewal term"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTerm",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet":  {
                "auth_ref":  [
                    "r332",
                    "r347",
                    "r349",
                    "r350",
                    "r581"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of unamortized debt discount (premium) and debt issuance costs.",
                            "label":  "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
                            "negatedTerseLabel":  "Unamortized discount and debt issuance costs related to senior notes and term loan",
                            "terseLabel":  "Unamortized discount and debt issuance costs related to senior notes and term loan"
                            }
                        }
                    },
                "localname":  "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible":  {
                "auth_ref":  [
                    "r480"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of decrease reasonably possible in the next twelve months for the unrecognized tax benefit.",
                            "label":  "Decrease in Unrecognized Tax Benefits is Reasonably Possible",
                            "terseLabel":  "Reasonably possible reduction to the balance of unrecognized tax benefits in succeeding 12 months"
                            }
                        }
                    },
                "localname":  "DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate carrying value as of the balance sheet date of the liabilities for all deferred compensation arrangements payable beyond one year (or the operating cycle, if longer).",
                            "label":  "Deferred Compensation Liability, Classified, Noncurrent",
                            "terseLabel":  "Deferred compensation liability, noncurrent"
                            }
                        }
                    },
                "localname":  "DeferredCompensationLiabilityClassifiedNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EmployeeBenefitPlansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredCompensationShareBasedArrangementsLiabilityCurrent":  {
                "auth_ref":  [
                    "r43"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate carrying value as of the balance sheet date of the liabilities for stock option plans and other equity-based compensation arrangements payable within one year (or the operating cycle, if longer).",
                            "label":  "Deferred Compensation Share-based Arrangements, Liability, Current",
                            "terseLabel":  "Accrued liabilities under compensation plan"
                            }
                        }
                    },
                "localname":  "DeferredCompensationShareBasedArrangementsLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredFinanceCostsNet":  {
                "auth_ref":  [
                    "r37",
                    "r332",
                    "r581"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization, of debt issuance costs.  Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
                            "label":  "Debt Issuance Costs, Net",
                            "terseLabel":  "Deferred financing costs"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r112",
                    "r129",
                    "r487",
                    "r496",
                    "r497",
                    "r498"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
                            "label":  "Deferred Income Tax Expense (Benefit)",
                            "terseLabel":  "Deferred income tax expense (benefit)"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxLiabilitiesNet":  {
                "auth_ref":  [
                    "r475",
                    "r476"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
                            "label":  "Deferred Income Tax Liabilities, Net",
                            "terseLabel":  "Deferred income taxes"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxLiabilitiesNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Depreciation":  {
                "auth_ref":  [
                    "r112",
                    "r274"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  15.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives.  Includes production and non-production related depreciation.",
                            "label":  "Depreciation",
                            "terseLabel":  "Depreciation"
                            }
                        }
                    },
                "localname":  "Depreciation",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DisaggregationOfRevenueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Disaggregation of Revenue [Line Items]",
                            "terseLabel":  "Disaggregation of Revenue [Line Items]"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DisaggregationOfRevenueTable":  {
                "auth_ref":  [
                    "r402",
                    "r406",
                    "r407",
                    "r408",
                    "r409",
                    "r410",
                    "r411",
                    "r412"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
                            "label":  "Disaggregation of Revenue [Table]",
                            "terseLabel":  "Disaggregation of Revenue [Table]"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DisaggregationOfRevenueTableTextBlock":  {
                "auth_ref":  [
                    "r402"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
                            "label":  "Disaggregation of Revenue [Table Text Block]",
                            "terseLabel":  "Revenue Disaggregated by Geographic Location and Contract Type"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock":  {
                "auth_ref":  [
                    "r471"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement [Text Block]",
                            "terseLabel":  "Stock-Based Compensation"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Payment Arrangement [Abstract]",
                            "terseLabel":  "Share-based Payment Arrangement [Abstract]"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DividendsCash":  {
                "auth_ref":  [
                    "r373",
                    "r667"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of paid and unpaid cash dividends declared for classes of stock, for example, but not limited to, common and preferred.",
                            "label":  "Dividends, Cash",
                            "negatedTerseLabel":  "Dividends declared"
                            }
                        }
                    },
                "localname":  "DividendsCash",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DividendsCommonStockCash":  {
                "auth_ref":  [
                    "r373"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
                            "label":  "Dividends, Common Stock, Cash",
                            "terseLabel":  "Cash dividends declared"
                            }
                        }
                    },
                "localname":  "DividendsCommonStockCash",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EquityDividendsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DividendsDeclaredTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of information related to dividends declared, including paid and unpaid dividends.",
                            "label":  "Dividends Declared [Table Text Block]",
                            "terseLabel":  "Dividends"
                            }
                        }
                    },
                "localname":  "DividendsDeclaredTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EquityTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DueFromRelatedParties":  {
                "auth_ref":  [
                    "r132",
                    "r307",
                    "r309",
                    "r310",
                    "r316",
                    "r317",
                    "r318",
                    "r607",
                    "r653",
                    "r683"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an unclassified balance sheet, amounts due from related parties including affiliates, employees, joint ventures, officers and stockholders, immediate families thereof, and pension funds.",
                            "label":  "Due from Related Parties",
                            "terseLabel":  "Due from related parties"
                            }
                        }
                    },
                "localname":  "DueFromRelatedParties",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DueToRelatedPartiesCurrentAndNoncurrent":  {
                "auth_ref":  [
                    "r132",
                    "r307",
                    "r309",
                    "r310",
                    "r316",
                    "r317",
                    "r318",
                    "r607",
                    "r654",
                    "r682"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of obligations due all related parties.",
                            "label":  "Due to Related Parties",
                            "terseLabel":  "Due to related parties"
                            }
                        }
                    },
                "localname":  "DueToRelatedPartiesCurrentAndNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share [Abstract]",
                            "terseLabel":  "Earnings per share attributable to common stock:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r82",
                    "r144",
                    "r145",
                    "r147",
                    "r148",
                    "r149",
                    "r156",
                    "r159",
                    "r171",
                    "r173",
                    "r174",
                    "r178",
                    "r179",
                    "r544",
                    "r545",
                    "r663",
                    "r690"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Basic",
                            "terseLabel":  "Basic (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareBasicAndDilutedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic and Diluted [Abstract]",
                            "terseLabel":  "Earnings per share attributable to common stock:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAndDilutedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsUnauditedSupplementalProFormaResultsofOperationsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r82",
                    "r144",
                    "r145",
                    "r147",
                    "r148",
                    "r149",
                    "r159",
                    "r171",
                    "r173",
                    "r174",
                    "r178",
                    "r179",
                    "r544",
                    "r545",
                    "r663",
                    "r690"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Diluted",
                            "terseLabel":  "Diluted (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r175",
                    "r176",
                    "r177",
                    "r180"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for earnings per share.",
                            "label":  "Earnings Per Share [Text Block]",
                            "terseLabel":  "Per Share Information"
                            }
                        }
                    },
                "localname":  "EarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations":  {
                "auth_ref":  [
                    "r569"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies; including, but not limited to, disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, 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.",
                            "label":  "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations",
                            "terseLabel":  "Effect of foreign exchange rate changes on cash, cash equivalents and restricted cash"
                            }
                        }
                    },
                "localname":  "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EffectiveIncomeTaxRateContinuingOperations":  {
                "auth_ref":  [
                    "r478"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Effective Income Tax Rate Reconciliation, Percent",
                            "terseLabel":  "Effective income tax rate"
                            }
                        }
                    },
                "localname":  "EffectiveIncomeTaxRateContinuingOperations",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount":  {
                "auth_ref":  [
                    "r470",
                    "r478"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to expense for award under share-based payment arrangement.  Excludes expense determined to be nondeductible upon grant or after for award under share-based payment arrangement.",
                            "label":  "Effective Income Tax Rate Reconciliation, Tax Expense (Benefit), Share-based Payment Arrangement, Amount",
                            "terseLabel":  "Non-cash stock-based expense (benefit)"
                            }
                        }
                    },
                "localname":  "EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeRelatedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r43"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Employee-related Liabilities, Current",
                            "terseLabel":  "Accrued compensation and related expenses"
                            }
                        }
                    },
                "localname":  "EmployeeRelatedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationCashFlowEffectCashUsedToSettleAwards":  {
                "auth_ref":  [
                    "r461"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate cash paid by the entity during the period to settle equity instruments granted under equity-based payment arrangements.",
                            "label":  "Share-based Payment Arrangement, Cash Used to Settle Award",
                            "terseLabel":  "Payments to settle liabilities under compensation plan"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationCashFlowEffectCashUsedToSettleAwards",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized":  {
                "auth_ref":  [
                    "r460"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
                            "terseLabel":  "Unrecognized compensation cost, related to unvested RSUs to be settled in common stock, total"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1":  {
                "auth_ref":  [
                    "r460"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
                            "terseLabel":  "Expected weighted average period to recognize compensation cost on RSUs to be settled in common stock"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_EquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Equity [Abstract]",
                            "terseLabel":  "Equity [Abstract]"
                            }
                        }
                    },
                "localname":  "EquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r0",
                    "r70",
                    "r71",
                    "r72",
                    "r135",
                    "r136",
                    "r137",
                    "r141",
                    "r150",
                    "r152",
                    "r181",
                    "r246",
                    "r368",
                    "r373",
                    "r463",
                    "r464",
                    "r465",
                    "r489",
                    "r490",
                    "r543",
                    "r570",
                    "r571",
                    "r572",
                    "r573",
                    "r574",
                    "r577",
                    "r702",
                    "r703",
                    "r704",
                    "r733"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
                            "label":  "Equity Component [Domain]",
                            "terseLabel":  "Equity Component [Domain]"
                            }
                        }
                    },
                "localname":  "EquityComponentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EquityMethodInvestmentOwnershipPercentage":  {
                "auth_ref":  [
                    "r242"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
                            "label":  "Equity Method Investment, Ownership Percentage",
                            "terseLabel":  "Equity interest"
                            }
                        }
                    },
                "localname":  "EquityMethodInvestmentOwnershipPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_EquityMethodInvestments":  {
                "auth_ref":  [
                    "r36",
                    "r202",
                    "r241"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee.  This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
                            "label":  "Equity Method Investments",
                            "terseLabel":  "Equity method investments"
                            }
                        }
                    },
                "localname":  "EquityMethodInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EquityMethodInvestmentsAndJointVenturesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Equity Method Investments and Joint Ventures [Abstract]"
                            }
                        }
                    },
                "localname":  "EquityMethodInvestmentsAndJointVenturesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent":  {
                "auth_ref":  [
                    "r556"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
                            "label":  "Equity Securities, FV-NI",
                            "terseLabel":  "Equity security fair value"
                            }
                        }
                    },
                "localname":  "EquitySecuritiesFvNiCurrentAndNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EquitySecuritiesFvNiGainLoss":  {
                "auth_ref":  [
                    "r240"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
                            "label":  "Equity Securities, FV-NI, Gain (Loss)",
                            "terseLabel":  "Decrease in fair value"
                            }
                        }
                    },
                "localname":  "EquitySecuritiesFvNiGainLoss",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount":  {
                "auth_ref":  [
                    "r239"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in equity security without readily determinable fair value.",
                            "label":  "Equity Securities without Readily Determinable Fair Value, Amount",
                            "terseLabel":  "Investment balance"
                            }
                        }
                    },
                "localname":  "EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis":  {
                "auth_ref":  [
                    "r144",
                    "r145",
                    "r146",
                    "r149",
                    "r150",
                    "r151",
                    "r152"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of error correction.",
                            "label":  "Error Correction, Type [Axis]",
                            "terseLabel":  "Error Correction, Type [Axis]"
                            }
                        }
                    },
                "localname":  "ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
                            "terseLabel":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable":  {
                "auth_ref":  [
                    "r546",
                    "r547",
                    "r548",
                    "r553"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
                            "label":  "Fair Value, Recurring and Nonrecurring [Table]",
                            "terseLabel":  "Fair Value, Recurring and Nonrecurring [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r334",
                    "r349",
                    "r350",
                    "r419",
                    "r421",
                    "r422",
                    "r423",
                    "r424",
                    "r425",
                    "r426",
                    "r434",
                    "r547",
                    "r613",
                    "r614",
                    "r615"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
                            "label":  "Fair Value Hierarchy and NAV [Axis]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r546",
                    "r547",
                    "r550",
                    "r551",
                    "r554"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]",
                            "terseLabel":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Fair Value Disclosures [Abstract]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r552"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities.  Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
                            "label":  "Fair Value Disclosures [Text Block]",
                            "terseLabel":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurements"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel3Member":  {
                "auth_ref":  [
                    "r334",
                    "r349",
                    "r350",
                    "r419",
                    "r421",
                    "r422",
                    "r423",
                    "r424",
                    "r425",
                    "r426",
                    "r434",
                    "r547",
                    "r615"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
                            "label":  "Fair Value, Inputs, Level 3 [Member]",
                            "terseLabel":  "Level 3"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel3Member",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Measurement Frequency [Domain]",
                            "terseLabel":  "Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    "r334",
                    "r349",
                    "r350",
                    "r419",
                    "r421",
                    "r422",
                    "r423",
                    "r424",
                    "r425",
                    "r426",
                    "r434",
                    "r613",
                    "r614",
                    "r615"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
                            "label":  "Fair Value Hierarchy and NAV [Domain]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsRecurringMember":  {
                "auth_ref":  [
                    "r552",
                    "r554"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Frequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
                            "label":  "Fair Value, Recurring [Member]",
                            "terseLabel":  "Recurring"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsRecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueOfFinancialInstrumentsPolicy":  {
                "auth_ref":  [
                    "r555",
                    "r557"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for determining the fair value of financial instruments.",
                            "label":  "Fair Value of Financial Instruments, Policy [Policy Text Block]",
                            "terseLabel":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueOfFinancialInstrumentsPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FinanceLeaseInterestExpense":  {
                "auth_ref":  [
                    "r586",
                    "r593",
                    "r602"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LeaseCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest expense on finance lease liability.",
                            "label":  "Finance Lease, Interest Expense",
                            "terseLabel":  "Interest on lease liabilities"
                            }
                        }
                    },
                "localname":  "FinanceLeaseInterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseInterestPaymentOnLiability":  {
                "auth_ref":  [
                    "r589",
                    "r595"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest paid on finance lease liability.",
                            "label":  "Finance Lease, Interest Payment on Liability",
                            "negatedLabel":  "Operating cash flows from finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseInterestPaymentOnLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Finance Lease, Liability, Payment, Due [Abstract]",
                            "terseLabel":  "Finance Leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilitiesPaymentsDueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinanceLeaseLiability":  {
                "auth_ref":  [
                    "r585",
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiability",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from finance lease.",
                            "label":  "Finance Lease, Liability",
                            "terseLabel":  "Total lease liabilities",
                            "verboseLabel":  "Finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock":  {
                "auth_ref":  [
                    "r600"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of undiscounted cash flows of finance lease liability.  Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position.",
                            "label":  "Finance Lease, Liability, Fiscal Year Maturity [Table Text Block]",
                            "terseLabel":  "Future Minimum Lease Payments - Finance Leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityMaturityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDue":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for finance lease.",
                            "label":  "Finance Lease, Liability, Payment, Due",
                            "totalLabel":  "Total future minimum operating and finance lease payments"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearOne",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finance Lease, Liability, to be Paid, Year One",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearFour",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finance Lease, Liability, to be Paid, Year Four",
                            "terseLabel":  "2026"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearThree",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finance Lease, Liability, to be Paid, Year Three",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDueYearTwo",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Finance Lease, Liability, to be Paid, Year Two",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsRemainderOfFiscalYear",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in remainder of current fiscal year.",
                            "label":  "Finance Lease, Liability, to be Paid, Remainder of Fiscal Year",
                            "terseLabel":  "Remainder of 2022"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesUndiscountedExcessAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for finance lease.",
                            "label":  "Finance Lease, Liability, Undiscounted Excess Amount",
                            "negatedTerseLabel":  "Less imputed interest"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityUndiscountedExcessAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeasePrincipalPayments":  {
                "auth_ref":  [
                    "r588",
                    "r595"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow for principal payment on finance lease.",
                            "label":  "Finance Lease, Principal Payments",
                            "negatedLabel":  "Financing cash flows from finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeasePrincipalPayments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseRightOfUseAssetAmortization":  {
                "auth_ref":  [
                    "r586",
                    "r593",
                    "r602"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LeaseCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense attributable to right-of-use asset from finance lease.",
                            "label":  "Finance Lease, Right-of-Use Asset, Amortization",
                            "terseLabel":  "Amortization of lease assets"
                            }
                        }
                    },
                "localname":  "FinanceLeaseRightOfUseAssetAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent":  {
                "auth_ref":  [
                    "r598",
                    "r602"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average discount rate for finance lease calculated at point in time.",
                            "label":  "Finance Lease, Weighted Average Discount Rate, Percent",
                            "terseLabel":  "Finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseWeightedAverageDiscountRatePercent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1":  {
                "auth_ref":  [
                    "r597",
                    "r602"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Finance Lease, Weighted Average Remaining Lease Term",
                            "terseLabel":  "Finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseWeightedAverageRemainingLeaseTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization":  {
                "auth_ref":  [
                    "r270"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Accumulated Amortization",
                            "terseLabel":  "Accumulated amortization on other intangible assets"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAccumulatedAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Finite-Lived Intangible Assets [Line Items]",
                            "terseLabel":  "Finite-Lived Intangible Assets [Line Items]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinitelivedIntangibleAssetsAcquired1":  {
                "auth_ref":  [
                    "r266"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition.",
                            "label":  "Finite-lived Intangible Assets Acquired",
                            "terseLabel":  "Intangible assets"
                            }
                        }
                    },
                "localname":  "FinitelivedIntangibleAssetsAcquired1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FixedPriceContractMember":  {
                "auth_ref":  [
                    "r409"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contract with customer in which amount of consideration is fixed.",
                            "label":  "Fixed-price Contract [Member]",
                            "terseLabel":  "Fixed price contracts"
                            }
                        }
                    },
                "localname":  "FixedPriceContractMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax":  {
                "auth_ref":  [
                    "r564",
                    "r565",
                    "r566",
                    "r568"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement.",
                            "label":  "Foreign Currency Transaction Gain (Loss), before Tax",
                            "negatedLabel":  "Foreign currency (gain) loss"
                            }
                        }
                    },
                "localname":  "ForeignCurrencyTransactionGainLossBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GainLossOnSaleOfInvestments":  {
                "auth_ref":  [
                    "r112"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.",
                            "label":  "Gain (Loss) on Sale of Investments",
                            "negatedTerseLabel":  "Gain on sale of investments"
                            }
                        }
                    },
                "localname":  "GainLossOnSaleOfInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GainLossOnSaleOfPropertyPlantEquipment":  {
                "auth_ref":  [
                    "r112"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
                            "label":  "Gain (Loss) on Disposition of Property Plant Equipment",
                            "negatedLabel":  "Gain on sale of property and equipment"
                            }
                        }
                    },
                "localname":  "GainLossOnSaleOfPropertyPlantEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Goodwill":  {
                "auth_ref":  [
                    "r254",
                    "r256",
                    "r611",
                    "r647"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill",
                            "terseLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "Goodwill",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAcquiredDuringPeriod":  {
                "auth_ref":  [
                    "r257"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
                            "label":  "Goodwill, Acquired During Period",
                            "terseLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillAcquiredDuringPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Goodwill and Intangible Assets Disclosure [Abstract]",
                            "terseLabel":  "Goodwill and Intangible Assets Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r273"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for goodwill and intangible assets.",
                            "label":  "Goodwill and Intangible Assets Disclosure [Text Block]",
                            "terseLabel":  "Goodwill and Other Intangible Assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssets"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy":  {
                "auth_ref":  [
                    "r260"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for goodwill.  This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
                            "label":  "Goodwill and Intangible Assets, Goodwill, Policy [Policy Text Block]",
                            "terseLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsGoodwillPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy":  {
                "auth_ref":  [
                    "r267"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for intangible assets.  This accounting policy may address both intangible assets subject to amortization and those that are not.  The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined.",
                            "label":  "Goodwill and Intangible Assets, Intangible Assets, Policy [Policy Text Block]",
                            "terseLabel":  "Intangible Assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillImpairmentLoss":  {
                "auth_ref":  [
                    "r112",
                    "r255",
                    "r258",
                    "r261"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Impairment Loss",
                            "terseLabel":  "Goodwill impairment loss"
                            }
                        }
                    },
                "localname":  "GoodwillImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Goodwill [Line Items]",
                            "terseLabel":  "Goodwill [Line Items]"
                            }
                        }
                    },
                "localname":  "GoodwillLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillPurchaseAccountingAdjustments":  {
                "auth_ref":  [
                    "r259",
                    "r504"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Purchase Accounting Adjustments",
                            "terseLabel":  "Purchase price allocation adjustments"
                            }
                        }
                    },
                "localname":  "GoodwillPurchaseAccountingAdjustments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GrossProfit":  {
                "auth_ref":  [
                    "r86",
                    "r128",
                    "r201",
                    "r213",
                    "r217",
                    "r220",
                    "r223",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r560"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
                            "label":  "Gross Profit",
                            "negatedLabel":  "Gross Profit",
                            "totalLabel":  "Gross profit"
                            }
                        }
                    },
                "localname":  "GrossProfit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GuaranteeObligationsByNatureAxis":  {
                "auth_ref":  [
                    "r302"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by nature of guarantee.",
                            "label":  "Guarantor Obligations, Nature [Axis]",
                            "terseLabel":  "Guarantor Obligations, Nature [Axis]"
                            }
                        }
                    },
                "localname":  "GuaranteeObligationsByNatureAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GuaranteeObligationsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Guarantor Obligations [Line Items]",
                            "terseLabel":  "Guarantor Obligations [Line Items]"
                            }
                        }
                    },
                "localname":  "GuaranteeObligationsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GuaranteeObligationsMaximumExposure":  {
                "auth_ref":  [
                    "r301"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions.",
                            "label":  "Guarantor Obligations, Maximum Exposure, Undiscounted",
                            "verboseLabel":  "Total amount of outstanding performance bonds"
                            }
                        }
                    },
                "localname":  "GuaranteeObligationsMaximumExposure",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GuaranteeObligationsNatureDomain":  {
                "auth_ref":  [
                    "r300"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents a description of the nature of the guarantee or each group of similar guarantees.",
                            "label":  "Guarantor Obligations, Nature [Domain]",
                            "terseLabel":  "Guarantor Obligations, Nature [Domain]"
                            }
                        }
                    },
                "localname":  "GuaranteeObligationsNatureDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill":  {
                "auth_ref":  [
                    "r112",
                    "r272"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of an intangible asset (excluding goodwill) to fair value.",
                            "label":  "Impairment of Intangible Assets (Excluding Goodwill)",
                            "terseLabel":  "Impairment of other intangible assets"
                            }
                        }
                    },
                "localname":  "ImpairmentOfIntangibleAssetsExcludingGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest":  {
                "auth_ref":  [
                    "r75",
                    "r201",
                    "r213",
                    "r217",
                    "r220",
                    "r223",
                    "r645",
                    "r657",
                    "r665",
                    "r692"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ProfitLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
                            "label":  "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
                            "totalLabel":  "Income before income taxes"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeLossFromEquityMethodInvestments":  {
                "auth_ref":  [
                    "r76",
                    "r112",
                    "r198",
                    "r241",
                    "r656",
                    "r684"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
                            "label":  "Income (Loss) from Equity Method Investments",
                            "negatedLabel":  "Equity in earnings of unconsolidated affiliates"
                            }
                        }
                    },
                "localname":  "IncomeLossFromEquityMethodInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeStatementAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Income Statement [Abstract]",
                            "terseLabel":  "Income Statement [Abstract]"
                            }
                        }
                    },
                "localname":  "IncomeStatementAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Income Tax Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureTextBlock":  {
                "auth_ref":  [
                    "r130",
                    "r479",
                    "r483",
                    "r486",
                    "r494",
                    "r499",
                    "r501",
                    "r502",
                    "r503"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for income taxes.  Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
                            "label":  "Income Tax Disclosure [Text Block]",
                            "terseLabel":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxes"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r131",
                    "r151",
                    "r152",
                    "r199",
                    "r477",
                    "r495",
                    "r500",
                    "r693"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ProfitLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Income Tax Expense (Benefit)",
                            "terseLabel":  "Provision for income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxPolicyTextBlock":  {
                "auth_ref":  [
                    "r69",
                    "r473",
                    "r474",
                    "r483",
                    "r484",
                    "r485",
                    "r488"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
                            "label":  "Income Tax, Policy [Policy Text Block]",
                            "terseLabel":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxesPaid":  {
                "auth_ref":  [
                    "r109",
                    "r116"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
                            "label":  "Income Taxes Paid",
                            "negatedLabel":  "Income taxes paid"
                            }
                        }
                    },
                "localname":  "IncomeTaxesPaid",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationAdditionalSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period of the sum of amounts due within one year (or one business cycle) from customers for the credit sale of goods and services; and from note holders for outstanding loans.",
                            "label":  "Increase (Decrease) in Accounts and Notes Receivable",
                            "negatedLabel":  "Accounts and notes receivable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsAndNotesReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInContractWithCustomerAsset":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time.",
                            "label":  "Increase (Decrease) in Contract with Customer, Asset",
                            "negatedLabel":  "Contract assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInContractWithCustomerAsset",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInContractWithCustomerLiability":  {
                "auth_ref":  [
                    "r111",
                    "r625"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in obligation to transfer good or service to customer for which consideration has been received or is receivable.",
                            "label":  "Increase (Decrease) in Contract with Customer, Liability",
                            "terseLabel":  "Contract liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInContractWithCustomerLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInInventories":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
                            "label":  "Increase (Decrease) in Inventories",
                            "negatedLabel":  "Inventories"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInInventories",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOperatingCapital":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        },
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period of all assets and liabilities used in operating activities.",
                            "label":  "Increase (Decrease) in Operating Capital",
                            "negatedLabel":  "Changes in operating assets and liabilities, net of non-cash transactions",
                            "negatedTotalLabel":  "Net change in operating assets and liabilities, net of non-cash transactions"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingCapital",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in other obligations or expenses incurred but not yet paid.",
                            "label":  "Increase (Decrease) in Other Accounts Payable and Accrued Liabilities",
                            "terseLabel":  "Accounts payable and accrued expenses and other non-current liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in operating assets after deduction of operating liabilities classified as other.",
                            "label":  "Increase (Decrease) in Other Operating Assets and Liabilities, Net",
                            "negatedTerseLabel":  "Other, net"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherOperatingCapitalNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_IncreaseDecreaseInOperatingCapital",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
                            "label":  "Increase (Decrease) in Prepaid Expense and Other Assets",
                            "negatedLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationNetEffectsofChangesinOperatingAssetsandLiabilitiesNetonCashFlowsfromOperatingActivitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
                            "terseLabel":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInStockholdersEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights":  {
                "auth_ref":  [
                    "r172"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents nonvested share-based payment awards that contain non-forfeitable rights to dividends or dividend equivalents (whether paid or unpaid).  Basic and dilutive earnings per share are generally disclosed for such shares using the two-class method.",
                            "label":  "Incremental Common Shares Attributable to Participating Nonvested Shares with Non-forfeitable Dividend Rights",
                            "terseLabel":  "Weighted average shares outstanding attributable to participating securities (in shares)"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationNarrativeDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements":  {
                "auth_ref":  [
                    "r160",
                    "r161",
                    "r162",
                    "r174"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
                            "label":  "Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements",
                            "terseLabel":  "Effect of dilutive unvested non-participating stock-based awards (in shares)"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_InsuranceSettlementsReceivable":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount due in settlement of a claim for reimbursement from an insurance company when the Company has suffered a loss covered under an insurance policy.",
                            "label":  "Insurance Settlements Receivable",
                            "terseLabel":  "Related insurance recoveries/receivables"
                            }
                        }
                    },
                "localname":  "InsuranceSettlementsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InsuranceSettlementsReceivableCurrent":  {
                "auth_ref":  [
                    "r54"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount due in settlement of a claim for reimbursement from an insurance company when the Company has suffered a loss covered under an insurance policy.  For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
                            "label":  "Insurance Settlements Receivable, Current",
                            "terseLabel":  "Related insurance recoveries/receivables included in prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "InsuranceSettlementsReceivableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InsuranceSettlementsReceivableNoncurrent":  {
                "auth_ref":  [
                    "r37"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount due after one year of the balance sheet date (or one operating cycle, if longer) of amount due in settlement of a claim for reimbursement from an insurance company when the Company has suffered a loss covered under an insurance policy.",
                            "label":  "Insurance Settlements Receivable, Noncurrent",
                            "terseLabel":  "Long-term insurance receivables"
                            }
                        }
                    },
                "localname":  "InsuranceSettlementsReceivableNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IntangibleAssetsNetExcludingGoodwill":  {
                "auth_ref":  [
                    "r263",
                    "r268"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
                            "label":  "Intangible Assets, Net (Excluding Goodwill)",
                            "terseLabel":  "Other intangible assets",
                            "verboseLabel":  "Other intangible assets, net of accumulated amortization of $799,905 and $682,498"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsNetExcludingGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpense":  {
                "auth_ref":  [
                    "r74",
                    "r195",
                    "r578",
                    "r581",
                    "r664"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense.",
                            "label":  "Interest Expense",
                            "negatedLabel":  "Interest and other financing expenses"
                            }
                        }
                    },
                "localname":  "InterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPaidNet":  {
                "auth_ref":  [
                    "r102",
                    "r108",
                    "r116"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity.  Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
                            "label":  "Interest Paid, Excluding Capitalized Interest, Operating Activities",
                            "negatedLabel":  "Interest paid"
                            }
                        }
                    },
                "localname":  "InterestPaidNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationAdditionalSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InventoryNet":  {
                "auth_ref":  [
                    "r7",
                    "r53",
                    "r611"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
                            "label":  "Inventory, Net",
                            "terseLabel":  "Inventories"
                            }
                        }
                    },
                "localname":  "InventoryNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentIncomeInterest":  {
                "auth_ref":  [
                    "r90",
                    "r194"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
                            "label":  "Investment Income, Interest",
                            "terseLabel":  "Interest income"
                            }
                        }
                    },
                "localname":  "InvestmentIncomeInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentPolicyTextBlock":  {
                "auth_ref":  [
                    "r243",
                    "r691"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for investment in financial asset.",
                            "label":  "Investment, Policy [Policy Text Block]",
                            "terseLabel":  "Investments in Affiliates and Other Entities"
                            }
                        }
                    },
                "localname":  "InvestmentPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LeaseCost":  {
                "auth_ref":  [
                    "r599",
                    "r602"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lease cost recognized by lessee for lease contract.",
                            "label":  "Lease, Cost",
                            "totalLabel":  "Total lease cost"
                            }
                        }
                    },
                "localname":  "LeaseCost",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LeaseCostAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Lease, Cost [Abstract]",
                            "terseLabel":  "Lease cost"
                            }
                        }
                    },
                "localname":  "LeaseCostAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LeaseCostTableTextBlock":  {
                "auth_ref":  [
                    "r599"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of lessee's lease cost.  Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
                            "label":  "Lease, Cost [Table Text Block]",
                            "terseLabel":  "Components of Lease Costs"
                            }
                        }
                    },
                "localname":  "LeaseCostTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LeasesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Leases [Abstract]",
                            "terseLabel":  "Leases [Abstract]"
                            }
                        }
                    },
                "localname":  "LeasesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeFinanceLeasesTextBlock":  {
                "auth_ref":  [
                    "r603"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for finance leases of lessee.  Includes, but is not limited to, description of lessee's finance lease and maturity analysis of finance lease liability.",
                            "label":  "Lessee, Finance Leases [Text Block]",
                            "terseLabel":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeFinanceLeasesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/Leases"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeLeaseDescriptionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Lessee, Lease, Description [Line Items]",
                            "terseLabel":  "Lessee, Lease, Description [Line Items]"
                            }
                        }
                    },
                "localname":  "LesseeLeaseDescriptionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeLeaseDescriptionTable":  {
                "auth_ref":  [
                    "r592"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about lessee's leases.",
                            "label":  "Lessee, Lease, Description [Table]",
                            "terseLabel":  "Lessee, Lease, Description [Table]"
                            }
                        }
                    },
                "localname":  "LesseeLeaseDescriptionTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock":  {
                "auth_ref":  [
                    "r600"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability.  Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
                            "label":  "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
                            "terseLabel":  "Future Minimum Lease Payments - Operating Leases"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  1.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
                            "label":  "Lessee, Operating Lease, Liability, to be Paid",
                            "totalLabel":  "Total future minimum operating and finance lease payments"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Lessee, Operating Lease, Liability, to be Paid, Year One",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Lessee, Operating Lease, Liability, to be Paid, Year Four",
                            "terseLabel":  "2026"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Lessee, Operating Lease, Liability, to be Paid, Year Three",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Lessee, Operating Lease, Liability, to be Paid, Year Two",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payment for operating lease having initial or remaining lease term in excess of one year to be paid in remainder of current fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year",
                            "terseLabel":  "Remainder of 2022"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount":  {
                "auth_ref":  [
                    "r600"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiabilitiesUndiscountedExcessAmount",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
                            "label":  "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
                            "negatedTerseLabel":  "Less imputed interest"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseTermOfContract":  {
                "auth_ref":  [
                    "r591"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Lessee, Operating Lease, Term of Contract",
                            "terseLabel":  "Operating lease term (up to)"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseTermOfContract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_LesseeOperatingLeasesTextBlock":  {
                "auth_ref":  [
                    "r603"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for operating leases of lessee.  Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
                            "label":  "Lessee, Operating Leases [Text Block]",
                            "terseLabel":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeasesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/Leases"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LetterOfCreditMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A document typically issued by a financial institution which acts as a guarantee of payment to a beneficiary, or as the source of payment for a specific transaction (for example, wiring funds to a foreign exporter if and when specified merchandise is accepted pursuant to the terms of the letter of credit).",
                            "label":  "Letter of Credit [Member]",
                            "terseLabel":  "Letters of Credit"
                            }
                        }
                    },
                "localname":  "LetterOfCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LettersOfCreditOutstandingAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date.",
                            "label":  "Letters of Credit Outstanding, Amount",
                            "terseLabel":  "Letters of credit and bank guarantees",
                            "verboseLabel":  "Outstanding letters of credit and bank guarantees"
                            }
                        }
                    },
                "localname":  "LettersOfCreditOutstandingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r42",
                    "r128",
                    "r215",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r528",
                    "r533",
                    "r534",
                    "r560",
                    "r609",
                    "r610"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized.  Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
                            "label":  "Liabilities",
                            "totalLabel":  "Total liabilities"
                            }
                        }
                    },
                "localname":  "Liabilities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r31",
                    "r128",
                    "r244",
                    "r560",
                    "r611",
                    "r652",
                    "r678"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
                            "label":  "Liabilities and Equity",
                            "totalLabel":  "Total liabilities and equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities and Equity [Abstract]",
                            "terseLabel":  "LIABILITIES AND EQUITY"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesCurrent":  {
                "auth_ref":  [
                    "r44",
                    "r128",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r528",
                    "r533",
                    "r534",
                    "r560",
                    "r609",
                    "r610",
                    "r611"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
                            "label":  "Liabilities, Current",
                            "totalLabel":  "Total current liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities, Current [Abstract]",
                            "terseLabel":  "Current Liabilities:"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense":  {
                "auth_ref":  [
                    "r694",
                    "r695"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount needed to reflect the estimated ultimate cost of settling claims relating to insured events that have occurred on or before the balance sheet date, whether or not reported to the insurer at that date.",
                            "label":  "Liability for Claims and Claims Adjustment Expense",
                            "terseLabel":  "Gross amount accrued for insurance claims"
                            }
                        }
                    },
                "localname":  "LiabilityForClaimsAndClaimsAdjustmentExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LifeInsuranceCorporateOrBankOwnedAmount":  {
                "auth_ref":  [
                    "r36",
                    "r245"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This item represents the amount that could be realized under a life insurance contract or contracts owned by the Entity as of the date of the statement of financial position.  Such Entity-owned life insurance policies are commonly known as corporate-owned life insurance (COLI) or bank-owned life insurance (BOLI).",
                            "label":  "Life Insurance, Corporate or Bank Owned, Amount",
                            "terseLabel":  "Life insurance"
                            }
                        }
                    },
                "localname":  "LifeInsuranceCorporateOrBankOwnedAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EmployeeBenefitPlansDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCredit":  {
                "auth_ref":  [
                    "r20",
                    "r650",
                    "r670"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Long-term Line of Credit",
                            "terseLabel":  "Amount borrowed under the credit facility",
                            "verboseLabel":  "Borrowings under senior credit facility"
                            }
                        }
                    },
                "localname":  "LineOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityAverageOutstandingAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Average amount borrowed under the credit facility during the period.",
                            "label":  "Line of Credit Facility, Average Outstanding Amount",
                            "terseLabel":  "Average daily amount outstanding under the senior credit facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityAverageOutstandingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsBorrowingsunderCreditFacilityandApplicableInterestRatesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Line of Credit Facility [Line Items]",
                            "terseLabel":  "Line of Credit Facility [Line Items]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum amount borrowed under the credit facility at any time during the period.",
                            "label":  "Line of Credit Facility, Maximum Amount Outstanding During Period",
                            "terseLabel":  "Maximum amount outstanding under the senior credit facility during the period"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsBorrowingsunderCreditFacilityandApplicableInterestRatesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r39"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Line of Credit Facility, Maximum Borrowing Capacity",
                            "terseLabel":  "Borrowing capacity"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity":  {
                "auth_ref":  [
                    "r39"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
                            "label":  "Line of Credit Facility, Remaining Borrowing Capacity",
                            "terseLabel":  "Credit facility available for revolving loans or issuing new letters of credit"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityRemainingBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityTable":  {
                "auth_ref":  [
                    "r39",
                    "r127"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to 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.",
                            "label":  "Line of Credit Facility [Table]",
                            "terseLabel":  "Line of Credit Facility [Table]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
                            "label":  "Line of Credit [Member]",
                            "terseLabel":  "Line of Credit"
                            }
                        }
                    },
                "localname":  "LineOfCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongTermDebt":  {
                "auth_ref":  [
                    "r20",
                    "r333",
                    "r348",
                    "r349",
                    "r350",
                    "r650",
                    "r673"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt",
                            "terseLabel":  "Long-term debt"
                            }
                        }
                    },
                "localname":  "LongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtAndCapitalLeaseObligations":  {
                "auth_ref":  [
                    "r20"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt and lease obligation, classified as noncurrent.",
                            "label":  "Long-term Debt and Lease Obligation",
                            "terseLabel":  "Long-term debt, net of current maturities"
                            }
                        }
                    },
                "localname":  "LongTermDebtAndCapitalLeaseObligations",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent":  {
                "auth_ref":  [
                    "r43"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt and lease obligation, classified as current.",
                            "label":  "Long-term Debt and Lease Obligation, Current",
                            "terseLabel":  "Less\u00a0\u2014 Current maturities of long-term debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtAndCapitalLeaseObligationsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt and lease obligation, including portion classified as current.",
                            "label":  "Long-term Debt and Lease Obligation, Including Current Maturities",
                            "totalLabel":  "Total long-term debt obligations"
                            }
                        }
                    },
                "localname":  "LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtCurrent":  {
                "auth_ref":  [
                    "r41"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt, Current Maturities",
                            "terseLabel":  "Current maturities of long-term debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtFairValue":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure.  Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.  The element may be used in both the balance sheet and disclosure in the same submission.",
                            "label":  "Long-term Debt, Fair Value",
                            "terseLabel":  "Long-term debt, fair value"
                            }
                        }
                    },
                "localname":  "LongTermDebtFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by category of items purchased under a long-term purchase commitment.",
                            "label":  "Category of Item Purchased [Axis]",
                            "terseLabel":  "Category of Item Purchased [Axis]"
                            }
                        }
                    },
                "localname":  "LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "General description of the goods or services to be purchased from the counterparty to the long-term purchase commitment.",
                            "label":  "Long-term Purchase Commitment, Category of Item Purchased [Domain]",
                            "terseLabel":  "Long-term Purchase Commitment, Category of Item Purchased [Domain]"
                            }
                        }
                    },
                "localname":  "LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongtermDebtTypeAxis":  {
                "auth_ref":  [
                    "r46"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of long-term debt.",
                            "label":  "Long-term Debt, Type [Axis]",
                            "terseLabel":  "Long-term Debt, Type [Axis]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongtermDebtTypeDomain":  {
                "auth_ref":  [
                    "r46",
                    "r303"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Long-term Debt, Type [Domain]",
                            "terseLabel":  "Long-term Debt, Type [Domain]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LossContingenciesByNatureOfContingencyAxis":  {
                "auth_ref":  [
                    "r285",
                    "r286",
                    "r287",
                    "r290",
                    "r291",
                    "r292",
                    "r295",
                    "r298",
                    "r299"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur.",
                            "label":  "Loss Contingency Nature [Axis]",
                            "terseLabel":  "Loss Contingency Nature [Axis]"
                            }
                        }
                    },
                "localname":  "LossContingenciesByNatureOfContingencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LossContingenciesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Loss Contingencies [Line Items]",
                            "terseLabel":  "Loss Contingencies [Line Items]"
                            }
                        }
                    },
                "localname":  "LossContingenciesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LossContingenciesTable":  {
                "auth_ref":  [
                    "r285",
                    "r286",
                    "r287",
                    "r290",
                    "r291",
                    "r292",
                    "r295",
                    "r298",
                    "r299"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made.  Excludes environmental contingencies, warranties and unconditional purchase obligations.",
                            "label":  "Loss Contingencies [Table]",
                            "terseLabel":  "Loss Contingencies [Table]"
                            }
                        }
                    },
                "localname":  "LossContingenciesTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLettersofCreditDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LossContingencyDamagesAwardedValue":  {
                "auth_ref":  [
                    "r285",
                    "r288",
                    "r293"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of damages awarded to the plaintiff in the legal matter.",
                            "label":  "Loss Contingency, Damages Awarded, Value",
                            "terseLabel":  "Damages awarded"
                            }
                        }
                    },
                "localname":  "LossContingencyDamagesAwardedValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LossContingencyDamagesSoughtValue":  {
                "auth_ref":  [
                    "r285",
                    "r288",
                    "r293"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The value (monetary amount) of the award the plaintiff seeks in the legal matter.",
                            "label":  "Loss Contingency, Damages Sought, Value",
                            "terseLabel":  "Damages sought"
                            }
                        }
                    },
                "localname":  "LossContingencyDamagesSoughtValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LossContingencyEstimateOfPossibleLoss":  {
                "auth_ref":  [
                    "r289",
                    "r294",
                    "r298"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the estimated amount of loss from the specified contingency as of the balance sheet date.",
                            "label":  "Loss Contingency, Estimate of Possible Loss",
                            "terseLabel":  "Reasonably possible estimate of loss"
                            }
                        }
                    },
                "localname":  "LossContingencyEstimateOfPossibleLoss",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LossContingencyLossInPeriod":  {
                "auth_ref":  [
                    "r285"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of loss pertaining to the specified contingency that was charged against earnings in the period, including the effects of revisions in previously reported estimates.",
                            "label":  "Loss Contingency, Loss in Period",
                            "terseLabel":  "Charge to earnings related to legal proceedings"
                            }
                        }
                    },
                "localname":  "LossContingencyLossInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LossContingencyNatureDomain":  {
                "auth_ref":  [
                    "r285",
                    "r286",
                    "r287",
                    "r290",
                    "r291",
                    "r292",
                    "r295",
                    "r298",
                    "r299"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur.  Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability.",
                            "label":  "Loss Contingency, Nature [Domain]",
                            "terseLabel":  "Loss Contingency, Nature [Domain]"
                            }
                        }
                    },
                "localname":  "LossContingencyNatureDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails",
                    "http://quantaservices.com/role/CommitmentsandContingenciesSilveradoWildfireMatterDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MarketApproachValuationTechniqueMember":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities.",
                            "label":  "Valuation, Market Approach [Member]",
                            "terseLabel":  "Valuation, Market Approach"
                            }
                        }
                    },
                "localname":  "MarketApproachValuationTechniqueMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputDiscountRateMember":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using interest rate to determine present value of future cash flows.",
                            "label":  "Measurement Input, Discount Rate [Member]",
                            "terseLabel":  "Discount Rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputDiscountRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputPriceVolatilityMember":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using rate at which price of security will increase (decrease) for given set of returns.",
                            "label":  "Measurement Input, Price Volatility [Member]",
                            "terseLabel":  "Volatility"
                            }
                        }
                    },
                "localname":  "MeasurementInputPriceVolatilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputTypeAxis":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of measurement input used to determine value of asset and liability.",
                            "label":  "Measurement Input Type [Axis]",
                            "terseLabel":  "Measurement Input Type [Axis]"
                            }
                        }
                    },
                "localname":  "MeasurementInputTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_MeasurementInputTypeDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input used to determine value of asset and liability.",
                            "label":  "Measurement Input Type [Domain]",
                            "terseLabel":  "Measurement Input Type [Domain]"
                            }
                        }
                    },
                "localname":  "MeasurementInputTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MinorityInterest":  {
                "auth_ref":  [
                    "r52",
                    "r128",
                    "r244",
                    "r304",
                    "r309",
                    "r310",
                    "r311",
                    "r317",
                    "r318",
                    "r560",
                    "r651",
                    "r677"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
                            "label":  "Stockholders' Equity Attributable to Noncontrolling Interest",
                            "terseLabel":  "Non-controlling interests"
                            }
                        }
                    },
                "localname":  "MinorityInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders":  {
                "auth_ref":  [
                    "r373"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.",
                            "label":  "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders",
                            "negatedTerseLabel":  "Distributions to non-controlling interests"
                            }
                        }
                    },
                "localname":  "MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r107"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities, including discontinued operations.  Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
                            "label":  "Net Cash Provided by (Used in) Financing Activities",
                            "totalLabel":  "Net cash provided by financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows from Financing Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r107"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from investing activities, including discontinued operations.  Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
                            "label":  "Net Cash Provided by (Used in) Investing Activities",
                            "totalLabel":  "Net cash used in investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows from Investing Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r107",
                    "r110",
                    "r113"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from operating activities, including discontinued operations.  Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
                            "label":  "Net Cash Provided by (Used in) Operating Activities",
                            "totalLabel":  "Net cash provided by operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows from Operating Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLoss":  {
                "auth_ref":  [
                    "r4",
                    "r63",
                    "r66",
                    "r72",
                    "r77",
                    "r113",
                    "r128",
                    "r140",
                    "r144",
                    "r145",
                    "r147",
                    "r148",
                    "r151",
                    "r152",
                    "r169",
                    "r201",
                    "r213",
                    "r217",
                    "r220",
                    "r223",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r545",
                    "r560",
                    "r658",
                    "r685"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
                            "label":  "Net Income (Loss) Attributable to Parent",
                            "totalLabel":  "Net income attributable to common stock"
                            }
                        }
                    },
                "localname":  "NetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest":  {
                "auth_ref":  [
                    "r63",
                    "r66",
                    "r72",
                    "r151",
                    "r152",
                    "r530",
                    "r536"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of Net Income (Loss) attributable to noncontrolling interest.",
                            "label":  "Net Income (Loss) Attributable to Noncontrolling Interest",
                            "terseLabel":  "Less:  Net income attributable to non-controlling interests"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAttributableToNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic":  {
                "auth_ref":  [
                    "r144",
                    "r145",
                    "r147",
                    "r148",
                    "r156",
                    "r157",
                    "r170",
                    "r174",
                    "r201",
                    "r213",
                    "r217",
                    "r220",
                    "r223"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic",
                            "terseLabel":  "Net income attributable to common stock, basic"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasic",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]",
                            "terseLabel":  "Amounts attributable to common stock:"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted":  {
                "auth_ref":  [
                    "r158",
                    "r164",
                    "r165",
                    "r166",
                    "r167",
                    "r170",
                    "r174"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
                            "label":  "Net Income (Loss) Available to Common Stockholders, Diluted",
                            "terseLabel":  "Net income attributable to common stock, diluted"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accounting Standards Update and Change in Accounting Principle [Abstract]",
                            "terseLabel":  "Accounting Standards Update and Change in Accounting Principle [Abstract]"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock":  {
                "auth_ref":  [
                    "r2",
                    "r138",
                    "r139",
                    "r142",
                    "r143",
                    "r153",
                    "r154",
                    "r155",
                    "r236",
                    "r237",
                    "r247",
                    "r248",
                    "r413",
                    "r414",
                    "r415",
                    "r416",
                    "r466",
                    "r491",
                    "r492",
                    "r493",
                    "r542",
                    "r561",
                    "r562",
                    "r563",
                    "r605",
                    "r630",
                    "r631",
                    "r632",
                    "r705",
                    "r706",
                    "r707",
                    "r708",
                    "r709",
                    "r734"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for change in accounting principle.  Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
                            "label":  "Accounting Standards Update and Change in Accounting Principle [Text Block]",
                            "terseLabel":  "New Accounting Pronouncements"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/NewAccountingPronouncements"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting.  Includes, but is not limited to, quantification of the expected or actual impact.",
                            "label":  "New Accounting Pronouncements, Policy [Policy Text Block]",
                            "terseLabel":  "New Accounting Pronouncement Not Yet Adopted"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NonUsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Countries excluding the United States of America (US).",
                            "label":  "Non-US [Member]",
                            "terseLabel":  "Foreign Countries"
                            }
                        }
                    },
                "localname":  "NonUsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NoncontrollingInterestMember":  {
                "auth_ref":  [
                    "r135",
                    "r136",
                    "r137",
                    "r373",
                    "r522"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent.  A noncontrolling interest is sometimes called a minority interest.",
                            "label":  "Noncontrolling Interest [Member]",
                            "terseLabel":  "Non-controlling Interests"
                            }
                        }
                    },
                "localname":  "NoncontrollingInterestMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NumberOfBusinessesAcquired":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of businesses acquired by the entity during the period.",
                            "label":  "Number of Businesses Acquired",
                            "terseLabel":  "Number of businesses acquired"
                            }
                        }
                    },
                "localname":  "NumberOfBusinessesAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_NumberOfReportableSegments":  {
                "auth_ref":  [
                    "r189"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of segments reported by the entity.  A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
                            "label":  "Number of Reportable Segments",
                            "terseLabel":  "Number of reportable segments"
                            }
                        }
                    },
                "localname":  "NumberOfReportableSegments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BusinessandOrganizationDetail",
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_OperatingIncomeLoss":  {
                "auth_ref":  [
                    "r201",
                    "r213",
                    "r217",
                    "r220",
                    "r223"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net result for the period of deducting operating expenses from operating revenues.",
                            "label":  "Operating Income (Loss)",
                            "terseLabel":  "Operating income (loss)",
                            "totalLabel":  "Operating income"
                            }
                        }
                    },
                "localname":  "OperatingIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseCost":  {
                "auth_ref":  [
                    "r594",
                    "r602"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LeaseCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term.  Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
                            "label":  "Operating Lease, Cost",
                            "terseLabel":  "Operating lease cost"
                            }
                        }
                    },
                "localname":  "OperatingLeaseCost",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesComponentsofLeaseCostsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseExpense":  {
                "auth_ref":  [
                    "r587"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of operating lease expense.  Excludes sublease income.",
                            "label":  "Operating Lease, Expense",
                            "terseLabel":  "Lease expense"
                            }
                        }
                    },
                "localname":  "OperatingLeaseExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Lessee, Operating Lease, Liability, Payment, Due [Abstract]",
                            "terseLabel":  "Operating Leases"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilitiesPaymentsDueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingLeaseLiability":  {
                "auth_ref":  [
                    "r585"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "pwr_OperatingAndFinanceLeaseLiability",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails_1":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease.",
                            "label":  "Operating Lease, Liability",
                            "terseLabel":  "Total lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesFutureMinimumLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityCurrent":  {
                "auth_ref":  [
                    "r585"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
                            "label":  "Operating Lease, Liability, Current",
                            "terseLabel":  "Current portion of operating lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r585"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
                            "label":  "Operating Lease, Liability, Noncurrent",
                            "terseLabel":  "Operating lease liabilities, net of current portion"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasePayments":  {
                "auth_ref":  [
                    "r590",
                    "r595"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
                            "label":  "Operating Lease, Payments",
                            "negatedLabel":  "Operating cash flows from operating leases"
                            }
                        }
                    },
                "localname":  "OperatingLeasePayments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseResidualValueOfLeasedAsset":  {
                "auth_ref":  [
                    "r604"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of residual asset covered by residual value guarantee under operating lease.  Excludes guarantee considered to be lease payments for lessor.",
                            "label":  "Operating Lease, Residual Value of Leased Asset",
                            "terseLabel":  "Maximum guaranteed residual value"
                            }
                        }
                    },
                "localname":  "OperatingLeaseResidualValueOfLeasedAsset",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesResidualValueGuaranteesDetails",
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseRightOfUseAsset":  {
                "auth_ref":  [
                    "r584"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's right to use underlying asset under operating lease.",
                            "label":  "Operating Lease, Right-of-Use Asset",
                            "terseLabel":  "Operating lease right-of-use assets"
                            }
                        }
                    },
                "localname":  "OperatingLeaseRightOfUseAsset",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent":  {
                "auth_ref":  [
                    "r598",
                    "r602"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average discount rate for operating lease calculated at point in time.",
                            "label":  "Operating Lease, Weighted Average Discount Rate, Percent",
                            "terseLabel":  "Operating leases"
                            }
                        }
                    },
                "localname":  "OperatingLeaseWeightedAverageDiscountRatePercent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1":  {
                "auth_ref":  [
                    "r597",
                    "r602"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Operating Lease, Weighted Average Remaining Lease Term",
                            "terseLabel":  "Operating leases"
                            }
                        }
                    },
                "localname":  "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesOtherInformationRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_OperatingSegmentsMember":  {
                "auth_ref":  [
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r217",
                    "r223"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
                            "label":  "Operating Segments [Member]",
                            "terseLabel":  "Operating Segments"
                            }
                        }
                    },
                "localname":  "OperatingSegmentsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Organization, Consolidation and Presentation of Financial Statements [Abstract]",
                            "terseLabel":  "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r5",
                    "r538"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
                            "label":  "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
                            "terseLabel":  "Business and Organization"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BusinessandOrganization"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_OtherAccruedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r11",
                    "r12",
                    "r13",
                    "r43"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
                            "label":  "Other Accrued Liabilities, Current",
                            "terseLabel":  "Other accrued expenses"
                            }
                        }
                    },
                "localname":  "OtherAccruedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssetsMember":  {
                "auth_ref":  [
                    "r539",
                    "r541"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing other assets.",
                            "label":  "Other Assets [Member]",
                            "terseLabel":  "Other Assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OtherAssetsNoncurrent":  {
                "auth_ref":  [
                    "r37"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of noncurrent assets classified as other.",
                            "label":  "Other Assets, Noncurrent",
                            "terseLabel":  "Other assets, net"
                            }
                        }
                    },
                "localname":  "OtherAssetsNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax":  {
                "auth_ref":  [
                    "r57"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
                            "label":  "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax",
                            "terseLabel":  "Foreign currency translation adjustment, net of tax of $0 and $0"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax":  {
                "auth_ref":  [
                    "r57",
                    "r60",
                    "r567",
                    "r576"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of tax expense (benefit), after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
                            "label":  "Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Tax",
                            "terseLabel":  "Foreign currency translation adjustment, tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLossParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r64",
                    "r67",
                    "r70",
                    "r71",
                    "r73",
                    "r78",
                    "r368",
                    "r570",
                    "r575",
                    "r577",
                    "r659",
                    "r686"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
                            "label":  "Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Other comprehensive income (loss)",
                            "totalLabel":  "Other comprehensive income, net of taxes"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
                            "terseLabel":  "Other comprehensive income, net of taxes:"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherLiabilitiesNoncurrent":  {
                "auth_ref":  [
                    "r47"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
                            "label":  "Other Liabilities, Noncurrent",
                            "terseLabel":  "Insurance and other non-current liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesInsuranceDetails",
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherLongTermDebt":  {
                "auth_ref":  [
                    "r20",
                    "r650",
                    "r673"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt classified as other.",
                            "label":  "Other Long-term Debt",
                            "terseLabel":  "Other long-term debt"
                            }
                        }
                    },
                "localname":  "OtherLongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNoncurrentLiabilitiesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing other noncurrent liabilities.",
                            "label":  "Other Noncurrent Liabilities [Member]",
                            "terseLabel":  "Insurance and other non-current liabilities"
                            }
                        }
                    },
                "localname":  "OtherNoncurrentLiabilitiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r91"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (expense) related to nonoperating activities, classified as other.",
                            "label":  "Other Nonoperating Income (Expense)",
                            "terseLabel":  "Other income (expense), net"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ParentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Portion of equity, or net assets, in the consolidated entity attributable, directly or indirectly, to the parent.  Excludes noncontrolling interests.",
                            "label":  "Parent [Member]",
                            "terseLabel":  "Total Stockholders' Equity"
                            }
                        }
                    },
                "localname":  "ParentMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities":  {
                "auth_ref":  [
                    "r101"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date.",
                            "label":  "Payment for Contingent Consideration Liability, Financing Activities",
                            "negatedTerseLabel":  "Payments for contingent consideration liabilities"
                            }
                        }
                    },
                "localname":  "PaymentForContingentConsiderationLiabilityFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentForContingentConsiderationLiabilityOperatingActivities":  {
                "auth_ref":  [
                    "r103"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability exceeding amount recognized at acquisition date.  Includes, but is not limited to, measurement period adjustment and less amount paid soon after acquisition date.",
                            "label":  "Payment for Contingent Consideration Liability, Operating Activities",
                            "negatedTerseLabel":  "Payments for contingent consideration liabilities"
                            }
                        }
                    },
                "localname":  "PaymentForContingentConsiderationLiabilityOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsForRepurchaseOfCommonStock":  {
                "auth_ref":  [
                    "r98"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to reacquire common stock during the period.",
                            "label":  "Payments for Repurchase of Common Stock",
                            "negatedTerseLabel":  "Repurchase of common stock",
                            "terseLabel":  "Repurchase of common stock"
                            }
                        }
                    },
                "localname":  "PaymentsForRepurchaseOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/EquityNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDebtIssuanceCosts":  {
                "auth_ref":  [
                    "r100"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
                            "label":  "Payments of Debt Issuance Costs",
                            "negatedTerseLabel":  "Deferred financing costs"
                            }
                        }
                    },
                "localname":  "PaymentsOfDebtIssuanceCosts",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDividendsCommonStock":  {
                "auth_ref":  [
                    "r98"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
                            "label":  "Payments of Ordinary Dividends, Common Stock",
                            "negatedLabel":  "Payments of dividends"
                            }
                        }
                    },
                "localname":  "PaymentsOfDividendsCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDividendsMinorityInterest":  {
                "auth_ref":  [
                    "r98"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow in the form of ordinary dividends provided by the non-wholly owned subsidiary to noncontrolling interests.",
                            "label":  "Payments of Ordinary Dividends, Noncontrolling Interest",
                            "negatedLabel":  "Distributions to non-controlling interests"
                            }
                        }
                    },
                "localname":  "PaymentsOfDividendsMinorityInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation":  {
                "auth_ref":  [
                    "r98"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement.",
                            "label":  "Payment, Tax Withholding, Share-based Payment Arrangement",
                            "negatedLabel":  "Payments related to tax withholding for share-based compensation"
                            }
                        }
                    },
                "localname":  "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesGross":  {
                "auth_ref":  [
                    "r94",
                    "r514"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of business during the period.  The cash portion only of the acquisition price.",
                            "label":  "Payments to Acquire Businesses, Gross",
                            "terseLabel":  "Cash consideration"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesGross",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired":  {
                "auth_ref":  [
                    "r94"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
                            "label":  "Payments to Acquire Businesses, Net of Cash Acquired",
                            "negatedLabel":  "Cash paid for acquisitions, net of cash, cash equivalents and restricted cash acquired"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesNetOfCashAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireEquitySecuritiesFvNi":  {
                "auth_ref":  [
                    "r104",
                    "r238"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow to acquire investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity.",
                            "label":  "Payments to Acquire Equity Securities, FV-NI",
                            "terseLabel":  "Payments to acquire equity securities"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireEquitySecuritiesFvNi",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireIntangibleAssets":  {
                "auth_ref":  [
                    "r95"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to acquire asset without physical form usually arising from contractual or other legal rights, excluding goodwill.",
                            "label":  "Payments to Acquire Intangible Assets",
                            "negatedLabel":  "Cash paid for intangible assets"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireIntangibleAssets",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireInvestments":  {
                "auth_ref":  [
                    "r96"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the purchase of all investments (debt, security, other) during the period.",
                            "label":  "Payments to Acquire Investments",
                            "negatedLabel":  "Investments in unconsolidated affiliates and other"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r95"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
                            "label":  "Payments to Acquire Property, Plant, and Equipment",
                            "negatedLabel":  "Capital expenditures"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquirePropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r418",
                    "r420",
                    "r426",
                    "r427",
                    "r429",
                    "r430",
                    "r431",
                    "r432",
                    "r433",
                    "r434",
                    "r435",
                    "r436",
                    "r437",
                    "r443"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for retirement benefits.",
                            "label":  "Retirement Benefits [Text Block]",
                            "terseLabel":  "Employee Benefit Plans"
                            }
                        }
                    },
                "localname":  "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EmployeeBenefitPlans"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PerformanceGuaranteeMember":  {
                "auth_ref":  [
                    "r297"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "An agreement (contract) that requires the guarantor to make payments to a guaranteed party based on another entity's failure to perform under an obligating agreement.  This may include the issuance of a performance standby letter of credit which requires the guarantor to make payments if a specified party fails to perform under a nonfinancial contractual obligation.",
                            "label":  "Performance Guarantee [Member]",
                            "terseLabel":  "Performance Bonds"
                            }
                        }
                    },
                "localname":  "PerformanceGuaranteeMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PostemploymentBenefitsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Postemployment Benefits [Abstract]"
                            }
                        }
                    },
                "localname":  "PostemploymentBenefitsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PrepaidExpenseAndOtherAssetsCurrent":  {
                "auth_ref":  [
                    "r9",
                    "r33",
                    "r34"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
                            "label":  "Prepaid Expense and Other Assets, Current",
                            "terseLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "PrepaidExpenseAndOtherAssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing prepaid expenses and other current assets.",
                            "label":  "Prepaid Expenses and Other Current Assets [Member]",
                            "terseLabel":  "Prepaid Expenses and Other Current Assets"
                            }
                        }
                    },
                "localname":  "PrepaidExpensesAndOtherCurrentAssetsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ProceedsFromAdvancesForConstruction":  {
                "auth_ref":  [
                    "r627"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from borrowing by the entity from developers, builders, government agencies and municipalities for construction that are repaid in cash, generally on a straight-line basis over periods ranging from five to forty years.",
                            "label":  "Proceeds from Advances for Construction",
                            "terseLabel":  "Advance payments received"
                            }
                        }
                    },
                "localname":  "ProceedsFromAdvancesForConstruction",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIncomeTaxRefunds":  {
                "auth_ref":  [
                    "r110",
                    "r116"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of cash received during the period as refunds for the overpayment of taxes.",
                            "label":  "Proceeds from Income Tax Refunds",
                            "terseLabel":  "Income tax refunds"
                            }
                        }
                    },
                "localname":  "ProceedsFromIncomeTaxRefunds",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationAdditionalSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromInsuranceSettlementInvestingActivities":  {
                "auth_ref":  [
                    "r93",
                    "r106"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow for proceeds from settlement of insurance claim, classified as investing activities.  Excludes insurance settlement classified as operating activities.",
                            "label":  "Proceeds from Insurance Settlement, Investing Activities",
                            "terseLabel":  "Proceeds from insurance settlements related to property and equipment"
                            }
                        }
                    },
                "localname":  "ProceedsFromInsuranceSettlementInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromLongTermLinesOfCredit":  {
                "auth_ref":  [
                    "r97"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
                            "label":  "Proceeds from Long-term Lines of Credit",
                            "terseLabel":  "Borrowings under credit facility"
                            }
                        }
                    },
                "localname":  "ProceedsFromLongTermLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromRepaymentsOfShortTermDebt":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net cash inflow or outflow for borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
                            "label":  "Proceeds from (Repayments of) Short-term Debt",
                            "terseLabel":  "Net borrowings of short-term debt"
                            }
                        }
                    },
                "localname":  "ProceedsFromRepaymentsOfShortTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments":  {
                "auth_ref":  [
                    "r93"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period.",
                            "label":  "Proceeds from Sale, Maturity and Collection of Investments",
                            "terseLabel":  "Cash received from investments"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleMaturityAndCollectionsOfInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r92"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
                            "label":  "Proceeds from Sale of Property, Plant, and Equipment",
                            "terseLabel":  "Proceeds from sale of property and equipment"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProfitLoss":  {
                "auth_ref":  [
                    "r4",
                    "r63",
                    "r66",
                    "r72",
                    "r105",
                    "r128",
                    "r140",
                    "r151",
                    "r152",
                    "r201",
                    "r213",
                    "r217",
                    "r220",
                    "r223",
                    "r244",
                    "r304",
                    "r305",
                    "r306",
                    "r309",
                    "r310",
                    "r311",
                    "r313",
                    "r315",
                    "r317",
                    "r318",
                    "r524",
                    "r529",
                    "r531",
                    "r536",
                    "r537",
                    "r545",
                    "r560",
                    "r665"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
                        "weight":  1.0
                        },
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
                            "label":  "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
                            "terseLabel":  "Net income",
                            "totalLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "ProfitLoss",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization":  {
                "auth_ref":  [
                    "r275",
                    "r586",
                    "r593"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated depreciation and amortization from plant, property, and equipment and right-of-use asset from finance lease.",
                            "label":  "Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, Accumulated Depreciation and Amortization",
                            "terseLabel":  "Accumulated depreciation on property and equipment"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization":  {
                "auth_ref":  [
                    "r56",
                    "r276",
                    "r593"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated depreciation and amortization, of property, plant, and equipment and finance lease right-of-use asset.",
                            "label":  "Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, after Accumulated Depreciation and Amortization",
                            "verboseLabel":  "Property and equipment, net of accumulated depreciation of $1,566,533 and $1,503,498"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNet":  {
                "auth_ref":  [
                    "r15",
                    "r16",
                    "r276",
                    "r611",
                    "r666",
                    "r679"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
                            "label":  "Property, Plant and Equipment, Net",
                            "terseLabel":  "Property and equipment"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNet",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProvisionForDoubtfulAccounts":  {
                "auth_ref":  [
                    "r83",
                    "r251"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
                            "label":  "Accounts Receivable, Credit Loss Expense (Reversal)",
                            "terseLabel":  "Provision for credit losses",
                            "verboseLabel":  "Provision for credit losses"
                            }
                        }
                    },
                "localname":  "ProvisionForDoubtfulAccounts",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsCompositionoftheAllowanceforCreditLossesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RealEstateInvestmentPropertyAtCost":  {
                "auth_ref":  [
                    "r681"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of real estate investment property which may include the following: (1) land available-for-sale; (2) land available-for-development; (3) investments in building and building improvements; (4) tenant allowances; (5) developments in-process; (6) rental properties; and (7) other real estate investments.",
                            "label":  "Real Estate Investment Property, at Cost",
                            "terseLabel":  "Investment in real estate"
                            }
                        }
                    },
                "localname":  "RealEstateInvestmentPropertyAtCost",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RelatedPartyCosts":  {
                "auth_ref":  [
                    "r88",
                    "r132",
                    "r307",
                    "r309",
                    "r310",
                    "r316",
                    "r317",
                    "r318"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Direct costs arising from transactions with related parties who are not affiliates or joint Ventures.  These costs are categorized as cost of goods sold.",
                            "label":  "Related Party Costs",
                            "terseLabel":  "Related party cost of sales"
                            }
                        }
                    },
                "localname":  "RelatedPartyCosts",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RelatedPartyDomain":  {
                "auth_ref":  [
                    "r428",
                    "r606",
                    "r607"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families.  It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
                            "label":  "Related Party [Domain]",
                            "terseLabel":  "Related Party [Domain]"
                            }
                        }
                    },
                "localname":  "RelatedPartyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis":  {
                "auth_ref":  [
                    "r428",
                    "r606",
                    "r608",
                    "r633",
                    "r634",
                    "r635",
                    "r636",
                    "r637",
                    "r638",
                    "r639",
                    "r640",
                    "r641",
                    "r642",
                    "r643",
                    "r644"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of related party.  Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families.  It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
                            "label":  "Related Party [Axis]",
                            "terseLabel":  "Related Party [Axis]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsByRelatedPartyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RepaymentsOfLongTermLinesOfCredit":  {
                "auth_ref":  [
                    "r99"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
                            "label":  "Repayments of Long-term Lines of Credit",
                            "negatedLabel":  "Payments under credit facility"
                            }
                        }
                    },
                "localname":  "RepaymentsOfLongTermLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RepaymentsOfOtherLongTermDebt":  {
                "auth_ref":  [
                    "r99"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow for the payment of debt classified as other, maturing after one year or the operating cycle, if longer.",
                            "label":  "Repayments of Other Long-term Debt",
                            "negatedLabel":  "Payments on other long-term debt"
                            }
                        }
                    },
                "localname":  "RepaymentsOfOtherLongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashAndCashEquivalents":  {
                "auth_ref":  [
                    "r14",
                    "r114",
                    "r120",
                    "r646",
                    "r674"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents restricted as to withdrawal or usage.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, 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.",
                            "label":  "Restricted Cash and Cash Equivalents",
                            "terseLabel":  "Restricted cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of cash and cash equivalent.  Cash is 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.",
                            "label":  "Cash and Cash Equivalents [Domain]",
                            "terseLabel":  "Cash and Cash Equivalents [Domain]"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r27",
                    "r373",
                    "r467",
                    "r611",
                    "r676",
                    "r705",
                    "r709"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings (Accumulated Deficit)",
                            "terseLabel":  "Retained earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsAccumulatedDeficit",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    "r0",
                    "r135",
                    "r136",
                    "r137",
                    "r141",
                    "r150",
                    "r152",
                    "r246",
                    "r463",
                    "r464",
                    "r465",
                    "r489",
                    "r490",
                    "r543",
                    "r702",
                    "r704"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings [Member]",
                            "terseLabel":  "Retained Earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Revenue from Contract with Customer [Abstract]"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax":  {
                "auth_ref":  [
                    "r192",
                    "r193",
                    "r212",
                    "r218",
                    "r219",
                    "r226",
                    "r227",
                    "r230",
                    "r401",
                    "r402",
                    "r628"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_GrossProfit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer.  Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
                            "label":  "Revenue from Contract with Customer, Excluding Assessed Tax",
                            "terseLabel":  "Revenues"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerExcludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations",
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsRevenueDisaggregatedbyGeographicLocationandContractTypeDetails",
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock":  {
                "auth_ref":  [
                    "r123",
                    "r393",
                    "r394",
                    "r395",
                    "r396",
                    "r397",
                    "r398",
                    "r399",
                    "r400",
                    "r417"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for revenue from contract with customer.",
                            "label":  "Revenue from Contract with Customer [Policy Text Block]",
                            "terseLabel":  "Revenue Recognition"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerTextBlock":  {
                "auth_ref":  [
                    "r383",
                    "r384",
                    "r385",
                    "r386",
                    "r387",
                    "r388",
                    "r391",
                    "r392",
                    "r405",
                    "r417"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset.  Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer.  Excludes insurance and lease contracts.",
                            "label":  "Revenue from Contract with Customer [Text Block]",
                            "terseLabel":  "Revenue Recognition and Related Balance Sheet Accounts"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccounts"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenueFromRelatedParties":  {
                "auth_ref":  [
                    "r85",
                    "r307",
                    "r309",
                    "r310",
                    "r316",
                    "r317",
                    "r318",
                    "r711"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates.",
                            "label":  "Revenue from Related Parties",
                            "terseLabel":  "Revenue from related parties"
                            }
                        }
                    },
                "localname":  "RevenueFromRelatedParties",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligation":  {
                "auth_ref":  [
                    "r389"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
                            "label":  "Revenue, Remaining Performance Obligation, Amount",
                            "terseLabel":  "Remaining performance obligation"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligation",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1":  {
                "auth_ref":  [
                    "r390"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Period",
                            "terseLabel":  "Recognition period for remaining performance obligation"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis":  {
                "auth_ref":  [
                    "r390"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Start date of time band for expected timing of satisfaction of remaining performance obligation, in YYYY-MM-DD format.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]",
                            "terseLabel":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationPercentage":  {
                "auth_ref":  [
                    "r390"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of remaining performance obligation to total remaining performance obligation not recognized as revenue.",
                            "label":  "Revenue, Remaining Performance Obligation, Percentage",
                            "terseLabel":  "Percent of remaining performance obligation expected to be recognized"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_RevolvingCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
                            "label":  "Revolving Credit Facility [Member]",
                            "terseLabel":  "Revolving Credit Facility"
                            }
                        }
                    },
                "localname":  "RevolvingCreditFacilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsSeniorCreditFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability":  {
                "auth_ref":  [
                    "r596",
                    "r602"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in right-of-use asset obtained in exchange for finance lease liability.",
                            "label":  "Right-of-Use Asset Obtained in Exchange for Finance Lease Liability",
                            "terseLabel":  "Finance leases"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability":  {
                "auth_ref":  [
                    "r596",
                    "r602"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
                            "label":  "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
                            "terseLabel":  "Operating leases"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationSupplementalCashFlowRelatedtoLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SalesRevenueNetMember":  {
                "auth_ref":  [
                    "r186",
                    "r230"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
                            "label":  "Revenue Benchmark [Member]",
                            "terseLabel":  "Revenue Benchmark"
                            }
                        }
                    },
                "localname":  "SalesRevenueNetMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScenarioAdjustmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Domain member used to indicate figures that are adjustments during a period or as of a point in time.  This domain member would never be expected to appear in a relationship group without the \"Scenario, Previously Reported\" Member with the same parent.",
                            "label":  "Scenario, Adjustment [Member]",
                            "terseLabel":  "Adjustment"
                            }
                        }
                    },
                "localname":  "ScenarioAdjustmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesLegalProceedingsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the (a) carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business (accounts payable); (b) other payables; and (c) accrued liabilities.  Examples include taxes, interest, rent and utilities.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).  An alternative caption includes accrued expenses.",
                            "label":  "Schedule of Accounts Payable and Accrued Liabilities [Table Text Block]",
                            "terseLabel":  "Accounts Payable and Accrued Expenses"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of contingent payment arrangements including the terms that will result in payment and the accounting treatment that will be followed if such contingencies occur, including the potential impact on earnings per share if contingencies are to be settled in common stock of the entity.  The description also may include the period over which amounts are expected to be paid, and changes in the amount since the previous reporting period.  This also includes contingent options and commitments.",
                            "label":  "Schedule of Business Acquisitions by Acquisition, Contingent Consideration [Table Text Block]",
                            "terseLabel":  "Aggregate Fair Values of Outstanding and Unearned Contingent Consideration Liabilities"
                            }
                        }
                    },
                "localname":  "ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable":  {
                "auth_ref":  [
                    "r507",
                    "r508"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
                            "label":  "Schedule of Business Acquisitions, by Acquisition [Table]",
                            "terseLabel":  "Schedule of Business Acquisitions, by Acquisition [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfCashAndCashEquivalentsTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of cash and cash equivalent balances.  This table excludes restricted cash balances.",
                            "label":  "Schedule of Cash and Cash Equivalents [Table]",
                            "terseLabel":  "Schedule of Cash and Cash Equivalents [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfCashAndCashEquivalentsTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsCashandCashEquivalentsDetails",
                    "http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of cash and cash equivalents.",
                            "label":  "Schedule of Cash and Cash Equivalents [Table Text Block]",
                            "terseLabel":  "Cash and Cash Equivalents"
                            }
                        }
                    },
                "localname":  "ScheduleOfCashAndCashEquivalentsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DetailofCertainAccountsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of supplemental cash flow information for the periods presented.",
                            "label":  "Schedule of Cash Flow, Supplemental Disclosures [Table Text Block]",
                            "terseLabel":  "Reconciliation of Cash, Cash Equivalents, and Restricted Cash and Additional Supplemental Cash Flow Information"
                            }
                        }
                    },
                "localname":  "ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SupplementalCashFlowInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDebtInstrumentsTextBlock":  {
                "auth_ref":  [
                    "r46",
                    "r133",
                    "r349",
                    "r351",
                    "r369",
                    "r370",
                    "r371",
                    "r372",
                    "r579",
                    "r580",
                    "r583",
                    "r669"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table Text Block]",
                            "terseLabel":  "Schedule of Interest on Senior Notes"
                            }
                        }
                    },
                "localname":  "ScheduleOfDebtInstrumentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDebtTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
                            "label":  "Schedule of Debt [Table Text Block]",
                            "terseLabel":  "Long-term Debt Obligations"
                            }
                        }
                    },
                "localname":  "ScheduleOfDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r174"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
                            "label":  "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
                            "terseLabel":  "Basic and Diluted Earnings Per Share Attributable to Common Stock"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable":  {
                "auth_ref":  [
                    "r265",
                    "r269",
                    "r629"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Schedule of Finite-Lived Intangible Assets [Table]",
                            "terseLabel":  "Schedule of Finite-Lived Intangible Assets [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFiniteLivedIntangibleAssetsTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfGoodwillTable":  {
                "auth_ref":  [
                    "r260",
                    "r262"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
                            "label":  "Schedule of Goodwill [Table]",
                            "terseLabel":  "Schedule of Goodwill [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfGoodwillTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfGuaranteeObligationsTable":  {
                "auth_ref":  [
                    "r302"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure about the type or nature of guarantees, for example performance, indemnification, payment and other guarantees, and related information such as term, origin and purpose, triggering event, maximum exposure, and carrying value.  Represents the guarantor's disclosures which include the information about each guarantee, or each group of similar guarantees, even if the likelihood of the guarantor's need to make any payments under the guarantee is remote.  This excludes disclosures for product warranties.",
                            "label":  "Schedule of Guarantor Obligations [Table]",
                            "terseLabel":  "Schedule of Guarantor Obligations [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfGuaranteeObligationsTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesBondsandParentGuaranteesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock":  {
                "auth_ref":  [
                    "r39"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to 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.",
                            "label":  "Schedule of Line of Credit Facilities [Table Text Block]",
                            "terseLabel":  "Borrowings under Credit Facility and Applicable Interest Rates"
                            }
                        }
                    },
                "localname":  "ScheduleOfLineOfCreditFacilitiesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock":  {
                "auth_ref":  [
                    "r450"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the changes in outstanding nonvested shares.",
                            "label":  "Schedule of Nonvested Share Activity [Table Text Block]",
                            "terseLabel":  "Schedule of RSUs and PSUs to be Settled in Common Stock Activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfNonvestedShareActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable":  {
                "auth_ref":  [
                    "r201",
                    "r204",
                    "r216",
                    "r260"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table disclosing the profit or loss and total assets for each reportable segment of the entity.  An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
                            "label":  "Schedule of Segment Reporting Information, by Segment [Table]",
                            "terseLabel":  "Schedule of Segment Reporting Information, by Segment [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfSegmentReportingInformationBySegmentTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock":  {
                "auth_ref":  [
                    "r201",
                    "r204",
                    "r216",
                    "r260"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the profit or loss and total assets for each reportable segment.  An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
                            "label":  "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
                            "terseLabel":  "Summarized Financial Information"
                            }
                        }
                    },
                "localname":  "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable":  {
                "auth_ref":  [
                    "r447",
                    "r462"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about share-based payment arrangement.",
                            "label":  "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
                            "terseLabel":  "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails",
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails",
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfShortTermDebtTextBlock":  {
                "auth_ref":  [
                    "r40"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of short-term debt arrangements (having initial terms of repayment within one year or the normal operating cycle, if longer) including: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
                            "label":  "Schedule of Short-term Debt [Table Text Block]",
                            "terseLabel":  "Current Maturities and Interest Rates of Long-Term Debt and Short-Term Debt"
                            }
                        }
                    },
                "localname":  "ScheduleOfShortTermDebtTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfTreasuryStockByClassTextBlock":  {
                "auth_ref":  [
                    "r374",
                    "r375",
                    "r376",
                    "r377"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock.",
                            "label":  "Class of Treasury Stock [Table Text Block]",
                            "terseLabel":  "Treasury Stock"
                            }
                        }
                    },
                "localname":  "ScheduleOfTreasuryStockByClassTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EquityTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SegmentDomain":  {
                "auth_ref":  [
                    "r188",
                    "r192",
                    "r193",
                    "r194",
                    "r195",
                    "r196",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r217",
                    "r218",
                    "r219",
                    "r220",
                    "r221",
                    "r223",
                    "r230",
                    "r278",
                    "r279",
                    "r696"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
                            "label":  "Segments [Domain]",
                            "terseLabel":  "Segments [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SegmentReportingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Segment Reporting [Abstract]",
                            "terseLabel":  "Segment Reporting [Abstract]"
                            }
                        }
                    },
                "localname":  "SegmentReportingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SegmentReportingDisclosureTextBlock":  {
                "auth_ref":  [
                    "r188",
                    "r190",
                    "r191",
                    "r201",
                    "r205",
                    "r217",
                    "r221",
                    "r222",
                    "r223",
                    "r224",
                    "r226",
                    "r229",
                    "r230",
                    "r231"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for reporting segments including data and tables.  Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
                            "label":  "Segment Reporting Disclosure [Text Block]",
                            "terseLabel":  "Segment Information"
                            }
                        }
                    },
                "localname":  "SegmentReportingDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SegmentReportingInformationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Segment Reporting Information [Line Items]",
                            "terseLabel":  "Segment Reporting Information [Line Items]"
                            }
                        }
                    },
                "localname":  "SegmentReportingInformationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/SegmentInformationNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SegmentReportingPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    "r206",
                    "r207",
                    "r208",
                    "r209",
                    "r210",
                    "r211",
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for segment reporting.",
                            "label":  "Segment Reporting, Policy [Policy Text Block]",
                            "terseLabel":  "Segment Information"
                            }
                        }
                    },
                "localname":  "SegmentReportingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SellingGeneralAndAdministrativeExpense":  {
                "auth_ref":  [
                    "r89"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses.  Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products.  Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges.  General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
                            "label":  "Selling, General and Administrative Expense",
                            "negatedTerseLabel":  "Selling, general and administrative expenses"
                            }
                        }
                    },
                "localname":  "SellingGeneralAndAdministrativeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SeniorNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Bond that takes priority over other debt securities sold by the issuer.  In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
                            "label":  "Senior Notes [Member]",
                            "terseLabel":  "Senior Notes"
                            }
                        }
                    },
                "localname":  "SeniorNotesMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails",
                    "http://quantaservices.com/role/DebtObligationsSeniorNotesDetails",
                    "http://quantaservices.com/role/FairValueMeasurementsLongtermDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r111"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of noncash expense for share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement, Noncash Expense",
                            "terseLabel":  "Non-cash stock compensation expense",
                            "verboseLabel":  "Non-cash stock-based compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod":  {
                "auth_ref":  [
                    "r449"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
                            "negatedLabel":  "Forfeited, shares (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod":  {
                "auth_ref":  [
                    "r452"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The 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).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
                            "terseLabel":  "Shares granted (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r452"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted average fair value at grant date for nonvested equity-based awards issued 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).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Weighted average grant date fair value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber":  {
                "auth_ref":  [
                    "r451"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
                            "periodEndLabel":  "Unvested, shares, end of period (in shares)",
                            "periodStartLabel":  "Unvested, shares, beginning of period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
                            "terseLabel":  "Shares"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r451"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement.  Excludes share and unit options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
                            "periodEndLabel":  "Unvested, weighted average grant date fair value, end of period (in usd per share)",
                            "periodStartLabel":  "Unvested, weighted average grant date fair value, beginning of period (in usd per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
                            "terseLabel":  "Weighted Average Grant Date Fair Value"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod":  {
                "auth_ref":  [
                    "r453"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
                            "negatedLabel":  "Vested, shares (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue":  {
                "auth_ref":  [
                    "r455"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value",
                            "terseLabel":  "Fair value of restricted stock, vested"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r453"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan 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.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Vested, weighted average grant date fair value (in usd per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate":  {
                "auth_ref":  [
                    "r457"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The estimated measure of the percentage by which a share price is expected to fluctuate during a period.  Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean.  The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period.  That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
                            "terseLabel":  "Expected volatility"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate":  {
                "auth_ref":  [
                    "r458"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
                            "terseLabel":  "Risk-free interest rate"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
                            "terseLabel":  "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails",
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails",
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod":  {
                "auth_ref":  [
                    "r462"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued under share-based payment arrangement.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Shares Issued in Period",
                            "terseLabel":  "Number of common shares issued in connection with performance units (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain":  {
                "auth_ref":  [
                    "r444",
                    "r448"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Award under share-based payment arrangement.",
                            "label":  "Award Type [Domain]",
                            "terseLabel":  "Award Type [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails",
                    "http://quantaservices.com/role/StockBasedCompensationRSUstobeSettledinCashDetails",
                    "http://quantaservices.com/role/StockBasedCompensationSummaryofPSUsandRSUstobeSettledinCommonStockActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SharePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Price of a single share of a number of saleable stocks of a company.",
                            "label":  "Share Price",
                            "terseLabel":  "Valuation date price based on closing stock prices (in dollars per share)"
                            }
                        }
                    },
                "localname":  "SharePrice",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1":  {
                "auth_ref":  [
                    "r456",
                    "r468"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term",
                            "terseLabel":  "Term in years"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/StockBasedCompensationGrantDateFairValueforAwardsofPerformanceUnitsInputsDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued which are neither cancelled nor held in the treasury.",
                            "label":  "Shares, Outstanding",
                            "periodEndLabel":  "Balance (in shares)",
                            "periodStartLabel":  "Balance (in shares)"
                            }
                        }
                    },
                "localname":  "SharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShortTermBorrowings":  {
                "auth_ref":  [
                    "r17",
                    "r611",
                    "r649",
                    "r672"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
                            "label":  "Short-term Debt",
                            "terseLabel":  "Short-term debt"
                            }
                        }
                    },
                "localname":  "ShortTermBorrowings",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/DebtObligationsCurrentMaturitiesofLongTermDebtandShortTermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShortTermLeaseCommitmentAmount":  {
                "auth_ref":  [
                    "r601"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of short-term lease commitment.",
                            "label":  "Short-term Lease Commitment, Amount",
                            "terseLabel":  "Future minimum lease payments for short-term leases"
                            }
                        }
                    },
                "localname":  "ShortTermLeaseCommitmentAmount",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/LeasesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SignificantAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r122",
                    "r134"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for all significant accounting policies of the reporting entity.",
                            "label":  "Significant Accounting Policies [Text Block]",
                            "terseLabel":  "Basis of Presentation and Accounting Policies"
                            }
                        }
                    },
                "localname":  "SignificantAccountingPoliciesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/BasisofPresentationandAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_StatementBusinessSegmentsAxis":  {
                "auth_ref":  [
                    "r3",
                    "r188",
                    "r192",
                    "r193",
                    "r194",
                    "r195",
                    "r196",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r217",
                    "r218",
                    "r219",
                    "r220",
                    "r221",
                    "r223",
                    "r230",
                    "r260",
                    "r277",
                    "r278",
                    "r279",
                    "r696"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business segments.",
                            "label":  "Segments [Axis]",
                            "terseLabel":  "Segments [Axis]"
                            }
                        }
                    },
                "localname":  "StatementBusinessSegmentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails",
                    "http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementClassOfStockAxis":  {
                "auth_ref":  [
                    "r21",
                    "r22",
                    "r23",
                    "r125",
                    "r128",
                    "r159",
                    "r163",
                    "r168",
                    "r171",
                    "r174",
                    "r182",
                    "r183",
                    "r184",
                    "r244",
                    "r304",
                    "r309",
                    "r310",
                    "r311",
                    "r317",
                    "r318",
                    "r354",
                    "r355",
                    "r358",
                    "r362",
                    "r368",
                    "r560",
                    "r731"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by the different classes of stock of the entity.",
                            "label":  "Class of Stock [Axis]",
                            "terseLabel":  "Class of Stock [Axis]"
                            }
                        }
                    },
                "localname":  "StatementClassOfStockAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r0",
                    "r50",
                    "r70",
                    "r71",
                    "r72",
                    "r135",
                    "r136",
                    "r137",
                    "r141",
                    "r150",
                    "r152",
                    "r181",
                    "r246",
                    "r368",
                    "r373",
                    "r463",
                    "r464",
                    "r465",
                    "r489",
                    "r490",
                    "r543",
                    "r570",
                    "r571",
                    "r572",
                    "r573",
                    "r574",
                    "r577",
                    "r702",
                    "r703",
                    "r704",
                    "r733"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]",
                            "terseLabel":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Statement [Line Items]",
                            "terseLabel":  "Statement [Line Items]"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Cash Flows [Abstract]",
                            "terseLabel":  "Statement of Cash Flows [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Financial Position [Abstract]",
                            "terseLabel":  "Statement of Financial Position [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Comprehensive Income [Abstract]",
                            "terseLabel":  "Statement of Comprehensive Income [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfIncomeAndComprehensiveIncomeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Stockholders' Equity [Abstract]",
                            "terseLabel":  "Statement of Stockholders' Equity [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    "r135",
                    "r136",
                    "r137",
                    "r181",
                    "r628"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
                            "label":  "Statement [Table]",
                            "terseLabel":  "Statement [Table]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation":  {
                "auth_ref":  [
                    "r22",
                    "r23",
                    "r368",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number, after forfeiture, of shares or units issued under share-based payment arrangement.  Excludes shares or units issued under employee stock ownership plan (ESOP).",
                            "label":  "Shares Issued, Shares, Share-based Payment Arrangement, after Forfeiture",
                            "terseLabel":  "Stock-based compensation activity (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation":  {
                "auth_ref":  [
                    "r22",
                    "r23",
                    "r373",
                    "r446",
                    "r454"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value, after forfeiture, of shares issued under share-based payment arrangement.  Excludes employee stock ownership plan (ESOP).",
                            "label":  "Shares Issued, Value, Share-based Payment Arrangement, after Forfeiture",
                            "terseLabel":  "Stock-based compensation activity"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchasedDuringPeriodShares":  {
                "auth_ref":  [
                    "r22",
                    "r23",
                    "r368",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury.  Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore.  This element is used when state law does not recognize treasury stock.",
                            "label":  "Stock Repurchased During Period, Shares",
                            "terseLabel":  "Shares (in shares)"
                            }
                        }
                    },
                "localname":  "StockRepurchasedDuringPeriodShares",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EquityRepurchasesofCommonStockUnderStockRepurchaseProgramsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockRepurchasedDuringPeriodValue":  {
                "auth_ref":  [
                    "r22",
                    "r23",
                    "r368",
                    "r373"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury.  Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore.  This element is used when state law does not recognize treasury stock.",
                            "label":  "Stock Repurchased During Period, Value",
                            "terseLabel":  "Amount"
                            }
                        }
                    },
                "localname":  "StockRepurchasedDuringPeriodValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/EquityRepurchasesofCommonStockUnderStockRepurchaseProgramsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r23",
                    "r29",
                    "r30",
                    "r128",
                    "r235",
                    "r244",
                    "r560",
                    "r611"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent.  The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest).  This excludes temporary equity and is sometimes called permanent equity.",
                            "label":  "Stockholders' Equity Attributable to Parent",
                            "totalLabel":  "Total stockholders\u2019 equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "terseLabel":  "Equity:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest":  {
                "auth_ref":  [
                    "r0",
                    "r1",
                    "r71",
                    "r128",
                    "r135",
                    "r136",
                    "r137",
                    "r141",
                    "r150",
                    "r244",
                    "r246",
                    "r373",
                    "r463",
                    "r464",
                    "r465",
                    "r489",
                    "r490",
                    "r522",
                    "r523",
                    "r535",
                    "r543",
                    "r560",
                    "r570",
                    "r571",
                    "r577",
                    "r703",
                    "r704",
                    "r733"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests.  Amount excludes temporary equity.  Alternate caption for the concept is permanent equity.",
                            "label":  "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
                            "periodEndLabel":  "Balance",
                            "periodStartLabel":  "Balance",
                            "totalLabel":  "Total equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets",
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityNoteDisclosureTextBlock":  {
                "auth_ref":  [
                    "r126",
                    "r355",
                    "r357",
                    "r358",
                    "r359",
                    "r360",
                    "r361",
                    "r362",
                    "r363",
                    "r364",
                    "r365",
                    "r366",
                    "r367",
                    "r373",
                    "r378"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income.  Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
                            "label":  "Stockholders' Equity Note Disclosure [Text Block]",
                            "terseLabel":  "Equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/Equity"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SubsegmentsAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business subsegments.",
                            "label":  "Subsegments [Axis]",
                            "terseLabel":  "Subsegments [Axis]"
                            }
                        }
                    },
                "localname":  "SubsegmentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsegmentsDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Divisions of a component of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
                            "label":  "Subsegments [Domain]",
                            "terseLabel":  "Subsegments [Domain]"
                            }
                        }
                    },
                "localname":  "SubsegmentsDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SupplementalCashFlowElementsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Supplemental Cash Flow Elements [Abstract]",
                            "terseLabel":  "Supplemental Cash Flow Elements [Abstract]"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowElementsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TreasuryStockMember":  {
                "auth_ref":  [
                    "r49",
                    "r374"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Shares of an entity that have been repurchased by the entity.  This stock has no voting rights and receives no dividends.  Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Treasury Stock [Member]",
                            "terseLabel":  "Treasury Stock"
                            }
                        }
                    },
                "localname":  "TreasuryStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_TreasuryStockShares":  {
                "auth_ref":  [
                    "r49",
                    "r374"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date.  This stock has no voting rights and receives no dividends.",
                            "label":  "Treasury Stock, Shares",
                            "terseLabel":  "Treasury stock, common shares (in shares)"
                            }
                        }
                    },
                "localname":  "TreasuryStockShares",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TreasuryStockSharesAcquired":  {
                "auth_ref":  [
                    "r23",
                    "r368",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period and are being held in treasury.",
                            "label":  "Treasury Stock, Shares, Acquired",
                            "negatedTerseLabel":  "Common stock repurchases (in shares)"
                            }
                        }
                    },
                "localname":  "TreasuryStockSharesAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TreasuryStockValue":  {
                "auth_ref":  [
                    "r49",
                    "r374",
                    "r377"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount allocated to treasury stock.  Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
                            "label":  "Treasury Stock, Value",
                            "negatedLabel":  "Treasury stock, 26,672,388 and 25,912,579 common shares"
                            }
                        }
                    },
                "localname":  "TreasuryStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TreasuryStockValueAcquiredCostMethod":  {
                "auth_ref":  [
                    "r368",
                    "r373",
                    "r374"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the cost of common and preferred stock that were repurchased during the period.  Recorded using the cost method.",
                            "label":  "Treasury Stock, Value, Acquired, Cost Method",
                            "negatedTerseLabel":  "Common stock repurchases"
                            }
                        }
                    },
                "localname":  "TreasuryStockValueAcquiredCostMethod",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TypeOfArrangementAxis":  {
                "auth_ref":  [
                    "r521"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
                            "label":  "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
                            "terseLabel":  "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]"
                            }
                        }
                    },
                "localname":  "TypeOfArrangementAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_UnbilledContractsReceivable":  {
                "auth_ref":  [
                    "r51",
                    "r626"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Unbilled amounts due for services rendered or to be rendered, actions taken or to be taken, or a promise to refrain from taking certain actions in accordance with the terms of a legally binding agreement between the entity and, at a minimum, one other party.  An example would be amounts associated with contracts or programs where the recognized revenue for performance thereunder exceeds the amounts billed under the terms thereof as of the date of the balance sheet.",
                            "label":  "Unbilled Contracts Receivable",
                            "terseLabel":  "Unbilled receivables"
                            }
                        }
                    },
                "localname":  "UnbilledContractsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/RevenueRecognitionandRelatedBalanceSheetAccountsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrealizedGainLossOnInvestments":  {
                "auth_ref":  [
                    "r112"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows":  {
                        "order":  14.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of unrealized gain (loss) on investment.",
                            "label":  "Unrealized Gain (Loss) on Investments",
                            "negatedTerseLabel":  "Unrealized loss from mark-to-market adjustment on investment"
                            }
                        }
                    },
                "localname":  "UnrealizedGainLossOnInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrecognizedTaxBenefits":  {
                "auth_ref":  [
                    "r472",
                    "r481"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of unrecognized tax benefits.",
                            "label":  "Unrecognized Tax Benefits",
                            "terseLabel":  "Total amount of unrecognized tax benefits relating to uncertain tax positions"
                            }
                        }
                    },
                "localname":  "UnrecognizedTaxBenefits",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions":  {
                "auth_ref":  [
                    "r482"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return.",
                            "label":  "Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions",
                            "terseLabel":  "Increase in reserves for uncertain tax positions expected to be taken in current year"
                            }
                        }
                    },
                "localname":  "UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease":  {
                "auth_ref":  [
                    "r481"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns.",
                            "label":  "Unrecognized Tax Benefits, Period Increase (Decrease)",
                            "terseLabel":  "Decrease in the total amount of unrecognized tax benefits relating to uncertain tax positions"
                            }
                        }
                    },
                "localname":  "UnrecognizedTaxBenefitsPeriodIncreaseDecrease",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary":  {
                "auth_ref":  [
                    "r281"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Unrecorded Unconditional Purchase Obligation, to be Paid, Year One",
                            "terseLabel":  "Estimated committed in 2022"
                            }
                        }
                    },
                "localname":  "UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in remainder of current fiscal year.",
                            "label":  "Unrecorded Unconditional Purchase Obligation, to be Paid, Remainder of Fiscal Year",
                            "terseLabel":  "Estimated committed, remainder of fiscal year"
                            }
                        }
                    },
                "localname":  "UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UnrecordedUnconditionalPurchaseObligationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Unrecorded Unconditional Purchase Obligation [Line Items]",
                            "terseLabel":  "Unrecorded Unconditional Purchase Obligation [Line Items]"
                            }
                        }
                    },
                "localname":  "UnrecordedUnconditionalPurchaseObligationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_UnrecordedUnconditionalPurchaseObligationTable":  {
                "auth_ref":  [
                    "r280",
                    "r281",
                    "r283"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Describes each unrecorded unconditional purchase obligation arrangement to purchase goods and services that extend over multiple periods, any assets pledged to secure payment, and the fixed or determinable amount of payments due in each of the next five years and thereafter.",
                            "label":  "Unrecorded Unconditional Purchase Obligation [Table]",
                            "terseLabel":  "Unrecorded Unconditional Purchase Obligation [Table]"
                            }
                        }
                    },
                "localname":  "UnrecordedUnconditionalPurchaseObligationTable",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CommitmentsandContingenciesCommittedExpendituresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ValuationTechniqueAxis":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by valuation approach and technique.",
                            "label":  "Valuation Approach and Technique [Axis]",
                            "terseLabel":  "Valuation Approach and Technique [Axis]"
                            }
                        }
                    },
                "localname":  "ValuationTechniqueAxis",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ValuationTechniqueDomain":  {
                "auth_ref":  [
                    "r549"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Valuation approach and technique.",
                            "label":  "Valuation Approach and Technique [Domain]",
                            "terseLabel":  "Valuation Approach and Technique [Domain]"
                            }
                        }
                    },
                "localname":  "ValuationTechniqueDomain",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/FairValueMeasurementsContingentConsiderationLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r158",
                    "r174"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted",
                            "terseLabel":  "Weighted average diluted shares outstanding (in shares)",
                            "totalLabel":  "Weighted average shares outstanding for diluted earnings per share attributable to common stock (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations",
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
                            "terseLabel":  "Shares used in computing earnings per share:"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r156",
                    "r174"
                    ],
                "calculation":  {
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Basic",
                            "terseLabel":  "Weighted average basic shares outstanding (in shares)",
                            "verboseLabel":  "Weighted average shares outstanding for basic earnings per share attributable to common stock (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations",
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average Number of Shares Outstanding, Basic [Abstract]",
                            "verboseLabel":  "Weighted average shares:"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2021-01-31",
                "presentation":  [
                    "http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"
                    ],
                "xbrltype":  "stringItemType"
                }
            },
        "unitCount":  13
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "105",
        "URI":  "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
        },
    "r1":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "105",
        "URI":  "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
        },
    "r10":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
        },
    "r100":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
        },
    "r103":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(ee)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
        },
    "r104":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3444-108585"
        },
    "r105":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
        },
    "r106":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=SL94080549-108585"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
        },
    "r11":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6911-107765"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4304-108586"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4313-108586"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4332-108586"
        },
    "r12":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/topic&trid=2134446"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(c))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(d))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(e)(1))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(f))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r128":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(g)(1)(ii))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r129":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h)(1)(Note 1))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r13":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e7018-107765"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h)(2))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(k)(1))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.12-04(a))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/topic&trid=2122369"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(1)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r14":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(4)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
        },
    "r15":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(13))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.M.Q2)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/topic&trid=2122394"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
        },
    "r16":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(14))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1707-109256"
        },
    "r161":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1757-109256"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1500-109256"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(1)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "55",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
        },
    "r17":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19)(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r170":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "68B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=SL5498026-109256"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
        },
    "r177":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
        },
    "r178":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
        },
    "r179":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
        },
    "r18":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/topic&trid=2144383"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
        },
    "r182":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
        },
    "r183":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
        },
    "r184":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
        },
    "r185":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
        },
    "r19":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(20))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r190":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
        },
    "r192":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r193":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r196":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r197":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r198":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "105",
        "URI":  "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
        },
    "r20":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(22))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(j)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "26",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
        },
    "r21":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(27))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
        },
    "r219":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
        },
    "r22":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(28))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r220":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
        },
    "r221":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
        },
    "r222":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
        },
    "r223":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "34",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8475-108599"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
        },
    "r23":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(29))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "42",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/topic&trid=2134510"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
        },
    "r233":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 4.E)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(1)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(2)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "321",
        "URI":  "http://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "321",
        "URI":  "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
        },
    "r24":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(3)(c)(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "321",
        "URI":  "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117546-209714"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r245":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "30",
        "Topic":  "325",
        "URI":  "http://asc.fasb.org/extlink&oid=6384206&loc=d3e41899-111602"
        },
    "r246":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
        },
    "r247":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(2)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
        },
    "r25":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
        },
    "r255":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
        },
    "r256":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r258":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r26":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r260":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
        },
    "r264":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
        },
    "r265":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "((a)(1),(b))",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r27":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(2)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/topic&trid=2144416"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "420",
        "URI":  "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 5.P.4(d))",
        "Topic":  "420",
        "URI":  "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
        },
    "r28":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(4))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r281":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/topic&trid=2144648"
        },
    "r285":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
        },
    "r286":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14394-108349"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
        },
    "r29":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14453-108349"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14472-108349"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/topic&trid=2127136"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "15",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=123389529&loc=d3e10037-110241"
        },
    "r298":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248"
        },
    "r299":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12053-110248"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
        },
    "r30":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(31))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r300":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
        },
    "r301":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(1)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(i))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(ii))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii)(A))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii)(B))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iv))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r31":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(32))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(5))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(i))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(A)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(A))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(B)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(B))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(C))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iv))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(5))",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r32":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(i)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
        },
    "r33":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(7))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
        },
    "r331":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
        },
    "r332":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r336":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r34":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(8))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69B",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
        },
    "r35":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.1)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69C",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69E",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/topic&trid=2208564"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r355":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r357":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r359":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r36":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.12)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r360":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
        },
    "r361":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
        },
    "r362":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
        },
    "r363":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
        },
    "r364":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
        },
    "r365":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
        },
    "r366":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
        },
    "r367":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
        },
    "r368":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
        },
    "r369":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
        },
    "r37":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.17)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r370":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
        },
    "r371":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21521-112644"
        },
    "r372":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21538-112644"
        },
    "r373":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-04)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
        },
    "r374":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
        },
    "r375":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23285-112656"
        },
    "r376":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23309-112656"
        },
    "r377":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
        },
    "r378":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/topic&trid=2208762"
        },
    "r379":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044"
        },
    "r38":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r380":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130532-203044"
        },
    "r381":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130533-203044"
        },
    "r382":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130534-203044"
        },
    "r383":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045"
        },
    "r384":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
        },
    "r385":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
        },
    "r386":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
        },
    "r387":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
        },
    "r388":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
        },
    "r389":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(b),22(b))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r390":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(1)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
        },
    "r391":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
        },
    "r392":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130558-203045"
        },
    "r393":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130561-203045"
        },
    "r394":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
        },
    "r395":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
        },
    "r396":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130564-203045"
        },
    "r397":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
        },
    "r398":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
        },
    "r399":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
        },
    "r40":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r400":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
        },
    "r401":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
        },
    "r402":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
        },
    "r403":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
        },
    "r404":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
        },
    "r405":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130550-203045"
        },
    "r406":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r407":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r408":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r409":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r41":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19,20)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r410":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r411":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r412":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
        },
    "r413":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(g)(2)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
        },
    "r414":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
        },
    "r415":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(i)(2)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
        },
    "r416":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(j)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
        },
    "r417":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/topic&trid=49130388"
        },
    "r418":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(i)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r419":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19-26)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r420":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r421":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(01)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r422":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r423":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(A)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r424":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(B)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r425":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(C)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r426":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(03)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r427":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(l)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r428":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(n)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r429":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(o)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.20)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r430":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(p)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r431":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(q)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r432":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(r)(1)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r433":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(r)(2)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r434":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
        },
    "r435":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802"
        },
    "r436":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "60",
        "Subparagraph":  "(c)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964"
        },
    "r437":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "70",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
        },
    "r438":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r439":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(d)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.21)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r440":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(f)(3)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r441":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
        },
    "r442":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
        },
    "r443":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/topic&trid=2235017"
        },
    "r444":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r445":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r446":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r447":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r448":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a),(g)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r449":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r450":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r451":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(i)-(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r452":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r453":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r454":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r455":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r456":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r457":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r458":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(iv)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r459":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r460":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r461":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(k)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r462":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r463":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r464":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r465":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r466":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(g)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r467":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(g)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r468":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.D.2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
        },
    "r469":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.F)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.24)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r470":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "740",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120384911&loc=d3e23163-113944"
        },
    "r471":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/topic&trid=2228938"
        },
    "r472":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318"
        },
    "r473":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
        },
    "r474":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
        },
    "r475":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
        },
    "r476":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
        },
    "r477":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
        },
    "r478":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
        },
    "r479":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.25)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r480":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(3)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
        },
    "r481":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
        },
    "r482":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
        },
    "r483":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
        },
    "r484":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
        },
    "r485":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
        },
    "r486":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
        },
    "r487":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
        },
    "r488":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
        },
    "r489":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29,30)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r490":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(3)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
        },
    "r491":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
        },
    "r492":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(2)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
        },
    "r493":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(3)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
        },
    "r494":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.5.Q1)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r495":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.7)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r496":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.7)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r497":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.Fact.1)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r498":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.Fact.2)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r499":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.C)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/topic&trid=2122149"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-31)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r500":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
        },
    "r501":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "270",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
        },
    "r502":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
        },
    "r503":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/topic&trid=2144680"
        },
    "r504":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=123586518&loc=d3e961-128460"
        },
    "r505":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(2)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r506":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(3)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r507":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r508":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
        },
    "r509":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.3(c)(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r510":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477"
        },
    "r511":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477"
        },
    "r512":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116859824&loc=d3e6819-128478"
        },
    "r513":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "30",
        "Subparagraph":  "b",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116859824&loc=d3e6819-128478"
        },
    "r514":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(1)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r515":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(4)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r516":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(c)(1)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r517":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(c)(3)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r518":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r519":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e7008-128479"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.31)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r520":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/topic&trid=2303972"
        },
    "r521":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "808",
        "URI":  "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
        },
    "r522":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683"
        },
    "r523":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683"
        },
    "r524":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
        },
    "r525":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569643-111683"
        },
    "r526":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123454820&loc=SL4613674-111683"
        },
    "r527":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r528":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r529":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.6(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r530":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r531":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r532":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c),(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r533":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
        },
    "r534":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
        },
    "r535":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4I",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
        },
    "r536":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4J",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
        },
    "r537":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4K",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
        },
    "r538":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/topic&trid=2197479"
        },
    "r539":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.8)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r540":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
        },
    "r541":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "182",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=123421605&loc=SL5629052-113961"
        },
    "r542":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(1)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
        },
    "r543":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(3)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
        },
    "r544":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(4)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
        },
    "r545":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
        },
    "r546":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r547":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r548":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r549":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.9)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r550":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r551":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r552":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
        },
    "r553":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
        },
    "r554":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
        },
    "r555":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "60",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
        },
    "r556":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740"
        },
    "r557":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
        },
    "r558":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611"
        },
    "r559":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX210.5-02(13))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r560":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
        },
    "r561":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
        },
    "r562":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(2)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
        },
    "r563":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(3)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
        },
    "r564":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=120253306&loc=d3e28228-110885"
        },
    "r565":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "20",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892"
        },
    "r566":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
        },
    "r567":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=125521441&loc=d3e30755-110894"
        },
    "r568":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
        },
    "r569":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
        },
    "r570":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
        },
    "r571":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r572":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r573":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r574":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r575":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r576":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32262-110900"
        },
    "r577":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
        },
    "r578":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
        },
    "r579":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
        },
    "r580":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
        },
    "r581":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
        },
    "r582":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
        },
    "r583":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
        },
    "r584":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
        },
    "r585":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
        },
    "r586":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977"
        },
    "r587":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977"
        },
    "r588":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
        },
    "r589":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
        },
    "r590":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
        },
    "r591":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
        },
    "r592":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
        },
    "r593":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r594":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r595":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(1)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r596":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(2)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r597":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r598":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(4)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r599":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=d3e640-108580"
        },
    "r600":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
        },
    "r601":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918705-209980"
        },
    "r602":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "53",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
        },
    "r603":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/subtopic&trid=77888251"
        },
    "r604":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=124258985&loc=SL77919359-209981"
        },
    "r605":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "848",
        "URI":  "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
        },
    "r606":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r607":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r608":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
        },
    "r609":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "852",
        "URI":  "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
        },
    "r610":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "852",
        "URI":  "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
        },
    "r611":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "852",
        "URI":  "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
        },
    "r612":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "855",
        "URI":  "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
        },
    "r613":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r614":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r615":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r616":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r617":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r618":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r619":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r62":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
        },
    "r620":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r621":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r622":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "910",
        "URI":  "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991585-234733"
        },
    "r623":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "910",
        "URI":  "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
        },
    "r624":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "910",
        "URI":  "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
        },
    "r625":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "310",
        "Subparagraph":  "(b)",
        "Topic":  "912",
        "URI":  "http://asc.fasb.org/extlink&oid=123371682&loc=d3e55415-109406"
        },
    "r626":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "310",
        "Topic":  "912",
        "URI":  "http://asc.fasb.org/extlink&oid=123371682&loc=d3e55302-109406"
        },
    "r627":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "405",
        "Topic":  "912",
        "URI":  "http://asc.fasb.org/extlink&oid=123377354&loc=d3e56321-109415"
        },
    "r628":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.L)",
        "Topic":  "924",
        "URI":  "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
        },
    "r629":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "926",
        "URI":  "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
        },
    "r630":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "20",
        "Subparagraph":  "(f)(1)",
        "Topic":  "926",
        "URI":  "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
        },
    "r631":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "20",
        "Subparagraph":  "(f)(2)",
        "Topic":  "926",
        "URI":  "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
        },
    "r632":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "20",
        "Subparagraph":  "(f)(3)",
        "Topic":  "926",
        "URI":  "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
        },
    "r633":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
        },
    "r634":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
        },
    "r635":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
        },
    "r636":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
        },
    "r637":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
        },
    "r638":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
        },
    "r639":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
        },
    "r64":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
        },
    "r640":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
        },
    "r641":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
        },
    "r642":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
        },
    "r643":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(1)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
        },
    "r644":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(2)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
        },
    "r645":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "940",
        "URI":  "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
        },
    "r646":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(1)(a))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r647":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(10)(1))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r648":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(11))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r649":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(13))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
        },
    "r650":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(16))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r651":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(22))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r652":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(23))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r653":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.10(3))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r654":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.15(3),(4))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r655":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.17)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r656":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(13)(f))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r657":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(15))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r658":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(22))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r659":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(23))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
        },
    "r660":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(24))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r661":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(25))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r662":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(26))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r663":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(27))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r664":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.9)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r665":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "235",
        "Subparagraph":  "(SX 210.9-05(b)(2))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
        },
    "r666":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
        },
    "r667":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "405",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
        },
    "r668":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Subparagraph":  "(c)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
        },
    "r669":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
        },
    "r67":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
        },
    "r670":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r671":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(12))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r672":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16)(a)(1))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r673":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r674":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(2))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r675":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(3))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r676":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(4))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r677":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(24))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r678":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(25))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r679":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r68":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124509347&loc=d3e557-108580"
        },
    "r680":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.(a),19)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r681":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.1(d))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r682":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.17)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r683":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.3)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r684":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(10))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r685":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(18))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r686":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(19))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r687":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(20))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r688":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(21))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r689":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(22))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r69":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
        },
    "r690":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(23))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r691":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(3)(b))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r692":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r693":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(9))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r694":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437"
        },
    "r695":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(cc)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437"
        },
    "r696":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4H",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
        },
    "r697":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(d)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
        },
    "r698":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
        },
    "r699":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(b)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
        },
    "r7":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r70":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
        },
    "r700":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(c)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
        },
    "r701":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
        },
    "r702":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r703":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(1)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r704":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(2)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r705":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(i)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r706":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(ii)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r707":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(iii)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r708":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(iv)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r709":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(h)(2)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r71":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
        },
    "r710":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "825",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195"
        },
    "r711":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.6-07.1(c))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
        },
    "r712":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "310",
        "Subparagraph":  "(SX 210.12-29(Footnote 4))",
        "Topic":  "948",
        "URI":  "http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
        },
    "r713":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Topic":  "954",
        "URI":  "http://asc.fasb.org/extlink&oid=123364037&loc=d3e3115-115594"
        },
    "r714":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "440",
        "Subparagraph":  "(a)",
        "Topic":  "954",
        "URI":  "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
        },
    "r715":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column B))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r716":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column C))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r717":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column D))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r718":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column E))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r719":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column F))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
        },
    "r720":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column G))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r721":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column H))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r722":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column I))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r723":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Footnote 2))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r724":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Subparagraph":  "(c)",
        "Topic":  "976",
        "URI":  "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
        },
    "r725":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Subparagraph":  "(b)",
        "Topic":  "978",
        "URI":  "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
        },
    "r726":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r727":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r728":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r729":  {
        "Name":  "Form 10-Q",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "308",
        "Subsection":  "a"
        },
    "r73":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581"
        },
    "r730":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1"
        },
    "r731":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(a)",
        "Publisher":  "SEC",
        "Section":  "1402"
        },
    "r732":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r733":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(3)(iii)(03)",
        "Topic":  "848"
        },
    "r734":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "848"
        },
    "r74":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(210.5-03(11))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(10))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(12))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(20))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(21))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(22))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r8":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(23))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(24))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(25))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(5))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(8))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.1(e))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.1,2)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.2(a),(d))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.2)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.4)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.7(b))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.9)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
        }
    },
"version":  "2.1"
}


1 Subsequent Filing that References this Filing

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 8/26/22  Quanta Services, Inc.             S-8         8/26/22    4:93K                                    Donnelley … Solutions/FA


3 Previous Filings that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 3/08/22  Quanta Services, Inc.             8-K:5,9     3/02/22   11:179K                                   Donnelley … Solutions/FA
 3/26/19  Quanta Services, Inc.             8-K:5,8,9   3/22/19    5:56K                                    Donnelley … Solutions/FA
12/11/18  Quanta Services, Inc.             8-K:1,5,8,912/06/18    4:266K                                   Donnelley … Solutions/FA
Top
Filing Submission 0001050915-22-000078   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Fri., May 10, 4:51:57.7pm ET