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

GMS Inc. – ‘10-Q’ for 7/31/20 – ‘JSON’

On:  Thursday, 9/3/20, at 4:51pm ET   ·   For:  7/31/20   ·   Accession #:  1558370-20-10991   ·   File #:  1-37784

Previous ‘10-Q’:  ‘10-Q’ on 3/5/20 for 1/31/20   ·   Next:  ‘10-Q’ on 12/3/20 for 10/31/20   ·   Latest:  ‘10-Q’ on 2/29/24 for 1/31/24   ·   2 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

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

 9/03/20  GMS Inc.                          10-Q        7/31/20   83:8.2M                                   Toppan Merrill Bridge/FA

Quarterly Report   —   Form 10-Q
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML    987K 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     33K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     34K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     26K 
 5: EX-32.2     Certification -- §906 - SOA'02                      HTML     26K 
12: R1          Document and Entity Information                     HTML     76K 
13: R2          Condensed Consolidated Balance Sheets               HTML    105K 
14: R3          Condensed Consolidated Balance Sheets               HTML     45K 
                (Parenthetical)                                                  
15: R4          Condensed Consolidated Statements of Operations     HTML     85K 
                and Comprehensive Income                                         
16: R5          Condensed Consolidated Statements of Stockholders'  HTML     73K 
                Equity (Unaudited)                                               
17: R6          Condensed Consolidated Statements of Cash Flows     HTML    115K 
18: R7          Business, Basis of Presentation and Summary of      HTML     50K 
                Significant Accounting Policies                                  
19: R8          Revenue                                             HTML     30K 
20: R9          Accounts Receivable                                 HTML     48K 
21: R10         Goodwill and Intangible Assets                      HTML    115K 
22: R11         Long-Term Debt                                      HTML    103K 
23: R12         Leases                                              HTML    118K 
24: R13         Income Taxes                                        HTML     26K 
25: R14         Stockholders' Equity                                HTML     49K 
26: R15         Equity-Based Compensation                           HTML     90K 
27: R16         Stock Appreciation Rights, Deferred Compensation    HTML     61K 
                and Redeemable Noncontrolling Interests                          
28: R17         Fair Value Measurements                             HTML     44K 
29: R18         Transactions With Related Parties                   HTML     26K 
30: R19         Commitments and Contingencies                       HTML     25K 
31: R20         Segments                                            HTML    146K 
32: R21         Earnings Per Common Share                           HTML     49K 
33: R22         Business, Basis of Presentation and Summary of      HTML     70K 
                Significant Accounting Policies (Policies)                       
34: R23         Accounts Receivable (Tables)                        HTML     48K 
35: R24         Goodwill and Intangible Assets (Tables)             HTML    115K 
36: R25         Long-Term Debt (Tables)                             HTML    102K 
37: R26         Leases (Tables)                                     HTML    139K 
38: R27         Stockholders' Equity (Tables)                       HTML     45K 
39: R28         Equity-Based Compensation - (Tables)                HTML     89K 
40: R29         Stock Appreciation Rights, Deferred Compensation    HTML     57K 
                and Redeemable Noncontrolling Interests (Tables)                 
41: R30         Fair Value Measurements (Tables)                    HTML     38K 
42: R31         Segments (Tables)                                   HTML    150K 
43: R32         Earnings Per Common Share (Tables)                  HTML     48K 
44: R33         Business, Basis of Presentation and Summary of      HTML     24K 
                Significant Accounting Policies - Business                       
                (Details)                                                        
45: R34         Business, Basis of Presentation and Summary of      HTML     54K 
                Significant Accounting Policies - Insurance                      
                Liabilities (Details)                                            
46: R35         Revenue (Details)                                   HTML     30K 
47: R36         Accounts Receivable - Trade Accounts And Notes      HTML     34K 
                Receivable (Details)                                             
48: R37         Accounts Receivable - Change In Allowance           HTML     33K 
                (Details)                                                        
49: R38         Goodwill and Intangible Assets - Goodwill           HTML     34K 
                (Details)                                                        
50: R39         Goodwill and Intangible Assets - Definite-Lived     HTML     66K 
                Intangible Assets (Details)                                      
51: R40         Goodwill and Intangible Assets - Amortization       HTML     28K 
                (Details)                                                        
52: R41         Goodwill and Intangible Assets - Estimated          HTML     36K 
                Aggregate Amortization Expense (Details)                         
53: R42         Goodwill and Intangible Assets - Indefinite-Lived   HTML     25K 
                Intangible Assets (Details)                                      
54: R43         Long-Term Debt - Components (Details)               HTML     46K 
55: R44         Long-Term Debt - Acquisition Debt (Details)         HTML     42K 
56: R45         Long-Term Debt - Asset-Based Lending Facility       HTML     39K 
                (Details)                                                        
57: R46         Long-Term Debt - Canadian Revolving Credit          HTML     35K 
                Facility (Details)                                               
58: R47         Long-Term Debt - Maturities (Details)               HTML     65K 
59: R48         Leases (Details)                                    HTML     47K 
60: R49         Leases - Supplemental cash flow information         HTML     35K 
                (Details)                                                        
61: R50         Leases - Other information (Details)                HTML     43K 
62: R51         Leases - Future minimum lease payments under        HTML     61K 
                non-cancellable leases (Details)                                 
63: R52         Income Taxes (Details)                              HTML     32K 
64: R53         Stockholders' Equity - Exchangeable Shares, Share   HTML     38K 
                Repurchase Program and Secondary Public Offering                 
                (Details)                                                        
65: R54         Stockholders' Equity - Accumulated Other            HTML     39K 
                Comprehensive Loss (Details)                                     
66: R55         Equity-Based Compensation - Stock Option Activity   HTML     86K 
                (Details)                                                        
67: R56         Equity-Based Compensation - Black Scholes Options   HTML     37K 
                - Pricing Model (Details)                                        
68: R57         Equity-Based Compensation - Restricted Stock Units  HTML     47K 
                (Details)                                                        
69: R58         Equity-Based Compensation - Employee Stock          HTML     37K 
                Purchase Plan (Details)                                          
70: R59         Stock Appreciation Rights, Deferred Compensation    HTML     47K 
                and Redeemable Noncontrolling Interests (Details)                
71: R60         Fair Value Measurements (Details)                   HTML     49K 
72: R61         Transactions With Related Parties - Purchased       HTML     32K 
                Inventories (Details)                                            
73: R62         Segments (Details)                                  HTML     30K 
74: R63         Segments - Net Sales, Adjusted EBITDA and Certain   HTML     44K 
                Other Measures (Details)                                         
75: R64         Segments - Reconciliation of Net Income to          HTML     56K 
                Adjusted EBITDA (Details)                                        
76: R65         Segments - Net Sales by Main Product Lines          HTML     34K 
                (Details)                                                        
77: R66         Segments - Net sales by major geographic area       HTML     32K 
                (Details)                                                        
78: R67         Segments - Property and equipment, net, by major    HTML     30K 
                geographic area (Details)                                        
79: R68         Earnings Per Common Share (Details)                 HTML     51K 
81: XML         IDEA XML File -- Filing Summary                      XML    150K 
11: XML         XBRL Instance -- gms-20200731x10q_htm                XML   2.13M 
80: EXCEL       IDEA Workbook of Financial Reports                  XLSX     92K 
 7: EX-101.CAL  XBRL Calculations -- gms-20200731_cal                XML    198K 
 8: EX-101.DEF  XBRL Definitions -- gms-20200731_def                 XML    484K 
 9: EX-101.LAB  XBRL Labels -- gms-20200731_lab                      XML   1.36M 
10: EX-101.PRE  XBRL Presentations -- gms-20200731_pre               XML    954K 
 6: EX-101.SCH  XBRL Schema -- gms-20200731                          XSD    157K 
82: JSON        XBRL Instance as JSON Data -- MetaLinks              356±   543K 
83: ZIP         XBRL Zipped Folder -- 0001558370-20-010991-xbrl      Zip    226K 


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


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



{
"instance":  {
    "gms-20200731x10q.htm":  {
        "axisCustom":  0,
        "axisStandard":  23,
        "contextCount":  178,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "gms-20200731_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "gms-20200731_def.xml"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-eedm-def-2019-01-31.xml",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-eedm1-def-2019-01-31.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "gms-20200731x10q.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "gms-20200731_lab.xml"
                    ],
                "remote":  [
                    "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "gms-20200731_pre.xml"
                    ]
                },
            "referenceLink":  {
                "remote":  [
                    "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "gms-20200731.xsd"
                    ],
                "remote":  [
                    "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",
                    "https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
                    "http://www.xbrl.org/2005/xbrldt-2005.xsd",
                    "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
                    "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-roles-2019-01-31.xsd",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd",
                    "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-types-2019-01-31.xsd",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-roles-2019-01-31.xsd",
                    "https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-types-2019-01-31.xsd",
                    "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-parts-codification-2019-01-31.xsd"
                    ]
                }
            },
        "elementCount":  536,
        "entityCount":  1,
        "hidden":  {
            "http://fasb.org/us-gaap/2019-01-31":  14,
            "http://xbrl.sec.gov/dei/2019-01-31":  5,
            "total":  19
            },
        "keyCustom":  35,
        "keyStandard":  378,
        "memberCustom":  26,
        "memberStandard":  30,
        "nsprefix":  "gms",
        "nsuri":  "http://www.gms.com/20200731",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "00090 - Document - Document and Entity Information",
                "role":  "http://www.gms.com/role/DocumentDocumentAndEntityInformation",
                "shortName":  "Document and Entity Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10401 - Disclosure - Goodwill and Intangible Assets",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssets",
                "shortName":  "Goodwill and Intangible Assets",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10501 - Disclosure - Long-Term Debt",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebt",
                "shortName":  "Long-Term Debt",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "gms:LeaseDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10601 - Disclosure - Leases",
                "role":  "http://www.gms.com/role/DisclosureLeases",
                "shortName":  "Leases",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "gms:LeaseDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10701 - Disclosure - Income Taxes",
                "role":  "http://www.gms.com/role/DisclosureIncomeTaxes",
                "shortName":  "Income Taxes",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10801 - Disclosure - Stockholders' Equity",
                "role":  "http://www.gms.com/role/DisclosureStockholdersEquity",
                "shortName":  "Stockholders' Equity",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10901 - Disclosure - Equity-Based Compensation",
                "role":  "http://www.gms.com/role/DisclosureEquityBasedCompensation",
                "shortName":  "Equity-Based Compensation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "gms:StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11001 - Disclosure - Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests",
                "role":  "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterests",
                "shortName":  "Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "gms:StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11101 - Disclosure - Fair Value Measurements",
                "role":  "http://www.gms.com/role/DisclosureFairValueMeasurements",
                "shortName":  "Fair Value Measurements",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11201 - Disclosure - Transactions With Related Parties",
                "role":  "http://www.gms.com/role/DisclosureTransactionsWithRelatedParties",
                "shortName":  "Transactions With Related Parties",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11301 - Disclosure - Commitments and Contingencies",
                "role":  "http://www.gms.com/role/DisclosureCommitmentsAndContingencies",
                "shortName":  "Commitments and Contingencies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00100 - Statement - Condensed Consolidated Balance Sheets",
                "role":  "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets",
                "shortName":  "Condensed Consolidated Balance Sheets",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11401 - Disclosure - Segments",
                "role":  "http://www.gms.com/role/DisclosureSegments",
                "shortName":  "Segments",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11501 - Disclosure - Earnings Per Common Share",
                "role":  "http://www.gms.com/role/DisclosureEarningsPerCommonShare",
                "shortName":  "Earnings Per Common Share",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "20102 - Disclosure - Business, Basis of Presentation and Summary of Significant Accounting Policies (Policies)",
                "role":  "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies",
                "shortName":  "Business, Basis of Presentation and Summary of Significant Accounting Policies (Policies)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30303 - Disclosure - Accounts Receivable (Tables)",
                "role":  "http://www.gms.com/role/DisclosureAccountsReceivableTables",
                "shortName":  "Accounts Receivable (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfGoodwillTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30403 - Disclosure - Goodwill and Intangible Assets (Tables)",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsTables",
                "shortName":  "Goodwill and Intangible Assets (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfGoodwillTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30503 - Disclosure - Long-Term Debt (Tables)",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebtTables",
                "shortName":  "Long-Term Debt (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LeaseCostTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30603 - Disclosure - Leases (Tables)",
                "role":  "http://www.gms.com/role/DisclosureLeasesTables",
                "shortName":  "Leases (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LeaseCostTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30803 - Disclosure - Stockholders' Equity (Tables)",
                "role":  "http://www.gms.com/role/DisclosureStockholdersEquityTables",
                "shortName":  "Stockholders' Equity (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30903 - Disclosure - Equity-Based Compensation - (Tables)",
                "role":  "http://www.gms.com/role/DisclosureEquityBasedCompensationTables",
                "shortName":  "Equity-Based Compensation - (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "gms:StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "gms:ScheduleOfEquityBasedCompensationLiabilityActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31003 - Disclosure - Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests (Tables)",
                "role":  "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTables",
                "shortName":  "Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "gms:StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "gms:ScheduleOfEquityBasedCompensationLiabilityActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:AllowanceForDoubtfulTradeAccountsAndNotesReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)",
                "role":  "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
                "shortName":  "Condensed Consolidated Balance Sheets (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:AllowanceForDoubtfulTradeAccountsAndNotesReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:FairValueDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31103 - Disclosure - Fair Value Measurements (Tables)",
                "role":  "http://www.gms.com/role/DisclosureFairValueMeasurementsTables",
                "shortName":  "Fair Value Measurements (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:FairValueDisclosuresTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31403 - Disclosure - Segments (Tables)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsTables",
                "shortName":  "Segments (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31503 - Disclosure - Earnings Per Common Share (Tables)",
                "role":  "http://www.gms.com/role/DisclosureEarningsPerCommonShareTables",
                "shortName":  "Earnings Per Common Share (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:NumberOfDistributionCenters",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MCHB_ItAvU-VCBou0ad5tg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40101 - Disclosure - Business, Basis of Presentation and Summary of Significant Accounting Policies - Business (Details)",
                "role":  "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesBusinessDetails",
                "shortName":  "Business, Basis of Presentation and Summary of Significant Accounting Policies - Business (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:NumberOfDistributionCenters",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_MCHB_ItAvU-VCBou0ad5tg",
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentLiabilitiesMember_L-Z1KHEbuUGi6sywxRzBPg",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:SelfInsuranceReserve",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40102 - Disclosure - Business, Basis of Presentation and Summary of Significant Accounting Policies - Insurance Liabilities (Details)",
                "role":  "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                "shortName":  "Business, Basis of Presentation and Summary of Significant Accounting Policies - Insurance Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentLiabilitiesMember_L-Z1KHEbuUGi6sywxRzBPg",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:SelfInsuranceReserve",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:RevenueFromContractWithCustomerTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenuePracticalExpedientFinancingComponent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40201 - Disclosure - Revenue (Details)",
                "role":  "http://www.gms.com/role/DisclosureRevenueDetails",
                "shortName":  "Revenue (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:RevenueFromContractWithCustomerTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenuePracticalExpedientFinancingComponent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                        "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:AccountsReceivableTradeReceivablesCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40301 - Disclosure - Accounts Receivable - Trade Accounts And Notes Receivable (Details)",
                "role":  "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails",
                "shortName":  "Accounts Receivable - Trade Accounts And Notes Receivable (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                        "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:AccountsReceivableTradeReceivablesCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                        "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_yxfRczJk8k-ikTh-gjPa1Q",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40302 - Disclosure - Accounts Receivable - Change In Allowance (Details)",
                "role":  "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails",
                "shortName":  "Accounts Receivable - Change In Allowance (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
                        "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_AccountsReceivableMember_0G4i-xwk20-RaPh1mvTPzg",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R38":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfGoodwillTextBlock",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_yxfRczJk8k-ikTh-gjPa1Q",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:GoodwillGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40401 - Disclosure - Goodwill and Intangible Assets - Goodwill (Details)",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails",
                "shortName":  "Goodwill and Intangible Assets - Goodwill (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfGoodwillTextBlock",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_yxfRczJk8k-ikTh-gjPa1Q",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:GoodwillGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R39":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40402 - Disclosure - Goodwill and Intangible Assets - Definite-Lived Intangible Assets (Details)",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails",
                "shortName":  "Goodwill and Intangible Assets - Definite-Lived Intangible Assets (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00200 - Statement - Condensed Consolidated Statements of Operations and Comprehensive Income",
                "role":  "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome",
                "shortName":  "Condensed Consolidated Statements of Operations and Comprehensive Income",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R40":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AmortizationOfIntangibleAssets",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40403 - Disclosure - Goodwill and Intangible Assets - Amortization (Details)",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails",
                "shortName":  "Goodwill and Intangible Assets - Amortization (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_IncomeStatementLocationAxis_gms_DepreciationAndAmortizationExpenseMember_tdaNPku1HEuyFnOyTJefXg",
                    "decimals":  "-5",
                    "lang":  null,
                    "name":  "us-gaap:AmortizationOfIntangibleAssets",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R41":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40404 - Disclosure - Goodwill and Intangible Assets - Estimated Aggregate Amortization Expense (Details)",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails",
                "shortName":  "Goodwill and Intangible Assets - Estimated Aggregate Amortization Expense (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R42":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2019_9VvxEJTQP0uF9Cb-VvccSw",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:IndefiniteLivedTradeNames",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40405 - Disclosure - Goodwill and Intangible Assets - Indefinite-Lived Intangible Assets (Details)",
                "role":  "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsIndefiniteLivedIntangibleAssetsDetails",
                "shortName":  "Goodwill and Intangible Assets - Indefinite-Lived Intangible Assets (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2019_9VvxEJTQP0uF9Cb-VvccSw",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:IndefiniteLivedTradeNames",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R43":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40501 - Disclosure - Long-Term Debt - Components (Details)",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                "shortName":  "Long-Term Debt - Components (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R44":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_us-gaap_DebtInstrumentAxis_gms_FirstLienTermLoanDue2025Member_rJLBYH7Ip0KkG79hj9kVeg",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtInstrumentFaceAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40502 - Disclosure - Long-Term Debt - Acquisition Debt (Details)",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                "shortName":  "Long-Term Debt - Acquisition Debt (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_us-gaap_DebtInstrumentAxis_gms_FirstLienTermLoanDue2025Member_rJLBYH7Ip0KkG79hj9kVeg",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtInstrumentFaceAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R45":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProceedsFromLinesOfCredit",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40503 - Disclosure - Long-Term Debt - Asset-Based Lending Facility (Details)",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                "shortName":  "Long-Term Debt - Asset-Based Lending Facility (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_us-gaap_DebtInstrumentAxis_gms_AssetBasedLendingCreditFacilityDatedAsOf2014April01Member_Qn75_OGfYUO6BNlN7wpI8A",
                    "decimals":  "-5",
                    "lang":  null,
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R46":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RepaymentsOfLinesOfCredit",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40504 - Disclosure - Long-Term Debt - Canadian Revolving Credit Facility (Details)",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                "shortName":  "Long-Term Debt - Canadian Revolving Credit Facility (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_6_1_2018_us-gaap_DebtInstrumentAxis_gms_TitanRevolvingCreditFacilityMember_oDeP4uayJ0OTwiQMYjvwww",
                    "decimals":  "-5",
                    "lang":  null,
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R47":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40505 - Disclosure - Long-Term Debt - Maturities (Details)",
                "role":  "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails",
                "shortName":  "Long-Term Debt - Maturities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R48":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "gms:LeaseDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseExistenceOfOptionToExtend",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40601 - Disclosure - Leases (Details)",
                "role":  "http://www.gms.com/role/DisclosureLeasesDetails",
                "shortName":  "Leases (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "gms:LeaseDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseExistenceOfOptionToExtend",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R49":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "gms:LeasesSupplementalCashFlowTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:OperatingLeasePayments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40602 - Disclosure - Leases - Supplemental cash flow information (Details)",
                "role":  "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails",
                "shortName":  "Leases - Supplemental cash flow information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "gms:LeasesSupplementalCashFlowTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:OperatingLeasePayments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2019_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_UyB0_j3Gekio_3mgbrLfhA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockholdersEquity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00300 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)",
                "role":  "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited",
                "shortName":  "Condensed Consolidated Statements of Stockholders' Equity (Unaudited)",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2019_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_UyB0_j3Gekio_3mgbrLfhA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockholdersEquity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R50":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40603 - Disclosure - Leases - Other information (Details)",
                "role":  "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails",
                "shortName":  "Leases - Other information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "gms:OtherLeaseInformationTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  null,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R51":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                        "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40604 - Disclosure - Leases - Future minimum lease payments under non-cancellable leases (Details)",
                "role":  "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails",
                "shortName":  "Leases - Future minimum lease payments under non-cancellable leases (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                        "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R52":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_RHBYDruyVEmxrZ_1KdauRw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40701 - Disclosure - Income Taxes (Details)",
                "role":  "http://www.gms.com/role/DisclosureIncomeTaxesDetails",
                "shortName":  "Income Taxes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_RHBYDruyVEmxrZ_1KdauRw",
                    "xsiNil":  "false"
                    }
                },
            "R53":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40801 - Disclosure - Stockholders' Equity - Exchangeable Shares, Share Repurchase Program and Secondary Public Offering (Details)",
                "role":  "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails",
                "shortName":  "Stockholders' Equity - Exchangeable Shares, Share Repurchase Program and Secondary Public Offering (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R54":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_yxfRczJk8k-ikTh-gjPa1Q",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockholdersEquity",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40802 - Disclosure - Stockholders' Equity - Accumulated Other Comprehensive Loss (Details)",
                "role":  "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails",
                "shortName":  "Stockholders' Equity - Accumulated Other Comprehensive Loss (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-5",
                    "lang":  null,
                    "name":  "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R55":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40901 - Disclosure - Equity-Based Compensation - Stock Option Activity (Details)",
                "role":  "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                "shortName":  "Equity-Based Compensation - Stock Option Activity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_IncomeStatementLocationAxis_us-gaap_SellingGeneralAndAdministrativeExpensesMember_cfKn0rOdkU2DLu461Sz-ZA",
                    "decimals":  "-5",
                    "lang":  null,
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R56":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2019_To_7_31_2019_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockOptionMember_ZsbxTPtQP0SLPP2fri0RuQ",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_RHBYDruyVEmxrZ_1KdauRw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40902 - Disclosure - Equity-Based Compensation - Black Scholes Options - Pricing Model (Details)",
                "role":  "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails",
                "shortName":  "Equity-Based Compensation - Black Scholes Options - Pricing Model (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2019_To_7_31_2019_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockOptionMember_ZsbxTPtQP0SLPP2fri0RuQ",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_RHBYDruyVEmxrZ_1KdauRw",
                    "xsiNil":  "false"
                    }
                },
            "R57":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockUnitsRSUMember_Vc5HejvnK0KtTnn2KF-flQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_K1etVnb3-U-Awd_iPW9cXg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40903 - Disclosure - Equity-Based Compensation - Restricted Stock Units (Details)",
                "role":  "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails",
                "shortName":  "Equity-Based Compensation - Restricted Stock Units (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_4_30_2020_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockUnitsRSUMember_Vc5HejvnK0KtTnn2KF-flQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_K1etVnb3-U-Awd_iPW9cXg",
                    "xsiNil":  "false"
                    }
                },
            "R58":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40904 - Disclosure - Equity-Based Compensation - Employee Stock Purchase Plan (Details)",
                "role":  "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                "shortName":  "Equity-Based Compensation - Employee Stock Purchase Plan (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_AwardTypeAxis_gms_EmployeeStockPurchasePlanMember_Rq-wEuvIFkiW4NLN__KOMQ",
                    "decimals":  "INF",
                    "lang":  null,
                    "name":  "gms:PercentageOfCommonStockPriceBasedOnClosingPriceAtBeginningOrEndOfLastDayOfPurchasePeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure_RHBYDruyVEmxrZ_1KdauRw",
                    "xsiNil":  "false"
                    }
                },
            "R59":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "gms:StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_IncomeStatementLocationAxis_us-gaap_SellingGeneralAndAdministrativeExpensesMember_cfKn0rOdkU2DLu461Sz-ZA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:TotalExpenseStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsArrangements",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41001 - Disclosure - Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests (Details)",
                "role":  "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails",
                "shortName":  "Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "gms:StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_IncomeStatementLocationAxis_us-gaap_SellingGeneralAndAdministrativeExpensesMember_cfKn0rOdkU2DLu461Sz-ZA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "gms:TotalExpenseStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsArrangements",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00400 - Statement - Condensed Consolidated Statements of Cash Flows",
                "role":  "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows",
                "shortName":  "Condensed Consolidated Statements of Cash Flows",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R60":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:TangibleAssetImpairmentCharges",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:TangibleAssetImpairmentCharges",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41101 - Disclosure - Fair Value Measurements (Details)",
                "role":  "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                "shortName":  "Fair Value Measurements (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:TangibleAssetImpairmentCharges",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:TangibleAssetImpairmentCharges",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R61":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_RelatedPartyTransactionAxis_gms_PurchasedInventoryMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_gms_SouthernWallProductsIncorporatedMember_mkqgs1mhBEKgYHM9NCLWdA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RelatedPartyTransactionPurchasesFromRelatedParty",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41201 - Disclosure - Transactions With Related Parties - Purchased Inventories (Details)",
                "role":  "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails",
                "shortName":  "Transactions With Related Parties - Purchased Inventories (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_RelatedPartyTransactionAxis_gms_PurchasedInventoryMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_gms_SouthernWallProductsIncorporatedMember_mkqgs1mhBEKgYHM9NCLWdA",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RelatedPartyTransactionPurchasesFromRelatedParty",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R62":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:SegmentReportingDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_4_30_2020_To_4_30_2020_gTLHop_9d0ykVu35wkulug",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NumberOfOperatingSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_segment_ZdndxIIG_U2aqk9jcU5Z_Q",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41401 - Disclosure - Segments (Details)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsDetails",
                "shortName":  "Segments (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:SegmentReportingDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_4_30_2020_To_4_30_2020_gTLHop_9d0ykVu35wkulug",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NumberOfOperatingSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_segment_ZdndxIIG_U2aqk9jcU5Z_Q",
                    "xsiNil":  "false"
                    }
                },
            "R63":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41402 - Disclosure - Segments - Net Sales, Adjusted EBITDA and Certain Other Measures (Details)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails",
                "shortName":  "Segments - Net Sales, Adjusted EBITDA and Certain Other Measures (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_us-gaap_StatementBusinessSegmentsAxis_gms_GeographicDivisionsSegmentMember_uXdZvVTK1UusrUr_CfuTdQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R64":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41403 - Disclosure - Segments - Reconciliation of Net Income to Adjusted EBITDA (Details)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails",
                "shortName":  "Segments - Reconciliation of Net Income to Adjusted EBITDA (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:InterestExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R65":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41404 - Disclosure - Segments - Net Sales by Main Product Lines (Details)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails",
                "shortName":  "Segments - Net Sales by Main Product Lines (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_srt_ProductOrServiceAxis_gms_WallboardMember_YUlmnROsMEiMyfImhoa_eA",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R66":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41405 - Disclosure - Segments - Net sales by major geographic area (Details)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                "shortName":  "Segments - Net sales by major geographic area (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "4",
                    "lang":  null,
                    "name":  "gms:AverageForeignCurrencyExchangeRate",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Divide_CAD_USD_GWX_dfutoUedIhhwIC7h4w",
                    "xsiNil":  "false"
                    }
                },
            "R67":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_MlxtZDAe-kq8ZfdaUXVvXA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:PropertyPlantAndEquipmentNet",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41406 - Disclosure - Segments - Property and equipment, net, by major geographic area (Details)",
                "role":  "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails",
                "shortName":  "Segments - Property and equipment, net, by major geographic area (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:LongLivedAssetsByGeographicAreasTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "As_Of_7_31_2020_srt_StatementGeographicalAxis_country_US_kpkF1iOtf06H9Owp1HG_uA",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:PropertyPlantAndEquipmentNet",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R68":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41501 - Disclosure - Earnings Per Common Share (Details)",
                "role":  "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails",
                "shortName":  "Earnings Per Common Share (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2019_To_7_31_2019_EbWfp8flREmTSlvs9ATbbw",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_NUEJegASyEC7PNm3RzuI1g",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10101 - Disclosure - Business, Basis of Presentation and Summary of Significant Accounting Policies",
                "role":  "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPolicies",
                "shortName":  "Business, Basis of Presentation and Summary of Significant Accounting Policies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10201 - Disclosure - Revenue",
                "role":  "http://www.gms.com/role/DisclosureRevenue",
                "shortName":  "Revenue",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10301 - Disclosure - Accounts Receivable",
                "role":  "http://www.gms.com/role/DisclosureAccountsReceivable",
                "shortName":  "Accounts Receivable",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "gms-20200731x10q.htm",
                    "contextRef":  "Duration_5_1_2020_To_7_31_2020_SmTaJ5JtOkS4_PRPGa8_7g",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                }
            },
        "segmentCount":  56,
        "tag":  {
            "country_CA":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "C [A]",
                            "terseLabel":  "Canada"
                            }
                        }
                    },
                "localname":  "CA",
                "nsuri":  "http://xbrl.sec.gov/country/2017-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "country_US":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "U [S]",
                            "terseLabel":  "United States"
                            }
                        }
                    },
                "localname":  "US",
                "nsuri":  "http://xbrl.sec.gov/country/2017-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "AmendmentFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CoverAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Cover page.",
                            "label":  "Document and Entity Information"
                            }
                        }
                    },
                "localname":  "CoverAbstract",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "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"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in CCYY 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"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The end date of the period reflected on the cover page if a periodic report.  For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date.  The format of the date is CCYY-MM-DD.",
                            "label":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentQuarterlyReport":  {
                "auth_ref":  [
                    "r414"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an quarterly report.",
                            "label":  "Document Quarterly Report"
                            }
                        }
                    },
                "localname":  "DocumentQuarterlyReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r415"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r416"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityCentralIndexKey",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r416"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicate if registrant meets the emerging growth company criteria.",
                            "label":  "Entity Emerging Growth Company"
                            }
                        }
                    },
                "localname":  "EntityEmergingGrowthCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r416"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityFilerCategory",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityIncorporationStateCountryCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r417"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r416"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityRegistrantName",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r416"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r416"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicates that the company is a Smaller Reporting Company (SRC).",
                            "label":  "Entity Small Business"
                            }
                        }
                    },
                "localname":  "EntitySmallBusiness",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r416"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r412"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r413"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "gms_AccountsPayableLocationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing accounts payable.",
                            "label":  "Accounts Payable Location [Member]",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableLocationMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_AccountsReceivableOtherAllowances":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AccountsNotesAndLoansReceivableNetCurrent",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accounts receivable other allowances.",
                            "label":  "Accounts Receivable Other Allowances",
                            "negatedLabel":  "Other allowances"
                            }
                        }
                    },
                "localname":  "AccountsReceivableOtherAllowances",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_AccountsReceivableTradeReceivablesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AccountsNotesAndLoansReceivableNetCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The sum of amounts currently receivable from customers.  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":  "Accounts Receivable, Trade Receivables Current",
                            "terseLabel":  "Trade receivables"
                            }
                        }
                    },
                "localname":  "AccountsReceivableTradeReceivablesCurrent",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_AdjustedEarningsBeforeInterestTaxesDepreciationAndAmortization":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the amount of adjusted earnings before interest, taxes, depreciation and amortization, as defined by the reporting entity.",
                            "label":  "Adjusted Earnings Before Interest Taxes Depreciation And Amortization",
                            "terseLabel":  "Adjusted EBITDA"
                            }
                        }
                    },
                "localname":  "AdjustedEarningsBeforeInterestTaxesDepreciationAndAmortization",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails",
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_AllowanceForDoubtfulTradeAccountsAndNotesReceivableCurrent":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss for current trade accounts and notes receivable.",
                            "label":  "Allowance For Doubtful Trade Accounts And Notes Receivable Current",
                            "terseLabel":  "Trade accounts and notes receivable, allowances (in dollars)"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulTradeAccountsAndNotesReceivableCurrent",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_AssetBasedLendingCreditFacilityDatedAsOf2014April01Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the Asset Based Lending Credit Facility entered into on April 1, 2014.",
                            "label":  "Asset Based Lending Credit Facility Dated As Of2014 April01 [Member]",
                            "terseLabel":  "ABL Facility"
                            }
                        }
                    },
                "localname":  "AssetBasedLendingCreditFacilityDatedAsOf2014April01Member",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_AverageForeignCurrencyExchangeRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The average foreign currency exchange rate during the reporting period.",
                            "label":  "Average Foreign Currency Exchange Rate",
                            "terseLabel":  "Average exchange rates"
                            }
                        }
                    },
                "localname":  "AverageForeignCurrencyExchangeRate",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "gms_AwardSettlementPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Period of time over which awards are settled following triggering event or termination of employment , in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Award Settlement Period",
                            "terseLabel":  "Settlement period"
                            }
                        }
                    },
                "localname":  "AwardSettlementPeriod",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "gms_CashFlowActivitiesLesseeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents element information pertaining to cash flow activities lessee.",
                            "label":  "Cash Flow Activities, Lessee [Abstract]",
                            "terseLabel":  "Cash paid for amounts included in the measurement of lease liabilities"
                            }
                        }
                    },
                "localname":  "CashFlowActivitiesLesseeAbstract",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "gms_CeilingsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the main product line ceilings.",
                            "label":  "Ceilings [Member]",
                            "terseLabel":  "Ceilings"
                            }
                        }
                    },
                "localname":  "CeilingsMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_DebtInstrumentPeriodicPaymentOriginalPrincipalPercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The required periodic payments applied to principal as a percentage of the original principal at time of issuance.",
                            "label":  "Debt Instrument, Periodic Payment, Original Principal Percentage",
                            "terseLabel":  "Loan amortization installments (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPeriodicPaymentOriginalPrincipalPercentage",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "gms_DebtInstrumentVariableInterestRateFloor":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the floor of the variable rate on the debt instrument.",
                            "label":  "Debt Instrument, Variable Interest Rate, Floor",
                            "terseLabel":  "Variable rate floor (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentVariableInterestRateFloor",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "gms_DeferredCompensationFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value portion of deferred compensation.",
                            "label":  "Deferred Compensation Fair Value Disclosure",
                            "terseLabel":  "Deferred compensation"
                            }
                        }
                    },
                "localname":  "DeferredCompensationFairValueDisclosure",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_DepreciationAndAmortizationExpenseMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing depreciation and amortization expense.",
                            "label":  "Depreciation And Amortization Expense [Member]",
                            "terseLabel":  "Depreciation and amortization expense"
                            }
                        }
                    },
                "localname":  "DepreciationAndAmortizationExpenseMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_DurationOfPurchasePeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the period of time in which employees can purchase stock as part of an employee stock purchase plan (\"ESPP\").",
                            "label":  "Duration Of Purchase Period",
                            "terseLabel":  "Purchase period"
                            }
                        }
                    },
                "localname":  "DurationOfPurchasePeriod",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "gms_EffectOfInventoryPurchaseAccountingAdjustmentsOnIncome":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The effect on income of purchase accounting adjustments to increase inventory to its estimated fair value.",
                            "label":  "Effect of Inventory Purchase Accounting Adjustments on Income",
                            "terseLabel":  "Effects of fair value adjustments to inventory",
                            "verboseLabel":  "Effects of fair value adjustments to inventory"
                            }
                        }
                    },
                "localname":  "EffectOfInventoryPurchaseAccountingAdjustmentsOnIncome",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_EmployeeStockPurchasePlanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to employee stock purchase plan.",
                            "label":  "Employee Stock Purchase Plan [Member]",
                            "terseLabel":  "ESPP"
                            }
                        }
                    },
                "localname":  "EmployeeStockPurchasePlanMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_ExchangeableSharesConversionRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Conversion ratio of exchangeable shares as part of an acquisition.",
                            "label":  "Exchangeable Shares Conversion ratio",
                            "terseLabel":  "Exchangeable shares conversion ratio"
                            }
                        }
                    },
                "localname":  "ExchangeableSharesConversionRatio",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "gms_ExchangeableSharesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to shares where the holder has right to exchange the shares for common stock or other securities.",
                            "label":  "Exchangeable Shares [Member]",
                            "terseLabel":  "Exchangeable Shares"
                            }
                        }
                    },
                "localname":  "ExchangeableSharesMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_FairValueAdjustmentEquityBasedCompensationLiabilitiesRedeemableNoncontrollingInterests":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of expense (income) related to adjustment to fair value of equity based compensation liabilities for redeemable noncontrolling interests.",
                            "label":  "Fair Value Adjustment Equity Based Compensation Liabilities, Redeemable Noncontrolling Interests",
                            "terseLabel":  "Redeemable noncontrolling interests"
                            }
                        }
                    },
                "localname":  "FairValueAdjustmentEquityBasedCompensationLiabilitiesRedeemableNoncontrollingInterests",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_FairValueAdjustmentOfStockAppreciationRights":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of expense (income) related to adjustment to fair value of liability for stock appreciation rights.",
                            "label":  "Fair Value Adjustment of Stock Appreciation Rights",
                            "terseLabel":  "Stock appreciation expense"
                            }
                        }
                    },
                "localname":  "FairValueAdjustmentOfStockAppreciationRights",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_FinanceLeaseCostsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents element pertaining to finance lease cost.",
                            "label":  "Finance Lease Costs [Abstract]",
                            "terseLabel":  "Finance lease cost:"
                            }
                        }
                    },
                "localname":  "FinanceLeaseCostsAbstract",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "gms_FinanceLeaseObligationsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to finance lease obligations.",
                            "label":  "Finance Lease Obligations [Member]",
                            "terseLabel":  "Finance lease obligations"
                            }
                        }
                    },
                "localname":  "FinanceLeaseObligationsMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_FinanceLeasedAssetsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This member stands for finance leased asset.",
                            "label":  "Finance Leased Assets [Member]",
                            "terseLabel":  "Finance Leased Assets"
                            }
                        }
                    },
                "localname":  "FinanceLeasedAssetsMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_FirstLienTermLoanDue2025Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to First lien term loan due 2025.",
                            "label":  "First Lien Term Loan Due2025 [Member]",
                            "terseLabel":  "Term Loan Facility"
                            }
                        }
                    },
                "localname":  "FirstLienTermLoanDue2025Member",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_GeographicDivisionsSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents Geographic divisions, a reportable segment of the entity.",
                            "label":  "Geographic Divisions Segment [Member]",
                            "terseLabel":  "Geographic divisions"
                            }
                        }
                    },
                "localname":  "GeographicDivisionsSegmentMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_GoodwillWorkingCapitalSettlement":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase in assets from working capital settlement.",
                            "label":  "Goodwill, Working Capital Settlement",
                            "terseLabel":  "Working capital settlement"
                            }
                        }
                    },
                "localname":  "GoodwillWorkingCapitalSettlement",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_InstallmentNotes5.0PercentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the Installment notes at fixed rates up to 5.0%, due in monthly and annual installments through April 2023.",
                            "label":  "Installment Notes5.0 Percent [Member]",
                            "terseLabel":  "Installment notes"
                            }
                        }
                    },
                "localname":  "InstallmentNotes5.0PercentMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_InsuranceCoverageBufferLayer":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the buffer layer of insurance coverage, as defined in the respective insurance policy.",
                            "label":  "Insurance Coverage Buffer Layer",
                            "terseLabel":  "Buffer layer of insurance coverage"
                            }
                        }
                    },
                "localname":  "InsuranceCoverageBufferLayer",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_InsuranceCoverageExcessLayer":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the excess layer of insurance coverage, as defined in the respective insurance policy.",
                            "label":  "Insurance Coverage, Excess Layer",
                            "terseLabel":  "Excess layer of insurance coverage"
                            }
                        }
                    },
                "localname":  "InsuranceCoverageExcessLayer",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_InsuranceCoveragePrimaryLayer":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the primary layer of insurance coverage, as defined in the respective insurance policy.",
                            "label":  "Insurance Coverage, Primary Layer",
                            "terseLabel":  "Primary layer of insurance coverage"
                            }
                        }
                    },
                "localname":  "InsuranceCoveragePrimaryLayer",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_InsuranceDeductible":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of risk retained by the entity before the insurance arrangement begins to provide coverage.  This relates to all types of insurance.",
                            "label":  "Insurance, Deductible",
                            "terseLabel":  "Deductible amount"
                            }
                        }
                    },
                "localname":  "InsuranceDeductible",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_LeaseDisclosureTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure of information about leases.",
                            "label":  "Lease Disclosure [Text Block]",
                            "terseLabel":  "Leases"
                            }
                        }
                    },
                "localname":  "LeaseDisclosureTextBlock",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeases"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "gms_LeasesSupplementalCashFlowTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of supplemental cash flow information related to leases for the periods presented.",
                            "label":  "Leases Supplemental Cash Flow [Table Text Block]",
                            "terseLabel":  "Summary of components of supplemental cash flow information related to leases"
                            }
                        }
                    },
                "localname":  "LeasesSupplementalCashFlowTableTextBlock",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "gms_NatureOfBusinessAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "No definition available.",
                            "label":  "Business"
                            }
                        }
                    },
                "localname":  "NatureOfBusinessAbstract",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesBusinessDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "gms_NoncontrollingInterestAwardMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents an award of a noncontrolling interest to certain employees that is subject to mandatory redemption on termination of employment for any reason.",
                            "label":  "Noncontrolling Interest Award [Member]",
                            "terseLabel":  "Redeemable Noncontrolling Interests"
                            }
                        }
                    },
                "localname":  "NoncontrollingInterestAwardMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_NoncontrollingInterestHoldersFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value portion of noncontrolling interest holders.",
                            "label":  "Noncontrolling Interest Holders Fair Value Disclosure",
                            "terseLabel":  "Noncontrolling interest holders"
                            }
                        }
                    },
                "localname":  "NoncontrollingInterestHoldersFairValueDisclosure",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_NumberOfDistributionCenters":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the number of distribution centers.",
                            "label":  "Number of Distribution Centers",
                            "terseLabel":  "Number of distribution centers"
                            }
                        }
                    },
                "localname":  "NumberOfDistributionCenters",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesBusinessDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "gms_NumberOfGeographicDivisionsInWhichEntityOperates":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The number of geographic divisions in which the entity operates.",
                            "label":  "Number of Geographic Divisions in which Entity Operates",
                            "terseLabel":  "Number of geographic divisions"
                            }
                        }
                    },
                "localname":  "NumberOfGeographicDivisionsInWhichEntityOperates",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "gms_NumberOfOperatingSegmentDivisions":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents operating segment geographical divisions.",
                            "label":  "Number of Operating Segment, Divisions",
                            "terseLabel":  "Number of operating segment, divisions"
                            }
                        }
                    },
                "localname":  "NumberOfOperatingSegmentDivisions",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "gms_OtherAccruedLiabilitiesAndCurrentLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the carrying value of other accrued expenses and current liabilities on the balance sheet date.",
                            "label":  "Other Accrued Liabilities And Current Liabilities",
                            "terseLabel":  "Other accrued expenses and current liabilities"
                            }
                        }
                    },
                "localname":  "OtherAccruedLiabilitiesAndCurrentLiabilities",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_OtherLeaseInformationTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of other lease information.",
                            "label":  "Other Lease Information [Table Text Block]",
                            "terseLabel":  "Summary of other lease information"
                            }
                        }
                    },
                "localname":  "OtherLeaseInformationTableTextBlock",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "gms_OtherProductsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the aggregate of products classified as other.",
                            "label":  "Other Products [Member]",
                            "terseLabel":  "Other products"
                            }
                        }
                    },
                "localname":  "OtherProductsMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_PercentageOfCommonStockPriceBasedOnClosingPriceAtBeginningOrEndOfLastDayOfPurchasePeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the percentage of common stock price based on closing price at the beginning or end of the last day of the purchase period.",
                            "label":  "Percentage Of Common Stock Price Based On Closing Price At The Beginning Or End Of Last Day Of Purchase Period",
                            "terseLabel":  "Percentage of common stock price based on closing price at the beginning or end of the last day of the purchase period"
                            }
                        }
                    },
                "localname":  "PercentageOfCommonStockPriceBasedOnClosingPriceAtBeginningOrEndOfLastDayOfPurchasePeriod",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "gms_PurchasedInventoryMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The purchased inventories from former subsidiary, Southern Wall Products, Inc. for distribution.",
                            "label":  "Purchased Inventory [Member]",
                            "terseLabel":  "Inventory purchases"
                            }
                        }
                    },
                "localname":  "PurchasedInventoryMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_RestructuringChargesAndOtherCosts":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Combined amount of expenses associated with exit or disposal activities pursuant to an authorized plan and certain costs classified as other related to a discontinued operation, closed branch or permitted costs, as defined in the entity's debt agreements.",
                            "label":  "Restructuring Charges and Other Costs",
                            "terseLabel":  "Severance and other permitted costs"
                            }
                        }
                    },
                "localname":  "RestructuringChargesAndOtherCosts",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_ScheduleOfEquityBasedCompensationLiabilityActivityTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the changes in equity-based compensation liability.",
                            "label":  "Schedule of Equity-based Compensation Liability, Activity [Table Text Block]",
                            "terseLabel":  "Summary of changes to the liabilities for stock appreciation rights, deferred compensation and redeemable noncontrolling interests"
                            }
                        }
                    },
                "localname":  "ScheduleOfEquityBasedCompensationLiabilityActivityTableTextBlock",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "gms_SelfInsuranceReserveAndLiabilitiesForDeductibleBasedInsurancePoliciesPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for self-insurance reserves and liabilities for deductible-based insurance policies, including, but not limited to incurred but not reported reserves (IBNR).",
                            "label":  "Self Insurance Reserve and Liabilities for Deductible-based Insurance Policies [Policy Text Block]",
                            "terseLabel":  "Insurance Liabilities"
                            }
                        }
                    },
                "localname":  "SelfInsuranceReserveAndLiabilitiesForDeductibleBasedInsurancePoliciesPolicyTextBlock",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "gms_ShareholderDeferredCompensationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents deferred compensation granted to shareholders of the entity's subsidiaries that provides for a payment upon an occurrence of an event as defined in the related agreements.",
                            "label":  "Shareholder Deferred Compensation [Member]",
                            "terseLabel":  "Deferred Compensation"
                            }
                        }
                    },
                "localname":  "ShareholderDeferredCompensationMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_SouthernWallProductsIncorporatedMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents Southern Wall Products, Inc. (SWP), a former subsidiary of the reporting entity.  Certain of the reporting entity's stockholders are stockholders of SWP.",
                            "label":  "Southern Wall Products Incorporated [Member]",
                            "terseLabel":  "Southern Wall Products, Inc."
                            }
                        }
                    },
                "localname":  "SouthernWallProductsIncorporatedMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_SteelFramingMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the main product line steel framing.",
                            "label":  "Steel Framing [Member]",
                            "terseLabel":  "Steel framing"
                            }
                        }
                    },
                "localname":  "SteelFramingMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "No definition available.",
                            "label":  "Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests"
                            }
                        }
                    },
                "localname":  "StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDisclosureAbstract",
                "nsuri":  "http://www.gms.com/20200731",
                "xbrltype":  "stringItemType"
                },
            "gms_StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for stock appreciation rights, deferred compensation and redeemable noncontrolling interests",
                            "label":  "Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests [Text Block]",
                            "terseLabel":  "Stock Appreciation Rights, Deferred Compensation and Redeemable Noncontrolling Interests"
                            }
                        }
                    },
                "localname":  "StockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsTextBlock",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterests"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "gms_StockAppreciationRightsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value portion of stock appreciation rights.",
                            "label":  "Stock Appreciation Rights Fair Value Disclosure",
                            "terseLabel":  "Stock appreciation rights"
                            }
                        }
                    },
                "localname":  "StockAppreciationRightsFairValueDisclosure",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_SwingLineMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the swing-line component of the credit facility.",
                            "label":  "Swing Line [Member]",
                            "terseLabel":  "Swing-line"
                            }
                        }
                    },
                "localname":  "SwingLineMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_TitanRevolvingCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to Titan revolving credit facility.",
                            "label":  "Titan Revolving Credit Facility [Member]",
                            "terseLabel":  "Canadian Facility"
                            }
                        }
                    },
                "localname":  "TitanRevolvingCreditFacilityMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_TotalExpenseStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsArrangements":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of expense on certain equity based compensation arrangements, such as stock appreciation rights, deferred compensation agreements and liabilities to noncontrolling interest holders.",
                            "label":  "Total Expense Stock Appreciation Rights Deferred Compensation And Redeemable Noncontrolling Interests Arrangements",
                            "terseLabel":  "Expense related to equity based compensation arrangements"
                            }
                        }
                    },
                "localname":  "TotalExpenseStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsArrangements",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_TransactionCostsAcquisitionsAndOther":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of direct costs of a business combination and other significant transactions, including legal, accounting, and other costs incurred to consummate the transactions.",
                            "label":  "Transaction Costs, Acquisitions and Other",
                            "terseLabel":  "Transaction costs (acquisitions and other)"
                            }
                        }
                    },
                "localname":  "TransactionCostsAcquisitionsAndOther",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "gms_UninsuredRiskAutomobileInsuranceMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Risk arising from automobile insurance deductibles, self-insurance, or no insurance.",
                            "label":  "Uninsured Risk Automobile Insurance [Member]",
                            "terseLabel":  "Automobile"
                            }
                        }
                    },
                "localname":  "UninsuredRiskAutomobileInsuranceMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_UninsuredRiskGeneralLiabilityInsuranceMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Risk arising from general liability insurance deductibles, self-insurance, or no insurance.",
                            "label":  "Uninsured Risk General Liability Insurance [Member]",
                            "terseLabel":  "General liability"
                            }
                        }
                    },
                "localname":  "UninsuredRiskGeneralLiabilityInsuranceMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_UninsuredRiskGeneralLiabilityWorkersCompensationAndAutomobileMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Risk arising from general liability, workers' compensation and automobile insurance deductibles, self-insurance, or no insurance.",
                            "label":  "Uninsured Risk General Liability Workers Compensation And Automobile [Member]",
                            "terseLabel":  "General liability, workers' compensation and automobile"
                            }
                        }
                    },
                "localname":  "UninsuredRiskGeneralLiabilityWorkersCompensationAndAutomobileMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_UninsuredRiskWorkersCompensationInsuranceMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Risk arising from workers' compensation deductibles, self-insurance, or no insurance.",
                            "label":  "Uninsured Risk Workers Compensation Insurance [Member]",
                            "terseLabel":  "Workers' compensation"
                            }
                        }
                    },
                "localname":  "UninsuredRiskWorkersCompensationInsuranceMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_VendorAgreementsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Entity's established relationships with its vendors through contractual agreements.",
                            "label":  "Vendor Agreements [Member]",
                            "terseLabel":  "Vendor agreements"
                            }
                        }
                    },
                "localname":  "VendorAgreementsMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_WallboardMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the main product line wallboard.",
                            "label":  "Wallboard [Member]",
                            "terseLabel":  "Wallboard"
                            }
                        }
                    },
                "localname":  "WallboardMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "gms_WsbTitanHoldingsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents information regarding to the acquisition of WSB Titan Holdings (\"Titan\").",
                            "label":  "Wsb Titan Holdings [Member]",
                            "terseLabel":  "Titan"
                            }
                        }
                    },
                "localname":  "WsbTitanHoldingsMember",
                "nsuri":  "http://www.gms.com/20200731",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ConsolidationItemsAxis":  {
                "auth_ref":  [
                    "r141",
                    "r150"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Consolidation Items [Axis]"
                            }
                        }
                    },
                "localname":  "ConsolidationItemsAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ConsolidationItemsDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Consolidation Items [Domain]",
                            "terseLabel":  "Consolidation Items [Domain]"
                            }
                        }
                    },
                "localname":  "ConsolidationItemsDomain",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Maximum [Member]",
                            "terseLabel":  "Maximum"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails",
                    "http://www.gms.com/role/DisclosureLeasesDetails",
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Minimum [Member]",
                            "terseLabel":  "Minimum"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails",
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ProductOrServiceAxis":  {
                "auth_ref":  [
                    "r153",
                    "r228",
                    "r229",
                    "r404",
                    "r405"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Product and Service [Axis]"
                            }
                        }
                    },
                "localname":  "ProductOrServiceAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ProductsAndServicesDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Products And Services [Domain]",
                            "terseLabel":  "Products and Services [Domain]"
                            }
                        }
                    },
                "localname":  "ProductsAndServicesDomain",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Statistical Measurement [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails",
                    "http://www.gms.com/role/DisclosureLeasesDetails",
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Range [Member]",
                            "terseLabel":  "Range [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails",
                    "http://www.gms.com/role/DisclosureLeasesDetails",
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_SegmentGeographicalDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Segment Geographical [Domain]",
                            "terseLabel":  "Geographical [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentGeographicalDomain",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_StatementGeographicalAxis":  {
                "auth_ref":  [
                    "r156",
                    "r228",
                    "r230",
                    "r406",
                    "r409",
                    "r411"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Geographical [Axis]"
                            }
                        }
                    },
                "localname":  "StatementGeographicalAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsNotesAndLoansReceivableLineItems":  {
                "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":  "Accounts, Notes, Loans and Financing Receivable [Line Items]"
                            }
                        }
                    },
                "localname":  "AccountsNotesAndLoansReceivableLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsNotesAndLoansReceivableNetCurrent":  {
                "auth_ref":  [
                    "r4",
                    "r15",
                    "r39",
                    "r158",
                    "r159",
                    "r392"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of accounts and financing receivables, classified as current.  Includes, but is not limited to, notes and loan receivable.",
                            "label":  "Accounts, Notes, Loans and Financing Receivable, Net, Current",
                            "terseLabel":  "Trade accounts and notes receivable, net of allowances of $5,289 and $5,141, respectively",
                            "totalLabel":  "Trade accounts and notes receivable"
                            }
                        }
                    },
                "localname":  "AccountsNotesAndLoansReceivableNetCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsPayableCurrent":  {
                "auth_ref":  [
                    "r28"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accounts Payable, Current",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock":  {
                "auth_ref":  [
                    "r166"
                    ],
                "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":  "Schedule of change in allowance for expected credit losses"
                            }
                        }
                    },
                "localname":  "AccountsReceivableAllowanceForCreditLossTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_AccountsReceivableMember":  {
                "auth_ref":  [
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountsReceivableNet":  {
                "auth_ref":  [
                    "r15",
                    "r392"
                    ],
                "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.",
                            "label":  "Accounts Receivable, Net",
                            "terseLabel":  "Receivables from contracts with customers"
                            }
                        }
                    },
                "localname":  "AccountsReceivableNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureRevenueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r26",
                    "r192"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
                            "label":  "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
                            "negatedLabel":  "Accumulated depreciation",
                            "terseLabel":  "Property and equipment, accumulated depreciation (in dollars)"
                            }
                        }
                    },
                "localname":  "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember":  {
                "auth_ref":  [
                    "r51",
                    "r60",
                    "r300"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accumulated other comprehensive income (loss) from gain (loss) of derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness, attributable to parent.",
                            "label":  "Accumulated Gain Loss Net Cash Flow Hedge Parent [Member]",
                            "terseLabel":  "Derivative Financial Instruments"
                            }
                        }
                    },
                "localname":  "AccumulatedGainLossNetCashFlowHedgeParentMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems":  {
                "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":  "Accumulated Other Comprehensive Income (Loss) [Line Items]",
                            "terseLabel":  "Accumulated other comprehensive (loss) income"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r48",
                    "r50",
                    "r51"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about components of accumulated other comprehensive income (loss).",
                            "label":  "Accumulated Other Comprehensive Income (Loss) [Table]"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r47",
                    "r51",
                    "r52",
                    "r301"
                    ],
                "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":  "Accumulated Other Comprehensive Income [Member]",
                            "terseLabel":  "Accumulated Other Comprehensive Loss"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccumulatedTranslationAdjustmentMember":  {
                "auth_ref":  [
                    "r45",
                    "r51",
                    "r52",
                    "r301"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accumulated other comprehensive income (loss) resulting from 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, attributable to the parent.",
                            "label":  "Accumulated Translation Adjustment [Member]",
                            "terseLabel":  "Foreign Currency Translation"
                            }
                        }
                    },
                "localname":  "AccumulatedTranslationAdjustmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife":  {
                "auth_ref":  [
                    "r180"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Acquired Finite-lived Intangible Assets, Weighted Average Useful Life",
                            "terseLabel":  "Weighted Average Amortization Period (in years)"
                            }
                        }
                    },
                "localname":  "AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_AdditionalPaidInCapital":  {
                "auth_ref":  [
                    "r16"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "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.  Includes adjustments to additional paid in capital.  Some examples of such adjustments include recording the issuance of debt with a beneficial conversion feature and certain tax consequences of equity instruments awarded to employees.  Use this element for the aggregate amount of additional paid-in capital associated with common and preferred stock.  For additional paid-in capital associated with only common stock, use the element additional paid in capital, common stock.  For additional paid-in capital associated with only preferred stock, use the element additional paid in capital, preferred stock.",
                            "label":  "Additional Paid in Capital",
                            "terseLabel":  "Additional paid-in capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapital",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of decrease to equity for grantee's tax withholding obligation for award under share-based payment arrangement.",
                            "label":  "Adjustments Related to Tax Withholding for Share-based Compensation",
                            "negatedTerseLabel":  "Tax withholding related to net share settlements of stock options/equity awards"
                            }
                        }
                    },
                "localname":  "AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase to additional paid-in capital (APIC) for recognition of cost for option under share-based payment arrangement.",
                            "label":  "Adjustments to Additional Paid in Capital, Share-based Compensation, Stock Options, Requisite Service Period Recognition",
                            "terseLabel":  "Equity-based compensation"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Adjustments to reconcile net income to net cash provided by (used in) operating activities",
                            "verboseLabel":  "Adjustments to reconcile net income to net cash used in operating activities:"
                            }
                        }
                    },
                "localname":  "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllOtherSegmentsMember":  {
                "auth_ref":  [
                    "r134",
                    "r135",
                    "r136",
                    "r137",
                    "r138",
                    "r139"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Operating segments classified as other.  Excludes intersegment elimination and reconciling items.",
                            "label":  "All Other Segments [Member]",
                            "terseLabel":  "Other."
                            }
                        }
                    },
                "localname":  "AllOtherSegmentsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r237",
                    "r260",
                    "r265"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of expense for award under share-based payment arrangement.  Excludes amount capitalized.",
                            "label":  "Allocated Share-based Compensation Expense",
                            "terseLabel":  "Share-based compensation expense",
                            "verboseLabel":  "Equity-based compensation"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent":  {
                "auth_ref":  [
                    "r21",
                    "r160",
                    "r163"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AccountsNotesAndLoansReceivableNetCurrent",
                        "weight":  -1.0
                        }
                    },
                "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",
                            "negatedLabel":  "Allowance for expected credit losses",
                            "periodEndLabel":  "Ending balance",
                            "periodStartLabel":  "Beginning balance"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails",
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward":  {
                "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":  "Accounts Receivable, Allowance for Credit Loss [Roll Forward]",
                            "terseLabel":  "Change in allowance"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivableRollforward",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs":  {
                "auth_ref":  [
                    "r165"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of direct write-downs of accounts receivable charged against the allowance.",
                            "label":  "Accounts Receivable, Allowance for Credit Loss, Writeoff",
                            "negatedLabel":  "Write-offs"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivableWriteOffs",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfFinancingCostsAndDiscounts":  {
                "auth_ref":  [
                    "r91",
                    "r335"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs.",
                            "label":  "Amortization of Debt Issuance Costs and Discounts",
                            "terseLabel":  "Amortization of debt discount and debt issuance costs"
                            }
                        }
                    },
                "localname":  "AmortizationOfFinancingCostsAndDiscounts",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfIntangibleAssets":  {
                "auth_ref":  [
                    "r91",
                    "r178",
                    "r185"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "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",
                            "verboseLabel":  "Amortization expense"
                            }
                        }
                    },
                "localname":  "AmortizationOfIntangibleAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails",
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r145",
                    "r379",
                    "r393"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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",
                            "terseLabel":  "Total assets",
                            "totalLabel":  "Total assets"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "Assets"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsCurrent":  {
                "auth_ref":  [
                    "r5",
                    "r6",
                    "r41"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AwardTypeAxis":  {
                "auth_ref":  [
                    "r238",
                    "r262"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of award under share-based payment arrangement.",
                            "label":  "Award Type [Axis]"
                            }
                        }
                    },
                "localname":  "AwardTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "BalanceSheetLocationAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BalanceSheetLocationDomain":  {
                "auth_ref":  [
                    "r310",
                    "r313"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails",
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "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":  "Basis of Presentation"
                            }
                        }
                    },
                "localname":  "BasisOfAccountingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessAcquisitionAcquireeDomain":  {
                "auth_ref":  [
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAxis":  {
                "auth_ref":  [
                    "r285",
                    "r286"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by business combination or series of individually immaterial business combinations.",
                            "label":  "Business Acquisition [Axis]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued":  {
                "auth_ref":  [
                    "r291"
                    ],
                "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":  "Issuance of shares to current shareholders of Titan (in shares)"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1":  {
                "auth_ref":  [
                    "r90",
                    "r292"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "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",
                            "terseLabel":  "Increase in fair value of contingent consideration"
                            }
                        }
                    },
                "localname":  "BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r2",
                    "r24",
                    "r93"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r87",
                    "r93",
                    "r98"
                    ],
                "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 and cash equivalents, end of period",
                            "periodStartLabel":  "Cash and cash equivalents, beginning of period"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r87",
                    "r329"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "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":  "Decrease in cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ClassOfTreasuryStockTable":  {
                "auth_ref":  [
                    "r220",
                    "r221",
                    "r222",
                    "r223"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about 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]"
                            }
                        }
                    },
                "localname":  "ClassOfTreasuryStockTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingencies":  {
                "auth_ref":  [
                    "r36",
                    "r200",
                    "r383",
                    "r398"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r199",
                    "r207"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureCommitmentsAndContingencies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r14"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r14"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r14"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r14",
                    "r214"
                    ],
                "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",
                            "periodEndLabel":  "Balance (in shares)",
                            "periodStartLabel":  "Balance (in shares)",
                            "verboseLabel":  "Common stock, shares outstanding"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockValue":  {
                "auth_ref":  [
                    "r14"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "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",
                            "verboseLabel":  "Common stock, par value $0.01 per share, 500,000 shares authorized; 42,673 and 42,554 shares issued and outstanding as of July 31, 2020 and April 30, 2020, respectively"
                            }
                        }
                    },
                "localname":  "CommonStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r55",
                    "r57",
                    "r58"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeCalc2":  {
                        "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":  "Comprehensive income"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTaxAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]",
                            "terseLabel":  "Comprehensive income"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTaxAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskBenchmarkDomain":  {
                "auth_ref":  [
                    "r128",
                    "r129",
                    "r326",
                    "r327"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConcentrationRiskByBenchmarkAxis":  {
                "auth_ref":  [
                    "r128",
                    "r129",
                    "r326",
                    "r327",
                    "r407"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by benchmark of concentration risk.",
                            "label":  "Concentration Risk Benchmark [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByBenchmarkAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConsolidationPolicyTextBlock":  {
                "auth_ref":  [
                    "r99",
                    "r297",
                    "r305",
                    "r306"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
                            "label":  "Consolidation, Policy [Policy Text Block]",
                            "terseLabel":  "Principles of Consolidation"
                            }
                        }
                    },
                "localname":  "ConsolidationPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ConversionOfStockSharesConverted1":  {
                "auth_ref":  [
                    "r95",
                    "r96",
                    "r97"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The number of shares converted in a noncash (or part noncash) transaction.  Noncash is defined as transactions during a period 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":  "Conversion of Stock, Shares Converted",
                            "terseLabel":  "Exchangeable shares converted"
                            }
                        }
                    },
                "localname":  "ConversionOfStockSharesConverted1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CorporateNonSegmentMember":  {
                "auth_ref":  [
                    "r152"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "CorporateNonSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization":  {
                "auth_ref":  [
                    "r65",
                    "r66"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_GrossProfit",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Cost of product sold and service rendered, excluding depreciation, depletion, and amortization.",
                            "label":  "Cost of Goods Sold, Excluding Depreciation, Depletion, and Amortization",
                            "terseLabel":  "Cost of sales (exclusive of depreciation and amortization shown separately below)"
                            }
                        }
                    },
                "localname":  "CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "CreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CustomerRelationshipsMember":  {
                "auth_ref":  [
                    "r288"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
                            "label":  "Customer Relationships [Member]",
                            "terseLabel":  "Customer relationships"
                            }
                        }
                    },
                "localname":  "CustomerRelationshipsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Long-Term Debt"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentAxis":  {
                "auth_ref":  [
                    "r10",
                    "r11",
                    "r12",
                    "r380",
                    "r381",
                    "r391"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
                            "label":  "Debt Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
                            "label":  "Debt Instrument, Basis Spread on Variable Rate",
                            "terseLabel":  "Margin added to variable rate (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentBasisSpreadOnVariableRate1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentCarryingAmount":  {
                "auth_ref":  [
                    "r12",
                    "r211",
                    "r381",
                    "r391"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
                            "label":  "Long-term Debt, Gross",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCarryingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentFaceAmount":  {
                "auth_ref":  [
                    "r334",
                    "r336"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Face (par) amount of debt instrument at time of issuance.",
                            "label":  "Debt Instrument, Face Amount",
                            "verboseLabel":  "Aggregate principal amount"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFaceAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment":  {
                "auth_ref":  [
                    "r34",
                    "r389"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Description of the frequency of periodic payments (monthly, quarterly, annual).",
                            "label":  "Debt Instrument, Frequency of Periodic Payment",
                            "terseLabel":  "Loan amortization installment frequency"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFrequencyOfPeriodicPayment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentInterestRateStatedPercentage":  {
                "auth_ref":  [
                    "r33"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails"
                    ],
                "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":  "Long-term debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentNameDomain":  {
                "auth_ref":  [
                    "r34"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentPeriodicPaymentPrincipal":  {
                "auth_ref":  [
                    "r34"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of the required periodic payments applied to principal.",
                            "label":  "Debt Instrument, Periodic Payment, Principal",
                            "terseLabel":  "Loan amortization installments"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPeriodicPaymentPrincipal",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r34",
                    "r102",
                    "r215",
                    "r216",
                    "r217",
                    "r218",
                    "r333",
                    "r334",
                    "r336",
                    "r390"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentUnamortizedDiscount":  {
                "auth_ref":  [
                    "r333",
                    "r336"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization, of debt discount.",
                            "label":  "Debt Instrument, Unamortized Discount",
                            "terseLabel":  "Unamortized discount"
                            }
                        }
                    },
                "localname":  "DebtInstrumentUnamortizedDiscount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Debt Instruments [Abstract]",
                            "terseLabel":  "Long Term Debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DeferredCompensationShareBasedArrangementsLiabilityCurrent":  {
                "auth_ref":  [
                    "r31"
                    ],
                "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":  "Current liabilities related to plans"
                            }
                        }
                    },
                "localname":  "DeferredCompensationShareBasedArrangementsLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredCompensationSharebasedArrangementsLiabilityClassifiedNoncurrent":  {
                "auth_ref":  [
                    ],
                "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 after one year (or the operating cycle, if longer).",
                            "label":  "Deferred Compensation Share-based Arrangements, Liability, Classified, Noncurrent",
                            "verboseLabel":  "Long-term liabilities related to plans"
                            }
                        }
                    },
                "localname":  "DeferredCompensationSharebasedArrangementsLiabilityClassifiedNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent":  {
                "auth_ref":  [
                    ],
                "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.",
                            "label":  "Deferred Compensation Share-based Arrangements, Liability, Current and Noncurrent",
                            "periodEndLabel":  "Award liability as of end of period",
                            "periodStartLabel":  "Award liability as of beginning of period"
                            }
                        }
                    },
                "localname":  "DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredFinanceCostsNet":  {
                "auth_ref":  [
                    "r27",
                    "r335"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxAssetsNet":  {
                "auth_ref":  [
                    "r277"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
                            "label":  "Deferred Income Tax Assets, Net",
                            "terseLabel":  "Deferred income taxes"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxAssetsNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r91",
                    "r100",
                    "r279",
                    "r281"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  4.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)",
                            "verboseLabel":  "Deferred income taxes"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxLiabilitiesNet":  {
                "auth_ref":  [
                    "r269",
                    "r277"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.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, net"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxLiabilitiesNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredTaxAssetsValuationAllowance":  {
                "auth_ref":  [
                    "r276"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
                            "label":  "Deferred Tax Assets, Valuation Allowance",
                            "terseLabel":  "Valuation allowance"
                            }
                        }
                    },
                "localname":  "DeferredTaxAssetsValuationAllowance",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Depreciation":  {
                "auth_ref":  [
                    "r91",
                    "r190"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "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 expense"
                            }
                        }
                    },
                "localname":  "Depreciation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepreciationDepletionAndAmortization":  {
                "auth_ref":  [
                    "r91",
                    "r143"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
                            "label":  "Depreciation, Depletion and Amortization",
                            "terseLabel":  "Depreciation and amortization",
                            "verboseLabel":  "Depreciation and Amortization"
                            }
                        }
                    },
                "localname":  "DepreciationDepletionAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DerivativeContractTypeDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
                            "label":  "Derivative Contract Type [Domain]",
                            "terseLabel":  "Derivative Contract [Domain]"
                            }
                        }
                    },
                "localname":  "DerivativeContractTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DerivativeFixedInterestRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fixed interest rate related to the interest rate derivative.",
                            "label":  "Derivative, Fixed Interest Rate",
                            "verboseLabel":  "Fixed interest rate"
                            }
                        }
                    },
                "localname":  "DerivativeFixedInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DerivativeInstrumentRiskAxis":  {
                "auth_ref":  [
                    "r311",
                    "r312",
                    "r314",
                    "r316"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of derivative contract.",
                            "label":  "Derivative Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "DerivativeInstrumentRiskAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DerivativeLiabilities":  {
                "auth_ref":  [
                    "r42",
                    "r43",
                    "r325"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.  Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
                            "label":  "Derivative Liability",
                            "terseLabel":  "Derivative liabilities"
                            }
                        }
                    },
                "localname":  "DerivativeLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DerivativeNotionalAmount":  {
                "auth_ref":  [
                    "r308",
                    "r309"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Nominal or face amount used to calculate payment on derivative.",
                            "label":  "Derivative, Notional Amount",
                            "terseLabel":  "Notional amount"
                            }
                        }
                    },
                "localname":  "DerivativeNotionalAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DevelopedTechnologyRightsMember":  {
                "auth_ref":  [
                    "r290"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Rights to developed technology, which can include the right to develop, use, market, sell, or offer for sale products, compounds, or intellectual property.",
                            "label":  "Developed Technology Rights [Member]",
                            "terseLabel":  "Developed technology"
                            }
                        }
                    },
                "localname":  "DevelopedTechnologyRightsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock":  {
                "auth_ref":  [
                    "r266"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for share-based payment arrangement.",
                            "label":  "Disclosure of Compensation Related Costs, Share-based Payments [Text Block]",
                            "terseLabel":  "Equity-Based Compensation"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Equity-Based Compensation"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DomesticCountryMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
                            "label":  "Domestic Country [Member]",
                            "terseLabel":  "Domestic"
                            }
                        }
                    },
                "localname":  "DomesticCountryMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DueToAffiliateCurrent":  {
                "auth_ref":  [
                    "r9",
                    "r101",
                    "r355",
                    "r408"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Due to Affiliate, Current",
                            "terseLabel":  "Due to SWP"
                            }
                        }
                    },
                "localname":  "DueToAffiliateCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Earnings Per Common Share",
                            "terseLabel":  "Net income per common share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r68",
                    "r108",
                    "r113",
                    "r116",
                    "r117",
                    "r118",
                    "r122",
                    "r386",
                    "r400"
                    ],
                "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)",
                            "verboseLabel":  "Basic earnings per common share (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic [Abstract]",
                            "terseLabel":  "Basic earnings per common share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r68",
                    "r108",
                    "r113",
                    "r116",
                    "r117",
                    "r118",
                    "r122",
                    "r386",
                    "r400"
                    ],
                "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)",
                            "verboseLabel":  "Diluted earnings per common share (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareDilutedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Earnings Per Share, Diluted [Abstract]",
                            "terseLabel":  "Diluted earnings per common share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDilutedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerSharePolicyTextBlock":  {
                "auth_ref":  [
                    "r99",
                    "r119",
                    "r120",
                    "r121"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security.  Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
                            "label":  "Earnings Per Share, Policy [Policy Text Block]",
                            "terseLabel":  "Earnings Per Share"
                            }
                        }
                    },
                "localname":  "EarningsPerSharePolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EarningsPerShareReconciliationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Earnings Per Share Reconciliation [Abstract]",
                            "terseLabel":  "Computation of basic and diluted earnings per share of common stock"
                            }
                        }
                    },
                "localname":  "EarningsPerShareReconciliationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r123"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for earnings per share.",
                            "label":  "Earnings Per Share [Text Block]",
                            "terseLabel":  "Earnings Per Common Share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShare"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r329"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "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.  Excludes amounts 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":  "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
                            "terseLabel":  "Effect of exchange rates on cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EffectiveIncomeTaxRateContinuingOperations":  {
                "auth_ref":  [
                    "r104",
                    "r270",
                    "r271"
                    ],
                "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 (as a percent)"
                            }
                        }
                    },
                "localname":  "EffectiveIncomeTaxRateContinuingOperations",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate":  {
                "auth_ref":  [
                    "r270",
                    "r271",
                    "r280"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
                            "label":  "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
                            "terseLabel":  "Federal statutory rate (as a percent)"
                            }
                        }
                    },
                "localname":  "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_EmployeeRelatedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r31"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "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 employee benefits"
                            }
                        }
                    },
                "localname":  "EmployeeRelatedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized":  {
                "auth_ref":  [
                    "r261"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
                            "label":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized",
                            "terseLabel":  "Unrecognized compensation cost"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1":  {
                "auth_ref":  [
                    "r261"
                    ],
                "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":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition",
                            "terseLabel":  "Weighted-average period for recognition of unrecognized compensation expense (in years)"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions":  {
                "auth_ref":  [
                    "r261"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cost to be recognized for option under share-based payment arrangement.",
                            "label":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options",
                            "terseLabel":  "Unrecognized compensation cost"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeStockOptionMember":  {
                "auth_ref":  [
                    "r259"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
                            "label":  "Employee Stock Option [Member]",
                            "terseLabel":  "Stock Options"
                            }
                        }
                    },
                "localname":  "EmployeeStockOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems":  {
                "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":  "Revenue from External Customer [Line Items]",
                            "terseLabel":  "Revenue from external customers"
                            }
                        }
                    },
                "localname":  "EntityWideInformationRevenueFromExternalCustomerLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Stockholders' Equity"
                            }
                        }
                    },
                "localname":  "EquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityClassOfTreasuryStockLineItems":  {
                "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":  "Exchangeable Shares and Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "EquityClassOfTreasuryStockLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r214"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "domainItemType"
                },
            "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 Measurements"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable":  {
                "auth_ref":  [
                    "r317",
                    "r318",
                    "r319",
                    "r323"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r232",
                    "r233",
                    "r235",
                    "r318",
                    "r362"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r317",
                    "r318",
                    "r320",
                    "r321",
                    "r324"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r322"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurements"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel2Member":  {
                "auth_ref":  [
                    "r232",
                    "r233",
                    "r235",
                    "r318",
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
                            "label":  "Fair Value Inputs Level2 [Member]",
                            "terseLabel":  "Level 2"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel2Member",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel3Member":  {
                "auth_ref":  [
                    "r232",
                    "r233",
                    "r235",
                    "r318",
                    "r364"
                    ],
                "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 Level3 [Member]",
                            "terseLabel":  "Level 3"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel3Member",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Fair Value Measurement Frequency [Domain]",
                            "terseLabel":  "Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity.  Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
                            "label":  "Fair Value Measurement, Policy [Policy Text Block]",
                            "terseLabel":  "Fair Value of Financial Instruments"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
                            "label":  "Fair Value Measurements Fair Value Hierarchy [Domain]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsRecurringMember":  {
                "auth_ref":  [
                    "r322",
                    "r324"
                    ],
                "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 Measurements Recurring [Member]",
                            "terseLabel":  "Fair Value, Measurements, Recurring"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsRecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinanceLeaseInterestExpense":  {
                "auth_ref":  [
                    "r339",
                    "r345",
                    "r354"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesDetails":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseInterestPaymentOnLiability":  {
                "auth_ref":  [
                    "r341",
                    "r348"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of interest paid on finance lease liability.",
                            "label":  "Finance Lease, Interest Payment on Liability",
                            "terseLabel":  "Operating cash flows from finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseInterestPaymentOnLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Finance Lease, Liability, Payment, Due [Abstract]",
                            "terseLabel":  "Finance lease"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilitiesPaymentsDueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinanceLeaseLiability":  {
                "auth_ref":  [
                    "r338",
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetailscalc2":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "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"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock":  {
                "auth_ref":  [
                    "r353"
                    ],
                "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, Maturity [Table Text Block]",
                            "terseLabel":  "Schedule of maturities for finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityMaturityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDue":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetailscalc2":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "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 lease payments"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_FinanceLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for finance lease, due after fifth fiscal year following latest fiscal year.",
                            "label":  "Finance Lease, Liability, Payments, Due after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for finance lease, due in fifth fiscal year following latest fiscal year.",
                            "label":  "Finance Lease, Liability, Payments, Due Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for finance lease, due in fourth fiscal year following latest fiscal year.",
                            "label":  "Finance Lease, Liability, Payments, Due Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for finance lease, due in third fiscal year following latest fiscal year.",
                            "label":  "Finance Lease, Liability, Payments, Due Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for finance lease, due in second fiscal year following latest fiscal year.",
                            "label":  "Finance Lease, Liability, Payments, Due Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsDueYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for finance lease, due in remainder of fiscal year following latest fiscal year ended.",
                            "label":  "Finance Lease, Liability, Payments, Remainder of Fiscal Year",
                            "terseLabel":  "2021 (remaining nine months)"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetailscalc2":  {
                        "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 payments in excess of discounted obligation for lease payments for finance lease.",
                            "label":  "Finance Lease, Liability, Undiscounted Excess Amount",
                            "terseLabel":  "Less imputed interest"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityUndiscountedExcessAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeasePrincipalPayments":  {
                "auth_ref":  [
                    "r340",
                    "r348"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow for principal payment on finance lease.",
                            "label":  "Finance Lease, Principal Payments",
                            "negatedLabel":  "Payments of principal on finance lease obligations",
                            "terseLabel":  "Financing cash flows from finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeasePrincipalPayments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseRightOfUseAssetAmortization":  {
                "auth_ref":  [
                    "r339",
                    "r345",
                    "r354"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesDetails":  {
                        "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 right-of-use assets"
                            }
                        }
                    },
                "localname":  "FinanceLeaseRightOfUseAssetAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent":  {
                "auth_ref":  [
                    "r351",
                    "r354"
                    ],
                "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":  "Weighted-average discount rate - Finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseWeightedAverageDiscountRatePercent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1":  {
                "auth_ref":  [
                    "r350",
                    "r354"
                    ],
                "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":  "Weighted-average remaining lease term (years) - Finance leases"
                            }
                        }
                    },
                "localname":  "FinanceLeaseWeightedAverageRemainingLeaseTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetUsefulLife":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Finite-Lived Intangible Asset, Useful Life",
                            "terseLabel":  "Estimated Useful Lives (years)"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetUsefulLife",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization":  {
                "auth_ref":  [
                    "r184"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FiniteLivedIntangibleAssetsNet",
                        "weight":  -1.0
                        }
                    },
                "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"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAccumulatedAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized after the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized in the remainder of the fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Remainder of Fiscal Year",
                            "terseLabel":  "Expense remainder of fiscal year"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive":  {
                "auth_ref":  [
                    "r186"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour":  {
                "auth_ref":  [
                    "r186"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the fourth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree":  {
                "auth_ref":  [
                    "r186"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the third fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo":  {
                "auth_ref":  [
                    "r186"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the second fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis":  {
                "auth_ref":  [
                    "r179",
                    "r181",
                    "r184",
                    "r188",
                    "r365"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by major type or class of finite-lived intangible assets.",
                            "label":  "Finite-Lived Intangible Assets by Major Class [Axis]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsByMajorClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Finite-Lived Intangible Assets, Net, Amortization Expense, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Estimated aggregate future amortization expense"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsGross":  {
                "auth_ref":  [
                    "r184",
                    "r365"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_FiniteLivedIntangibleAssetsNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Gross",
                            "terseLabel":  "Gross Carrying Amount"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsGross",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "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":  "Intangible assets",
                            "verboseLabel":  "Definite-lived intangible assets"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain":  {
                "auth_ref":  [
                    "r179",
                    "r183"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
                            "label":  "Finite Lived Intangible Assets Major Class Name [Domain]",
                            "terseLabel":  "Finite-Lived Intangible Assets, Major Class Name [Domain]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsMajorClassNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsNet":  {
                "auth_ref":  [
                    "r184"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Net",
                            "totalLabel":  "Net Carrying Value"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock":  {
                "auth_ref":  [
                    "r99",
                    "r328",
                    "r331"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
                            "label":  "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
                            "terseLabel":  "Foreign Currency Translation"
                            }
                        }
                    },
                "localname":  "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges":  {
                "auth_ref":  [
                    "r91"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of gain (loss) from the difference between the sale price or salvage price and the book value of an asset that was sold or retired, and gain (loss) from the write down of assets from their carrying value to fair value.",
                            "label":  "Gain (Loss) on Sale of Assets and Asset Impairment Charges",
                            "negatedLabel":  "Loss (gain) on disposal and impairment of assets"
                            }
                        }
                    },
                "localname":  "GainLossOnSalesOfAssetsAndAssetImpairmentCharges",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Goodwill":  {
                "auth_ref":  [
                    "r170",
                    "r171"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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",
                            "periodEndLabel":  "Balance",
                            "periodStartLabel":  "Balance",
                            "terseLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "Goodwill",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Goodwill and Intangible Assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r189"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for goodwill and intangible assets.",
                            "label":  "Goodwill and Intangible Assets Disclosure [Text Block]",
                            "terseLabel":  "Goodwill and Intangible Assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssets"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillForeignCurrencyTranslationGainLoss":  {
                "auth_ref":  [
                    "r173"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of foreign currency translation gain (loss) which increases (decreases) an asset representing future economic benefits from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Foreign Currency Translation Gain (Loss)",
                            "negatedLabel":  "Translation adjustment"
                            }
                        }
                    },
                "localname":  "GoodwillForeignCurrencyTranslationGainLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillGross":  {
                "auth_ref":  [
                    "r172",
                    "r174"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount before 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, Gross",
                            "periodEndLabel":  "Goodwill",
                            "periodStartLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillGross",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillImpairedAccumulatedImpairmentLoss":  {
                "auth_ref":  [
                    "r172",
                    "r174"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accumulated impairment loss for 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, Impaired, Accumulated Impairment Loss",
                            "negatedPeriodEndLabel":  "Accumulated impairment loss",
                            "negatedPeriodStartLabel":  "Accumulated impairment loss"
                            }
                        }
                    },
                "localname":  "GoodwillImpairedAccumulatedImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillImpairedAccumulatedImpairmentLossAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Goodwill, Impaired, Accumulated Impairment Loss [Abstract]",
                            "terseLabel":  "Carrying Amount of Goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillImpairedAccumulatedImpairmentLossAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GrossProfit":  {
                "auth_ref":  [
                    "r70"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  1.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",
                            "terseLabel":  "Gross Profit",
                            "totalLabel":  "Gross profit"
                            }
                        }
                    },
                "localname":  "GrossProfit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest":  {
                "auth_ref":  [
                    "r64",
                    "r108",
                    "r378",
                    "r384",
                    "r401"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "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 taxes"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeStatementAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Condensed Consolidated Statements of Operations and Comprehensive Income"
                            }
                        }
                    },
                "localname":  "IncomeStatementAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeStatementLocationAxis":  {
                "auth_ref":  [
                    "r195"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by location in the income statement.",
                            "label":  "Income Statement Location [Axis]"
                            }
                        }
                    },
                "localname":  "IncomeStatementLocationAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeStatementLocationDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Location in the income statement.",
                            "label":  "Income Statement Location [Domain]",
                            "terseLabel":  "Income Statement Location [Domain]"
                            }
                        }
                    },
                "localname":  "IncomeStatementLocationDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IncomeTaxAuthorityAxis":  {
                "auth_ref":  [
                    "r273"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by tax jurisdiction.",
                            "label":  "Income Tax Authority [Axis]"
                            }
                        }
                    },
                "localname":  "IncomeTaxAuthorityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxAuthorityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
                            "label":  "Income Tax Authority [Domain]",
                            "terseLabel":  "Income Tax Authority [Domain]"
                            }
                        }
                    },
                "localname":  "IncomeTaxAuthorityDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IncomeTaxDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureTextBlock":  {
                "auth_ref":  [
                    "r284"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxes"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r100",
                    "r144",
                    "r282"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "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",
                            "verboseLabel":  "Provision for income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeTaxPolicyTextBlock":  {
                "auth_ref":  [
                    "r59",
                    "r99",
                    "r267",
                    "r268",
                    "r274",
                    "r275",
                    "r278",
                    "r283",
                    "r410"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxesPaidNet":  {
                "auth_ref":  [
                    "r94"
                    ],
                "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, net of any cash received during the current period as refunds for the overpayment of taxes.",
                            "label":  "Income Taxes Paid, Net",
                            "terseLabel":  "Cash paid for income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxesPaidNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "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":  "Trade accounts and notes receivable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsAndNotesReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsPayableTrade":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  14.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Change in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.",
                            "label":  "Increase (Decrease) in Accounts Payable, Trade",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsPayableTrade",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  16.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
                            "label":  "Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities",
                            "verboseLabel":  "Other accrued expenses and liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  15.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate amount of obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.",
                            "label":  "Increase (Decrease) in Employee Related Liabilities",
                            "terseLabel":  "Accrued compensation and employee benefits"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInEmployeeRelatedLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInInventories":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Increase (Decrease) in Operating Capital [Abstract]",
                            "terseLabel":  "Changes in assets and liabilities net of effects of acquisitions:"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingCapitalAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "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 assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInStockholdersEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements":  {
                "auth_ref":  [
                    "r114",
                    "r120"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails":  {
                        "order":  1.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":  "Add:  Common Stock Equivalents"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_IndefiniteLivedTradeNames":  {
                "auth_ref":  [
                    "r187"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Carrying amount (original costs adjusted for previously recognized amortization and impairment) as of the balance sheet date for the rights acquired through registration of a trade name to gain or protect exclusive use thereof for a projected indefinite period of benefit.",
                            "label":  "Indefinite-Lived Trade Names",
                            "terseLabel":  "Tradenames"
                            }
                        }
                    },
                "localname":  "IndefiniteLivedTradeNames",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsIndefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InsuranceAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Insurance Liabilities"
                            }
                        }
                    },
                "localname":  "InsuranceAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "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":  "Insurance recovery receivable"
                            }
                        }
                    },
                "localname":  "InsuranceSettlementsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IntangibleAssetsNetExcludingGoodwill":  {
                "auth_ref":  [
                    "r177",
                    "r182"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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":  "Intangible assets, net"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsNetExcludingGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpense":  {
                "auth_ref":  [
                    "r62",
                    "r142",
                    "r332",
                    "r335",
                    "r388"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "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",
                            "terseLabel":  "Interest expense"
                            }
                        }
                    },
                "localname":  "InterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpenseDebt":  {
                "auth_ref":  [
                    "r73",
                    "r212"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
                            "label":  "Interest Expense, Debt",
                            "negatedLabel":  "Interest expense"
                            }
                        }
                    },
                "localname":  "InterestExpenseDebt",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeExpenseNet":  {
                "auth_ref":  [
                    "r387"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The net amount of operating interest income (expense).",
                            "label":  "Investment Income, Interest",
                            "negatedTerseLabel":  "Interest income"
                            }
                        }
                    },
                "localname":  "InterestIncomeExpenseNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPaidNet":  {
                "auth_ref":  [
                    "r85",
                    "r88",
                    "r94"
                    ],
                "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",
                            "terseLabel":  "Cash paid for interest"
                            }
                        }
                    },
                "localname":  "InterestPaidNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestRateSwapMember":  {
                "auth_ref":  [
                    "r315"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
                            "label":  "Interest Rate Swap [Member]",
                            "terseLabel":  "Interest rate swap agreements"
                            }
                        }
                    },
                "localname":  "InterestRateSwapMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_InventoryNet":  {
                "auth_ref":  [
                    "r3",
                    "r40",
                    "r168"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.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, net"
                            }
                        }
                    },
                "localname":  "InventoryNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InventoryWriteDown":  {
                "auth_ref":  [
                    "r169"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels.",
                            "label":  "Inventory Write-down",
                            "terseLabel":  "Provision for obsolescence of inventory"
                            }
                        }
                    },
                "localname":  "InventoryWriteDown",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LeaseAgreementsMember":  {
                "auth_ref":  [
                    "r289"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Contractual agreement that stipulates the lessee pay the lessor for use of an asset.",
                            "label":  "Lease Agreements [Member]",
                            "terseLabel":  "Leasehold interests"
                            }
                        }
                    },
                "localname":  "LeaseAgreementsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LeaseCost":  {
                "auth_ref":  [
                    "r352",
                    "r354"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesDetails":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LeaseCostAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Lease, Cost [Abstract]",
                            "terseLabel":  "Components of lease expense"
                            }
                        }
                    },
                "localname":  "LeaseCostAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LeaseCostTableTextBlock":  {
                "auth_ref":  [
                    "r352"
                    ],
                "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":  "Summary of components of lease expense"
                            }
                        }
                    },
                "localname":  "LeaseCostTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeFinanceLeaseDescriptionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Lessee, Finance Lease, Description [Abstract]",
                            "terseLabel":  "Finance leases included in property and equipment"
                            }
                        }
                    },
                "localname":  "LesseeFinanceLeaseDescriptionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "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":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeLeaseDescriptionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails",
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeLeaseDescriptionTable":  {
                "auth_ref":  [
                    "r344"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about lessee's leases.",
                            "label":  "Lessee, Lease, Description [Table]"
                            }
                        }
                    },
                "localname":  "LesseeLeaseDescriptionTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails",
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend":  {
                "auth_ref":  [
                    "r343"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicates (true false) whether lessee has option to extend operating lease.",
                            "label":  "Lessee, Operating Lease, Existence of Option to Extend [true false]",
                            "terseLabel":  "Option to extend"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseExistenceOfOptionToExtend",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock":  {
                "auth_ref":  [
                    "r353"
                    ],
                "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":  "Schedule of maturities for operating leases"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetailscalc2":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due",
                            "totalLabel":  "Total lease payments"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 for operating lease, due after fifth fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for operating lease, due in fifth fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for operating lease, due in fourth fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for operating lease, due in third fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "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 payments for operating lease, due in second fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease having an initial or remaining lease term in excess of one year due in remainder of fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Remainder of Fiscal Year",
                            "terseLabel":  "2021 (remaining nine months)"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount":  {
                "auth_ref":  [
                    "r353"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetailscalc2":  {
                        "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",
                            "terseLabel":  "Less imputed interest"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseRenewalTerm":  {
                "auth_ref":  [
                    "r343"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Lessee Leasing Arrangements, Operating Leases, Renewal Term",
                            "verboseLabel":  "Renewal lease term (in years)"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseRenewalTerm",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_LesseeOperatingLeaseTermOfContract":  {
                "auth_ref":  [
                    "r343"
                    ],
                "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":  "Lease term (in years)"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseTermOfContract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r30"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r20",
                    "r382",
                    "r396"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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 stockholders' equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Liabilities and Equity [Abstract]",
                            "terseLabel":  "Liabilities and Stockholders' Equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesCurrent":  {
                "auth_ref":  [
                    "r32"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesFairValueAdjustment":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of addition (reduction) to the amount at which a liability could be incurred (settled) in a current transaction between willing parties.",
                            "label":  "Liabilities, Fair Value Adjustment",
                            "terseLabel":  "Change in fair value"
                            }
                        }
                    },
                "localname":  "LiabilitiesFairValueAdjustment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesNoncurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Liabilities, Noncurrent [Abstract]",
                            "terseLabel":  "Non-current liabilities:"
                            }
                        }
                    },
                "localname":  "LiabilitiesNoncurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsAndClaimsAdjustmentExpense":  {
                "auth_ref":  [
                    "r394",
                    "r402",
                    "r403"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate amount of policy reserves (provided for future obligations including unpaid claims and claims adjustment expenses) and policy benefits (liability for future policy benefits) as of the balance sheet date; grouped amount of all the liabilities associated with the company's insurance policies.",
                            "label":  "Liability for Future Policy Benefits and Unpaid Claims and Claims Adjustment Expense",
                            "terseLabel":  "Reserve for insurance"
                            }
                        }
                    },
                "localname":  "LiabilityForFuturePolicyBenefitsAndUnpaidClaimsAndClaimsAdjustmentExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity":  {
                "auth_ref":  [
                    "r29"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Current Borrowing Capacity",
                            "terseLabel":  "Available borrowings under the facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityCurrentBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r29"
                    ],
                "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",
                            "verboseLabel":  "Maximum amount under the facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r162"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for claims held for amounts due a entity, excluding financing receivables.  Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables.  Includes disclosure for allowance for credit losses.",
                            "label":  "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
                            "terseLabel":  "Accounts Receivable"
                            }
                        }
                    },
                "localname":  "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivable"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
                            "label":  "London Interbank Offered Rate L I B O R [Member]",
                            "terseLabel":  "LIBOR"
                            }
                        }
                    },
                "localname":  "LondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongLivedAssetsByGeographicAreasTableTextBlock":  {
                "auth_ref":  [
                    "r155"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of long-lived assets, excluding financial instruments, long-term customer relationships of a financial institution, mortgage rights, deferred policy acquisition costs, and deferred tax assets, by geographic areas located in the entity's country of domicile and foreign countries in which the entity holds assets.",
                            "label":  "Long-lived Assets by Geographic Areas [Table Text Block]",
                            "terseLabel":  "Schedule of property and equipment by major geographic area"
                            }
                        }
                    },
                "localname":  "LongLivedAssetsByGeographicAreasTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LongTermDebtAndCapitalLeaseObligations":  {
                "auth_ref":  [
                    "r12"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails":  {
                        "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 noncurrent.",
                            "label":  "Long-term Debt and Capital Lease Obligations",
                            "verboseLabel":  "Long-term debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtAndCapitalLeaseObligations",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent":  {
                "auth_ref":  [
                    "r31"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                        "weight":  1.0
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "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 Capital Lease Obligations, Current",
                            "terseLabel":  "Current portion of long-term debt",
                            "verboseLabel":  "Less current portion"
                            }
                        }
                    },
                "localname":  "LongTermDebtAndCapitalLeaseObligationsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails":  {
                        "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 Capital Lease Obligations, Including Current Maturities",
                            "totalLabel":  "Carrying value of debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtComponentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtByMaturityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Long-term Debt, Fiscal Year Maturity [Abstract]",
                            "verboseLabel":  "Debt maturities"
                            }
                        }
                    },
                "localname":  "LongTermDebtByMaturityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive":  {
                "auth_ref":  [
                    "r106",
                    "r210"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing after the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive":  {
                "auth_ref":  [
                    "r106",
                    "r210"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour":  {
                "auth_ref":  [
                    "r106",
                    "r210"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree":  {
                "auth_ref":  [
                    "r106",
                    "r210"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo":  {
                "auth_ref":  [
                    "r106",
                    "r210"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r106"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the remainder of the fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal, Remainder of Fiscal Year",
                            "terseLabel":  "2021 (remaining nine months)"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtMaturitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtNoncurrent":  {
                "auth_ref":  [
                    "r34"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "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 noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt, Excluding Current Maturities",
                            "verboseLabel":  "Long-term debt, less current portion"
                            }
                        }
                    },
                "localname":  "LongTermDebtNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtPercentageBearingVariableInterestRate":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a rate subject to change from time to time.",
                            "label":  "Long-term Debt, Percentage Bearing Variable Interest, Percentage Rate",
                            "terseLabel":  "Borrowing interest rate (as a percent)"
                            }
                        }
                    },
                "localname":  "LongTermDebtPercentageBearingVariableInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_LongTermDebtTextBlock":  {
                "auth_ref":  [
                    "r213"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for long-term debt.",
                            "label":  "Long-term Debt [Text Block]",
                            "terseLabel":  "Long-Term Debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebt"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LossContingenciesByNatureOfContingencyAxis":  {
                "auth_ref":  [
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r204",
                    "r205",
                    "r206",
                    "r208",
                    "r209"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "LossContingenciesByNatureOfContingencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "LossContingenciesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LossContingenciesTable":  {
                "auth_ref":  [
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r204",
                    "r205",
                    "r206",
                    "r208",
                    "r209"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "LossContingenciesTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LossContingencyNatureDomain":  {
                "auth_ref":  [
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r204",
                    "r205",
                    "r206",
                    "r208",
                    "r209"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r87"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "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, Continuing Operations",
                            "totalLabel":  "Cash (used in) provided by financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r87"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "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, Continuing Operations",
                            "totalLabel":  "Cash used in investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r87",
                    "r89",
                    "r92"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "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, Continuing Operations",
                            "totalLabel":  "Cash used in operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLoss":  {
                "auth_ref":  [
                    "r53",
                    "r56",
                    "r67",
                    "r92",
                    "r120",
                    "r385",
                    "r399"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  1.0
                        },
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeCalc2":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "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",
                            "verboseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "NetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails",
                    "http://www.gms.com/role/DisclosureSegmentsReconciliationOfNetIncomeToAdjustedEbitdaDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic":  {
                "auth_ref":  [
                    "r108",
                    "r111"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "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",
                            "totalLabel":  "Net income attributable to common stockholders"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "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":  "Recently Adopted Accounting Pronouncements"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r72"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
                            "label":  "Nonoperating Income (Expense)",
                            "totalLabel":  "Total other expense, net"
                            }
                        }
                    },
                "localname":  "NonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NumberOfOperatingSegments":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of operating segments.  An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available.  An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
                            "label":  "Number of Operating Segments",
                            "terseLabel":  "Number of operating segments"
                            }
                        }
                    },
                "localname":  "NumberOfOperatingSegments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_NumberOfReportableSegments":  {
                "auth_ref":  [
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent":  {
                "auth_ref":  [
                    "r51",
                    "r60"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax, before reclassification adjustments, of other comprehensive income (loss), attributable to parent.",
                            "label":  "OCI, before Reclassifications, Net of Tax, Attributable to Parent",
                            "terseLabel":  "Other comprehensive income before reclassification"
                            }
                        }
                    },
                "localname":  "OciBeforeReclassificationsNetOfTaxAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingExpenses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services.  Includes selling, general and administrative expense.",
                            "label":  "Operating Expenses",
                            "totalLabel":  "Total operating expenses"
                            }
                        }
                    },
                "localname":  "OperatingExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingExpensesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Operating Expenses [Abstract]",
                            "terseLabel":  "Operating expenses:"
                            }
                        }
                    },
                "localname":  "OperatingExpensesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingIncomeLoss":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "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)",
                            "totalLabel":  "Operating income"
                            }
                        }
                    },
                "localname":  "OperatingIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseCost":  {
                "auth_ref":  [
                    "r346",
                    "r354"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesDetails":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Lessee, Operating Lease, Liability, Payment, Due [Abstract]",
                            "terseLabel":  "Operating lease"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilitiesPaymentsDueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingLeaseLiability":  {
                "auth_ref":  [
                    "r338"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetailscalc2":  {
                        "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"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityCurrent":  {
                "auth_ref":  [
                    "r338"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r338"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.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":  "Long-term operating lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasePayments":  {
                "auth_ref":  [
                    "r342",
                    "r348"
                    ],
                "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",
                            "terseLabel":  "Operating cash flows from operating leases"
                            }
                        }
                    },
                "localname":  "OperatingLeasePayments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseRightOfUseAsset":  {
                "auth_ref":  [
                    "r337"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent":  {
                "auth_ref":  [
                    "r351",
                    "r354"
                    ],
                "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":  "Weighted-average discount rate - Operating leases"
                            }
                        }
                    },
                "localname":  "OperatingLeaseWeightedAverageDiscountRatePercent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1":  {
                "auth_ref":  [
                    "r350",
                    "r354"
                    ],
                "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":  "Weighted-average remaining lease term (years) - Operating leases"
                            }
                        }
                    },
                "localname":  "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Business, Basis of Presentation and Summary of Significant Accounting Policies"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r107",
                    "r109",
                    "r133",
                    "r307"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the general note to the financial statements for the reporting entity which may include, descriptions of the basis of presentation, business description, significant accounting policies, consolidations, reclassifications, new pronouncements not yet adopted and changes in accounting principles.",
                            "label":  "Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block]",
                            "terseLabel":  "Business, Basis of Presentation and Summary of Significant Accounting Policies"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_OtherAssetsNoncurrent":  {
                "auth_ref":  [
                    "r27"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.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"
                            }
                        }
                    },
                "localname":  "OtherAssetsNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax":  {
                "auth_ref":  [
                    "r46",
                    "r48"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeCalc2":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after tax and reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
                            "label":  "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax",
                            "terseLabel":  "Changes in other comprehensive income (loss), net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax":  {
                "auth_ref":  [
                    "r49"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, before reclassification, of tax expense (benefit) for gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
                            "label":  "Other Comprehensive Income (Loss), Unrealized Gain (Loss) on Derivatives Arising During Period, Tax",
                            "negatedTerseLabel":  "Other comprehensive loss on derivative instruments before reclassification, tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax":  {
                "auth_ref":  [
                    "r44",
                    "r330"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeCalc2":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "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 income",
                            "verboseLabel":  "Foreign currency translation loss"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r54",
                    "r57",
                    "r295",
                    "r296",
                    "r300"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
                            "label":  "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
                            "terseLabel":  "Change in other comprehensive income (loss), net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherCurrentLiabilitiesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing other current liabilities.",
                            "label":  "Other Current Liabilities [Member]",
                            "terseLabel":  "Other accrued expenses and current liabilities."
                            }
                        }
                    },
                "localname":  "OtherCurrentLiabilitiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OtherIntangibleAssetsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Intangible assets classified as other.",
                            "label":  "Other Intangible Assets [Member]",
                            "terseLabel":  "Other intangible assets"
                            }
                        }
                    },
                "localname":  "OtherIntangibleAssetsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OtherLiabilitiesNoncurrent":  {
                "auth_ref":  [
                    "r35"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.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":  "Other liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r74"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "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, net"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Other Nonoperating Income (Expense) [Abstract]",
                            "terseLabel":  "Other (expense) income:"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherReceivablesGrossCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AccountsNotesAndLoansReceivableNetCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, before allowance, of receivables classified as other, due within one year or the operating cycle, if longer.",
                            "label":  "Other Receivables, Gross, Current",
                            "terseLabel":  "Other receivables"
                            }
                        }
                    },
                "localname":  "OtherReceivablesGrossCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableTradeAccountsAndNotesReceivableDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic":  {
                "auth_ref":  [
                    "r115"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of earnings (loss) distributed and earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method.",
                            "label":  "Undistributed Earnings (Loss) Allocated to Participating Securities, Basic",
                            "terseLabel":  "Less:  Net income allocated to participating securities"
                            }
                        }
                    },
                "localname":  "ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  5.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":  "Payments Related to Tax Withholding for Share-based Compensation",
                            "negatedLabel":  "Payments for taxes related to net share settlement of equity awards"
                            }
                        }
                    },
                "localname":  "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired":  {
                "auth_ref":  [
                    "r77"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.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",
                            "negatedTerseLabel":  "Acquisition of businesses, net of cash acquired"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesNetOfCashAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r78"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.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":  "Purchases of property and equipment"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquirePropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PreferredStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r13"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
                            "label":  "Preferred Stock, Par or Stated Value Per Share",
                            "terseLabel":  "Preferred stock, par value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "PreferredStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_PreferredStockSharesAuthorized":  {
                "auth_ref":  [
                    "r13"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Preferred Stock, Shares Authorized",
                            "terseLabel":  "Preferred stock, shares authorized"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockSharesIssued":  {
                "auth_ref":  [
                    "r13"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury).  May be all or portion of the number of preferred shares authorized.  Excludes preferred shares that are classified as debt.",
                            "label":  "Preferred Stock, Shares Issued",
                            "terseLabel":  "Preferred stock, shares issued"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockSharesOutstanding":  {
                "auth_ref":  [
                    "r13"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders.  Does not include preferred shares that have been repurchased.",
                            "label":  "Preferred Stock, Shares Outstanding",
                            "terseLabel":  "Preferred stock, shares outstanding"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockValue":  {
                "auth_ref":  [
                    "r13"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer).  This item includes treasury stock repurchased by the entity.  Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
                            "label":  "Preferred Stock, Value, Issued",
                            "verboseLabel":  "Preferred stock, par value $0.01 per share, 50,000 shares authorized; 0 shares issued and outstanding as of July 31, 2020 and April 30, 2020"
                            }
                        }
                    },
                "localname":  "PreferredStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrepaidExpenseAndOtherAssetsCurrent":  {
                "auth_ref":  [
                    "r5",
                    "r22",
                    "r23"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ProceedsFromLinesOfCredit":  {
                "auth_ref":  [
                    "r80",
                    "r103"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
                            "label":  "Proceeds from Lines of Credit",
                            "terseLabel":  "Borrowings from revolving credit facilities",
                            "verboseLabel":  "Net borrowings"
                            }
                        }
                    },
                "localname":  "ProceedsFromLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromPaymentsForOtherFinancingActivities":  {
                "auth_ref":  [
                    "r81",
                    "r84",
                    "r105"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities classified as other.",
                            "label":  "Proceeds from (Payments for) Other Financing Activities",
                            "terseLabel":  "Other financing activities"
                            }
                        }
                    },
                "localname":  "ProceedsFromPaymentsForOtherFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfProductiveAssets":  {
                "auth_ref":  [
                    "r76"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash inflow from the sale of property, plant and equipment (capital expenditures), software, and other intangible assets.",
                            "label":  "Proceeds from Sale of Productive Assets",
                            "terseLabel":  "Proceeds from sale of assets"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfProductiveAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromStockOptionsExercised":  {
                "auth_ref":  [
                    "r79",
                    "r263"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from exercise of option under share-based payment arrangement.",
                            "label":  "Proceeds from Stock Options Exercised",
                            "terseLabel":  "Proceeds from exercises of stock options"
                            }
                        }
                    },
                "localname":  "ProceedsFromStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProfitLoss":  {
                "auth_ref":  [
                    "r53",
                    "r56",
                    "r86",
                    "r145",
                    "r151",
                    "r295",
                    "r298",
                    "r299",
                    "r303",
                    "r304"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "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",
                            "verboseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "ProfitLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentByTypeAxis":  {
                "auth_ref":  [
                    "r26",
                    "r193"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
                            "label":  "Property, Plant and Equipment, Type [Axis]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentGross":  {
                "auth_ref":  [
                    "r25",
                    "r191"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business 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, Gross",
                            "verboseLabel":  "Property and equipment"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentGross",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNet":  {
                "auth_ref":  [
                    "r7",
                    "r8",
                    "r193",
                    "r397"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "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, net of accumulated depreciation of $167,414 and $158,554, respectively",
                            "totalLabel":  "Property and equipment, net",
                            "verboseLabel":  "Property and equipment, net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTypeDomain":  {
                "auth_ref":  [
                    "r7",
                    "r191"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
                            "label":  "Property Plant And Equipment Type [Domain]",
                            "terseLabel":  "Property, Plant and Equipment, Type [Domain]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesOtherInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ProvisionForDoubtfulAccounts":  {
                "auth_ref":  [
                    "r69",
                    "r164"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  5.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":  "Provision for Doubtful Accounts",
                            "terseLabel":  "Provision for expected credit losses",
                            "verboseLabel":  "Provision"
                            }
                        }
                    },
                "localname":  "ProvisionForDoubtfulAccounts",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ReceivablesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Accounts Receivable"
                            }
                        }
                    },
                "localname":  "ReceivablesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock":  {
                "auth_ref":  [
                    "r147",
                    "r149"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the reconciliation of profit (loss) from reportable segments to the consolidated income (loss) before income tax expense (benefit) and discontinued operations.  Includes, but is not limited to, reconciliation after income tax if income tax is allocated to the reportable segment.",
                            "label":  "Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table Text Block]",
                            "terseLabel":  "Reconciliation of Adjusted EBITDA to net income"
                            }
                        }
                    },
                "localname":  "ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RelatedPartyDomain":  {
                "auth_ref":  [
                    "r361"
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyTransactionAxis":  {
                "auth_ref":  [
                    "r234",
                    "r356",
                    "r357"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of related party transaction.",
                            "label":  "Related Party Transaction [Axis]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Transaction between related party.",
                            "label":  "Related Party Transaction [Domain]",
                            "terseLabel":  "Related Party Transaction [Domain]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyTransactionLineItems":  {
                "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":  "Related Party Transaction [Line Items]",
                            "terseLabel":  "Transactions with related parties"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
                            "label":  "Related Party Transaction, Purchases from Related Party",
                            "terseLabel":  "Purchases from related party"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionPurchasesFromRelatedParty",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RelatedPartyTransactionsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Transactions With Related Parties"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis":  {
                "auth_ref":  [
                    "r234",
                    "r356",
                    "r357",
                    "r366",
                    "r367",
                    "r368",
                    "r369",
                    "r370",
                    "r371",
                    "r372",
                    "r373",
                    "r374",
                    "r375",
                    "r376",
                    "r377"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsByRelatedPartyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r361"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for related party transactions.  Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
                            "label":  "Related Party Transactions Disclosure [Text Block]",
                            "terseLabel":  "Transactions With Related Parties"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedParties"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RepaymentsOfLinesOfCredit":  {
                "auth_ref":  [
                    "r83",
                    "r103"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
                            "label":  "Repayments of Lines of Credit",
                            "negatedLabel":  "Repayments on revolving credit facilities",
                            "verboseLabel":  "Net repayments"
                            }
                        }
                    },
                "localname":  "RepaymentsOfLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtAssetBasedLendingFacilityDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtCanadianRevolvingCreditFacilityDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RepaymentsOfSeniorDebt":  {
                "auth_ref":  [
                    "r83"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash outflow for a long-term debt where the holder has highest claim on the entity's asset in case of bankruptcy or liquidation during the period.",
                            "label":  "Repayments of Senior Debt",
                            "negatedLabel":  "Payments of principal on long-term debt"
                            }
                        }
                    },
                "localname":  "RepaymentsOfSeniorDebt",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedStockUnitsRSUMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
                            "label":  "Restricted Stock Units R S U [Member]",
                            "terseLabel":  "Restricted stock units"
                            }
                        }
                    },
                "localname":  "RestrictedStockUnitsRSUMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r17",
                    "r219",
                    "r395"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                        "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    ],
                "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/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Revenue"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax":  {
                "auth_ref":  [
                    "r227",
                    "r228"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  2.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":  "Revenues",
                            "terseLabel":  "Net sales",
                            "verboseLabel":  "Total net sales"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerExcludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails",
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails",
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerTextBlock":  {
                "auth_ref":  [
                    "r231"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureRevenue"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock":  {
                "auth_ref":  [
                    "r154"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of revenue from external customers by geographic areas attributed to the entity's country of domicile and to foreign countries from which the entity derives revenue.",
                            "label":  "Revenue from External Customers by Geographic Areas [Table Text Block]",
                            "terseLabel":  "Schedule of net sales by major geographic area"
                            }
                        }
                    },
                "localname":  "RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenuePracticalExpedientFinancingComponent":  {
                "auth_ref":  [
                    "r226"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicates (true false) whether practical expedient was elected not to adjust consideration for effect of financing component when transfer and customer payment for product or service occurs within one year or less.",
                            "label":  "Revenue, Practical Expedient, Financing Component [true false]"
                            }
                        }
                    },
                "localname":  "RevenuePracticalExpedientFinancingComponent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureRevenueDetails"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "us-gaap_RevenuePracticalExpedientRemainingPerformanceObligation":  {
                "auth_ref":  [
                    "r225"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicates (true false) whether optional exemption was applied not to disclose amount of transaction price allocated to and explanation of expected timing of revenue recognition for remaining performance obligation, when contract has expected duration of one year or less or right to consideration corresponds directly to performance completed.",
                            "label":  "Revenue, Practical Expedient, Remaining Performance Obligation [true/false]"
                            }
                        }
                    },
                "localname":  "RevenuePracticalExpedientRemainingPerformanceObligation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureRevenueDetails"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems":  {
                "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":  "Revenues from External Customers and Long-Lived Assets [Line Items]"
                            }
                        }
                    },
                "localname":  "RevenuesFromExternalCustomersAndLongLivedAssetsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability":  {
                "auth_ref":  [
                    "r349",
                    "r354"
                    ],
                "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":  "Right-of-use assets obtained in exchange for lease obligations - Finance leases"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability":  {
                "auth_ref":  [
                    "r349",
                    "r354"
                    ],
                "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":  "Right-of-use assets obtained in exchange for lease obligations - Operating leases"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable":  {
                "auth_ref":  [
                    "r39"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date.  Presentation is categorized by current, noncurrent and unclassified receivables.",
                            "label":  "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableChangeInAllowanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock":  {
                "auth_ref":  [
                    "r39"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date.  Presentation is categorized by current, noncurrent and unclassified receivables.",
                            "label":  "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
                            "terseLabel":  "Schedule of trade accounts and notes receivable"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureAccountsReceivableTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock":  {
                "auth_ref":  [
                    "r51"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
                            "label":  "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
                            "terseLabel":  "Schedule of changes to accumulated other comprehensive loss, net of tax, by component"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDebtInstrumentsTextBlock":  {
                "auth_ref":  [
                    "r34",
                    "r102",
                    "r215",
                    "r216",
                    "r217",
                    "r218",
                    "r333",
                    "r334",
                    "r336",
                    "r390"
                    ],
                "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 long-term debt"
                            }
                        }
                    },
                "localname":  "ScheduleOfDebtInstrumentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r120"
                    ],
                "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]",
                            "verboseLabel":  "Schedule of computation of basic and diluted earnings per share of common stock"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable":  {
                "auth_ref":  [
                    "r153"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular presentation of the description and amount of revenues from a product or service, or a group of similar products or similar services, reported from external customers during the period, if the information is not provided as part of the reportable operating segment information.",
                            "label":  "Revenue from External Customers by Products and Services [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMainProductLinesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock":  {
                "auth_ref":  [
                    "r153"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of entity-wide revenues from external customers for each product or service or each group of similar products or services if the information is not provided as part of the reportable operating segment information.",
                            "label":  "Revenue from External Customers by Products and Services [Table Text Block]",
                            "terseLabel":  "Schedule of net sales to external customers by main product lines"
                            }
                        }
                    },
                "localname":  "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock":  {
                "auth_ref":  [
                    "r317",
                    "r318"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis.  The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
                            "label":  "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
                            "terseLabel":  "Schedule of liabilities measured at fair value on a recurring basis"
                            }
                        }
                    },
                "localname":  "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable":  {
                "auth_ref":  [
                    "r179",
                    "r183"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFiniteLivedIntangibleAssetsTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsAmortizationDetails",
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock":  {
                "auth_ref":  [
                    "r179",
                    "r183"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
                            "label":  "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
                            "terseLabel":  "Schedule of components of definite-lived intangible assets"
                            }
                        }
                    },
                "localname":  "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfGoodwillTextBlock":  {
                "auth_ref":  [
                    "r175",
                    "r176"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
                            "label":  "Schedule of Goodwill [Table Text Block]",
                            "terseLabel":  "Schedule of changes in the carrying amount of goodwill"
                            }
                        }
                    },
                "localname":  "ScheduleOfGoodwillTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock":  {
                "auth_ref":  [
                    "r210"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings for each of the five years following the date of the latest balance sheet date presented.",
                            "label":  "Schedule of Maturities of Long-term Debt [Table Text Block]",
                            "terseLabel":  "Scheduled of maturities of long-term debt"
                            }
                        }
                    },
                "localname":  "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable":  {
                "auth_ref":  [
                    "r101",
                    "r356",
                    "r357",
                    "r358",
                    "r359",
                    "r360"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule of quantitative and qualitative information pertaining to related party transactions.  Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
                            "label":  "Schedule of Related Party Transactions, by Related Party [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureTransactionsWithRelatedPartiesPurchasedInventoriesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable":  {
                "auth_ref":  [
                    "r61",
                    "r63",
                    "r156"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule of material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material.  An entity may also provide subtotals of geographic information about groups of countries.",
                            "label":  "Schedule of Revenues from External Customers and Long-Lived Assets [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesByMajorGeographicAreaDetails",
                    "http://www.gms.com/role/DisclosureSegmentsPropertyAndEquipmentNetByMajorGeographicAreaDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable":  {
                "auth_ref":  [
                    "r140",
                    "r145",
                    "r146",
                    "r148",
                    "r175"
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "ScheduleOfSegmentReportingInformationBySegmentTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock":  {
                "auth_ref":  [
                    "r140",
                    "r145",
                    "r146",
                    "r148",
                    "r175"
                    ],
                "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":  "Schedule of segment results"
                            }
                        }
                    },
                "localname":  "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable":  {
                "auth_ref":  [
                    "r238",
                    "r262"
                    ],
                "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":  "Weighted average assumptions"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock":  {
                "auth_ref":  [
                    "r240"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
                            "label":  "Schedule of Share-based Compensation, Restricted Stock Units Award Activity [Table Text Block]",
                            "terseLabel":  "Summary of restricted stock unity activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock":  {
                "auth_ref":  [
                    "r240",
                    "r249",
                    "r252"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure for stock option plans.  Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
                            "label":  "Schedule of Share-based Compensation, Stock Options, Activity [Table Text Block]",
                            "terseLabel":  "Summary of stock option activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock":  {
                "auth_ref":  [
                    "r254"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
                            "label":  "Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
                            "verboseLabel":  "Schedule of weighted average assumptions used in Black-Scholes option-pricing model"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SegmentDomain":  {
                "auth_ref":  [
                    ],
                "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":  "Segment [Domain]",
                            "terseLabel":  "Segments [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SegmentReportingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Segments"
                            }
                        }
                    },
                "localname":  "SegmentReportingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SegmentReportingDisclosureTextBlock":  {
                "auth_ref":  [
                    "r157"
                    ],
                "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":  "Segments"
                            }
                        }
                    },
                "localname":  "SegmentReportingDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegments"
                    ],
                "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 information"
                            }
                        }
                    },
                "localname":  "SegmentReportingInformationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SelfInsuranceReserve":  {
                "auth_ref":  [
                    "r35"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Carrying amount (including both current and noncurrent portions) of accrued known and estimated losses incurred as of the balance sheet date for which no insurance coverage exists, and for which a claim has been made or is probable of being asserted, typically arising from workmen's compensation-type of incidents and personal injury to nonemployees from accidents on the entity's property.",
                            "label":  "Self Insurance Reserve",
                            "terseLabel":  "Aggregate liabilities for medical self-insurance"
                            }
                        }
                    },
                "localname":  "SelfInsuranceReserve",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesInsuranceLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SellingGeneralAndAdministrativeExpense":  {
                "auth_ref":  [
                    "r71",
                    "r167"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingExpenses",
                        "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",
                            "terseLabel":  "Selling, general and administrative"
                            }
                        }
                    },
                "localname":  "SellingGeneralAndAdministrativeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SellingGeneralAndAdministrativeExpensesMember":  {
                "auth_ref":  [
                    "r75"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing selling, general and administrative expense.",
                            "label":  "Selling General And Administrative Expenses [Member]",
                            "terseLabel":  "Selling, general and administrative expenses"
                            }
                        }
                    },
                "localname":  "SellingGeneralAndAdministrativeExpensesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  9.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 Compensation",
                            "terseLabel":  "Equity-based compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod":  {
                "auth_ref":  [
                    "r245"
                    ],
                "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 (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r248"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Forfeited (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber":  {
                "auth_ref":  [
                    "r246"
                    ],
                "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":  "Outstanding, end of the period (in shares)",
                            "periodStartLabel":  "Outstanding, beginning of the period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "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":  "Number of Restricted Stock Units"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r246"
                    ],
                "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":  "Outstanding, end of the period (in dollars per share)",
                            "periodStartLabel":  "Outstanding, beginning of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "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 Exercise Price"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod":  {
                "auth_ref":  [
                    "r247"
                    ],
                "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 (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r247"
                    ],
                "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 (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate":  {
                "auth_ref":  [
                    "r257"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
                            "label":  "Fair Value Assumptions, Expected Dividend Rate",
                            "terseLabel":  "Dividend yield (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate":  {
                "auth_ref":  [
                    "r256"
                    ],
                "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":  "Fair Value Assumptions, Weighted Average Volatility Rate",
                            "terseLabel":  "Volatility (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate":  {
                "auth_ref":  [
                    "r258"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
                            "label":  "Fair Value Assumptions, Risk Free Interest Rate",
                            "terseLabel":  "Risk-free interest rate (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails"
                    ],
                "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":  "Stock options",
                            "verboseLabel":  "Equity based compensation arrangements"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]",
                            "terseLabel":  "Other disclosures"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber":  {
                "auth_ref":  [
                    "r243"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number",
                            "terseLabel":  "Exercisable at end of period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r243"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
                            "terseLabel":  "Exercisable at end of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue":  {
                "auth_ref":  [
                    "r251"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value",
                            "terseLabel":  "Intrinsic value of options exercised"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod":  {
                "auth_ref":  [
                    "r245"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period",
                            "negatedLabel":  "Options forfeited (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Gross number of share options (or share units) granted during the period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross",
                            "verboseLabel":  "Options granted (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r250"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Weighted average grant date fair value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue":  {
                "auth_ref":  [
                    "r262"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
                            "terseLabel":  "Aggregate Intrinsic Value, Outstanding"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber":  {
                "auth_ref":  [
                    "r242",
                    "r262"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of options outstanding, including both vested and non-vested options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
                            "periodEndLabel":  "Outstanding, end of the period (in shares)",
                            "periodStartLabel":  "Outstanding, beginning of the period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward":  {
                "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, Options, Outstanding [Roll Forward]",
                            "terseLabel":  "Number of Options"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r241"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
                            "periodEndLabel":  "Outstanding, end of the period (in dollars per share)",
                            "periodStartLabel":  "Outstanding, beginning of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
                            "terseLabel":  "Weighted Average Exercise Price"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue":  {
                "auth_ref":  [
                    "r252"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest options outstanding.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value",
                            "terseLabel":  "Aggregate Intrinsic Value, Vested and expected to vest at end of period"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber":  {
                "auth_ref":  [
                    "r253"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of fully vested and expected to vest options outstanding that can be converted into shares under option plan.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number",
                            "terseLabel":  "Vested and expected to vest at end of period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r253"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
                            "terseLabel":  "Vested and expected to vest at end of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain":  {
                "auth_ref":  [
                    "r236",
                    "r239"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Award under share-based payment arrangement.",
                            "label":  "Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]",
                            "terseLabel":  "Equity Award [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails",
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
                            "label":  "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Options exercised (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
                            "label":  "Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Options forfeited (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "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":  "Price to the public (in dollars per share)",
                            "verboseLabel":  "Average price per share"
                            }
                        }
                    },
                "localname":  "SharePrice",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1":  {
                "auth_ref":  [
                    "r255",
                    "r264"
                    ],
                "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":  "Fair Value Assumptions, Expected Term",
                            "terseLabel":  "Expected life (years)"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationBlackScholesOptionsPricingModelDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1":  {
                "auth_ref":  [
                    "r262"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value",
                            "terseLabel":  "Aggregate Intrinsic Value, Exercisable at end of period"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1":  {
                "auth_ref":  [
                    "r262"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted Average Remaining Contractual Life, Exercisable at end of period (in years)"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2":  {
                "auth_ref":  [
                    "r253"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted Average Remaining Contractual Life, Outstanding (in years)"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1":  {
                "auth_ref":  [
                    "r253"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for fully vested and expected to vest options outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted Average Remaining Contractual Life, Vested and expected to vest at end of period (in years)"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_StatementBusinessSegmentsAxis":  {
                "auth_ref":  [
                    "r1",
                    "r145",
                    "r175",
                    "r196",
                    "r197",
                    "r198",
                    "r404"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by business segments.",
                            "label":  "Segments [Axis]"
                            }
                        }
                    },
                "localname":  "StatementBusinessSegmentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureSegmentsNetSalesAdjustedEbitdaAndCertainOtherMeasuresDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r38",
                    "r214"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails",
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Condensed Consolidated Statements of Cash Flows"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Condensed Consolidated Balance Sheets"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Condensed Consolidated Statements of Stockholders' Equity (Unaudited)"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    ],
                "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]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationRestrictedStockUnitsDetails",
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockAppreciationRightsSARSMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period.",
                            "label":  "Stock Appreciation Rights S A R S [Member]",
                            "terseLabel":  "Stock Appreciation Rights"
                            }
                        }
                    },
                "localname":  "StockAppreciationRightsSARSMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockAppreciationRightsDeferredCompensationAndRedeemableNoncontrollingInterestsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities":  {
                "auth_ref":  [
                    "r37",
                    "r214",
                    "r215",
                    "r219"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period as a result of the conversion of convertible securities.",
                            "label":  "Stock Issued During Period, Shares, Conversion of Convertible Securities",
                            "terseLabel":  "Exercise of Exchangeable Shares (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r214",
                    "r219"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period as a result of an employee stock purchase plan.",
                            "label":  "Stock Issued During Period, Shares, Employee Stock Purchase Plans",
                            "terseLabel":  "Issuance of common stock pursuant to employee stock purchase plan (in shares)",
                            "verboseLabel":  "Number of shares purchased under ESPP"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationEmployeeStockPurchasePlanDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r214",
                    "r219"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited.",
                            "label":  "Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures",
                            "terseLabel":  "Vesting of restricted stock units (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r214",
                    "r219",
                    "r244"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of share options (or share units) exercised during the current period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
                            "negatedTerseLabel":  "Options exercised (in shares)",
                            "verboseLabel":  "Exercise of stock options (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEquityBasedCompensationStockOptionActivityDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities":  {
                "auth_ref":  [
                    "r38",
                    "r214",
                    "r219"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The gross value of stock issued during the period upon the conversion of convertible securities.",
                            "label":  "Stock Issued During Period, Value, Conversion of Convertible Securities",
                            "terseLabel":  "Exercise of Exchangeable Shares"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r214",
                    "r219"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Aggregate change in value for stock issued during the period as a result of employee stock purchase plan.",
                            "label":  "Stock Issued During Period, Value, Employee Stock Purchase Plan",
                            "terseLabel":  "Issuance of common stock pursuant to employee stock purchase plan"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised":  {
                "auth_ref":  [
                    "r38",
                    "r214",
                    "r219"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Value of stock issued as a result of the exercise of stock options.",
                            "label":  "Stock Issued During Period, Value, Stock Options Exercised",
                            "terseLabel":  "Exercise of stock options"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchaseProgramAuthorizedAmount1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of stock repurchase plan authorized.",
                            "label":  "Stock Repurchase Program, Authorized Amount",
                            "terseLabel":  "Stock repurchase program, authorized amount"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramAuthorizedAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount remaining of a stock repurchase plan authorized.",
                            "label":  "Stock Repurchase Program, Remaining Authorized Repurchase Amount",
                            "terseLabel":  "Remaining amount under repurchase program"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityExchangeableSharesShareRepurchaseProgramAndSecondaryPublicOfferingDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r14",
                    "r18",
                    "r19",
                    "r161"
                    ],
                "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",
                            "periodEndLabel":  "Balance",
                            "periodStartLabel":  "Balance"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquityAccumulatedOtherComprehensiveLossDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "verboseLabel":  "Stockholders' equity:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest":  {
                "auth_ref":  [
                    "r293",
                    "r294",
                    "r302"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.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",
                            "totalLabel":  "Total stockholders' equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest [Abstract]",
                            "terseLabel":  "Stockholders' equity:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityNoteDisclosureTextBlock":  {
                "auth_ref":  [
                    "r224"
                    ],
                "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":  "Stockholders' Equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureStockholdersEquity"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SupplementalCashFlowInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Supplemental Cash Flow Information [Abstract]",
                            "terseLabel":  "Supplemental cash flow disclosures:"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowInformationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TangibleAssetImpairmentCharges":  {
                "auth_ref":  [
                    "r0",
                    "r194"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The charge against earnings resulting from the aggregate write down of tangible assets from their carrying value to their fair value.",
                            "label":  "Tangible Asset Impairment Charges",
                            "verboseLabel":  "Impairment charges"
                            }
                        }
                    },
                "localname":  "TangibleAssetImpairmentCharges",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TradeNamesMember":  {
                "auth_ref":  [
                    "r287"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Rights acquired through registration of a business name to gain or protect exclusive use thereof.",
                            "label":  "Trade Names [Member]",
                            "terseLabel":  "Tradenames"
                            }
                        }
                    },
                "localname":  "TradeNamesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureGoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued":  {
                "auth_ref":  [
                    "r272"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return.",
                            "label":  "Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued",
                            "terseLabel":  "Reserve for uncertain tax positions"
                            }
                        }
                    },
                "localname":  "UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UseOfEstimates":  {
                "auth_ref":  [
                    "r124",
                    "r125",
                    "r126",
                    "r127",
                    "r130",
                    "r131",
                    "r132"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
                            "label":  "Use of Estimates, Policy [Policy Text Block]",
                            "terseLabel":  "Use of Estimates"
                            }
                        }
                    },
                "localname":  "UseOfEstimates",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_VariableLeaseCost":  {
                "auth_ref":  [
                    "r347",
                    "r354"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureLeasesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LeaseCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
                            "label":  "Variable Lease, Cost",
                            "terseLabel":  "Variable lease cost"
                            }
                        }
                    },
                "localname":  "VariableLeaseCost",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_VariableRateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of variable rate.",
                            "label":  "Variable Rate [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VariableRateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
                            "label":  "Variable Rate [Domain]",
                            "terseLabel":  "Variable Rate [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.gms.com/role/DisclosureLongTermDebtAcquisitionDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r112",
                    "r118"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails":  {
                        "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":  "Diluted (in shares)",
                            "totalLabel":  "Diluted weighted average common shares outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r110",
                    "r118"
                    ],
                "calculation":  {
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails":  {
                        "order":  2.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":  "Basic (in shares)",
                            "verboseLabel":  "Basic weighted average common shares outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/DisclosureEarningsPerCommonShareDetails",
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Weighted Average Number of Shares Outstanding Reconciliation [Abstract]",
                            "terseLabel":  "Weighted average common shares outstanding:"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.gms.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                }
            },
        "unitCount":  9
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
        },
    "r1":  {
        "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"
        },
    "r10":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r100":  {
        "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=26873400&loc=d3e23780-122690"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(k))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08.(e),(f))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
        },
    "r103":  {
        "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=26873400&loc=d3e23780-122690"
        },
    "r104":  {
        "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=26873400&loc=d3e23780-122690"
        },
    "r105":  {
        "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=26873400&loc=d3e24072-122690"
        },
    "r106":  {
        "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=26873400&loc=d3e24072-122690"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/topic&trid=2122369"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/topic&trid=2122394"
        },
    "r11":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1448-109256"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1377-109256"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1505-109256"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1252-109256"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1500-109256"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=SL5780133-109256"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=SL5780133-109256"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1337-109256"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r12":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117327953&loc=d3e4984-109258"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/topic&trid=2144383"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
        },
    "r128":  {
        "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"
        },
    "r129":  {
        "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"
        },
    "r13":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/topic&trid=2134479"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8615-108599"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8654-108599"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8657-108599"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8660-108599"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8663-108599"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8672-108599"
        },
    "r14":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8721-108599"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8924-108599"
        },
    "r15":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8475-108599"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9031-108599"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "a",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9038-108599"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "b",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9038-108599"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9038-108599"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/topic&trid=2134510"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4531-111522"
        },
    "r16":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5074-111524"
        },
    "r161":  {
        "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=27010918&loc=d3e74512-122707"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196772"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118955202&loc=SL82895884-210446"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "10",
        "Topic":  "330",
        "URI":  "http://asc.fasb.org/extlink&oid=68048583&loc=d3e3636-108311"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "330",
        "URI":  "http://asc.fasb.org/extlink&oid=116846819&loc=d3e3927-108312"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "330",
        "URI":  "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4542-108314"
        },
    "r17":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r170":  {
        "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"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13854-109267"
        },
    "r177":  {
        "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"
        },
    "r178":  {
        "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"
        },
    "r179":  {
        "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"
        },
    "r18":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(3)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r182":  {
        "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"
        },
    "r183":  {
        "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"
        },
    "r184":  {
        "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"
        },
    "r185":  {
        "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"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(3)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/topic&trid=2144416"
        },
    "r19":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r190":  {
        "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"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r192":  {
        "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"
        },
    "r193":  {
        "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"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
        },
    "r196":  {
        "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"
        },
    "r197":  {
        "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"
        },
    "r198":  {
        "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"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/topic&trid=2144648"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r20":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14326-108349"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14615-108349"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14394-108349"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14435-108349"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14453-108349"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14472-108349"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14557-108349"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/topic&trid=2127136"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12021-110248"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12053-110248"
        },
    "r21":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=109500613&loc=SL6036836-161870"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/topic&trid=2208564"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
        },
    "r219":  {
        "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=27012166&loc=d3e187085-122770"
        },
    "r22":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r220":  {
        "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"
        },
    "r221":  {
        "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"
        },
    "r222":  {
        "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"
        },
    "r223":  {
        "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"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/topic&trid=2208762"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130558-203045"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130569-203045"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130543-203045"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130545-203045"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
        },
    "r23":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/topic&trid=49130388"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r233":  {
        "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=118255775&loc=d3e1928-114920"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(n)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a),(g)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r24":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(i)-(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r245":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r246":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r247":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r25":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r255":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r256":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(iii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r258":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r26":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r260":  {
        "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=116856206&loc=d3e5070-113901"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=SL79508275-113901"
        },
    "r264":  {
        "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=115993241&loc=d3e301413-122809"
        },
    "r265":  {
        "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=115993241&loc=d3e301413-122809"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/topic&trid=2228938"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116821951&loc=d3e32247-109318"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116821951&loc=d3e32280-109318"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116821951&loc=d3e31931-109318"
        },
    "r27":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32698-109319"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32809-109319"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32840-109319"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32847-109319"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
        },
    "r28":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r281":  {
        "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=116825942&loc=d3e330036-122817"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "05",
        "SubTopic":  "30",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=65884525&loc=d3e40913-109327"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/topic&trid=2144680"
        },
    "r285":  {
        "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"
        },
    "r286":  {
        "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"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5263-128473"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5333-128473"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5419-128473"
        },
    "r29":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "38",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5504-128473"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(4)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=35744584&loc=d3e7008-128479"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4568447-111683"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4568740-111683"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
        },
    "r298":  {
        "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"
        },
    "r299":  {
        "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"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r30":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r300":  {
        "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"
        },
    "r301":  {
        "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"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4I",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116874947&loc=SL4590271-111686"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4J",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591551-111686"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4K",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591552-111686"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3A-02)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116822174&loc=d3e355033-122828"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3A-03)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116822174&loc=d3e355100-122828"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/topic&trid=2197479"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5580258-113959"
        },
    "r31":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r32":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13433-108611"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13531-108611"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=6450222&loc=d3e30840-110895"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
        },
    "r33":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b,c)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r331":  {
        "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"
        },
    "r332":  {
        "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"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399"
        },
    "r336":  {
        "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"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918638-209977"
        },
    "r34":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(1)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(2)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r35":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(4)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918701-209980"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "53",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888399&loc=SL77918982-209971"
        },
    "r355":  {
        "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"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r357":  {
        "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"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864"
        },
    "r359":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39678-107864"
        },
    "r36":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r360":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
        },
    "r361":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/topic&trid=2122745"
        },
    "r362":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
        },
    "r363":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
        },
    "r364":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
        },
    "r365":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "340",
        "Topic":  "928",
        "URI":  "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
        },
    "r366":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
        },
    "r367":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
        },
    "r368":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
        },
    "r369":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
        },
    "r37":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r370":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
        },
    "r371":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
        },
    "r372":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
        },
    "r373":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
        },
    "r374":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
        },
    "r375":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
        },
    "r376":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(1)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
        },
    "r377":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(2)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
        },
    "r378":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "940",
        "URI":  "http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953"
        },
    "r379":  {
        "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=6876686&loc=d3e534808-122878"
        },
    "r38":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r380":  {
        "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=6876686&loc=d3e534808-122878"
        },
    "r381":  {
        "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=6876686&loc=d3e534808-122878"
        },
    "r382":  {
        "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=6876686&loc=d3e534808-122878"
        },
    "r383":  {
        "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=6876686&loc=d3e534808-122878"
        },
    "r384":  {
        "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=116637391&loc=SL114874048-224260"
        },
    "r385":  {
        "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=116637391&loc=SL114874048-224260"
        },
    "r386":  {
        "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=116637391&loc=SL114874048-224260"
        },
    "r387":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.10)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
        },
    "r388":  {
        "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=116637391&loc=SL114874048-224260"
        },
    "r389":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Subparagraph":  "(c)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.3,4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r390":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
        },
    "r391":  {
        "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=119400593&loc=d3e572229-122910"
        },
    "r392":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(5))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r393":  {
        "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=119400593&loc=d3e572229-122910"
        },
    "r394":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(13)(a)(1))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r395":  {
        "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=119400593&loc=d3e572229-122910"
        },
    "r396":  {
        "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=119400593&loc=d3e572229-122910"
        },
    "r397":  {
        "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=119400593&loc=d3e572229-122910"
        },
    "r398":  {
        "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=119400593&loc=d3e572229-122910"
        },
    "r399":  {
        "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=116637232&loc=SL114874131-224263"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r40":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r400":  {
        "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=116637232&loc=SL114874131-224263"
        },
    "r401":  {
        "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=116637232&loc=SL114874131-224263"
        },
    "r402":  {
        "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"
        },
    "r403":  {
        "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"
        },
    "r404":  {
        "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"
        },
    "r405":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
        },
    "r406":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(b)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
        },
    "r407":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "825",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
        },
    "r408":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.6-04(12)(b)(3))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996"
        },
    "r409":  {
        "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=6589523&loc=d3e617274-123014"
        },
    "r41":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r410":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "740",
        "Topic":  "954",
        "URI":  "http://asc.fasb.org/extlink&oid=6491622&loc=d3e9504-115650"
        },
    "r411":  {
        "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=6590653&loc=d3e638233-123024"
        },
    "r412":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r413":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r414":  {
        "Name":  "Form 10-Q",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-13"
        },
    "r415":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1-"
        },
    "r416":  {
        "Name":  "Regulation 12B",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r417":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a),(b),(c)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e637-108580"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e640-108580"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e681-108580"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669686-108580"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724394-108580"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e557-108580"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116657188&loc=SL116659661-227067"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6801-107765"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118951672&loc=d3e1436-108581"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-03(e))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868656-224227"
        },
    "r62":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(1))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r64":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(2)(a))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(2)(d))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r67":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r68":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r69":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r7":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r70":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r71":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.7)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r73":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r74":  {
        "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=116634182&loc=SL114868664-224227"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
        },
    "r8":  {
        "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=6877327&loc=d3e13212-122682"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3367-108585"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3000-108585"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19)(a)(5))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4297-108586"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
        }
    },
"version":  "2.1"
}


1 Subsequent Filing that References this Filing

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

11/10/20  GMS Inc.                          S-8        11/10/20    3:87K                                    Toppan Merrill/FA


1 Previous Filing that this Filing References

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

 5/16/16  GMS Inc.                          S-1/A                 11:5.6M                                   Toppan Merrill-FA
Top
Filing Submission 0001558370-20-010991   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Sat., Apr. 27, 1:29:47.4am ET