{"version":3,"sources":["../../../../src/govuk/components/fieldset/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE;IACE,YAAY;IACZ,SAAS;IACT,UAAU;IACV,SAAS;IACT,uBAAuB;EACzB;;EAEA,iDAAiD;EACjD,wEAAwE;EACxE;IACE;;MAEE,mBAAmB;IACrB;EACF;EACA,2CAA2C;;EAE3C;IACE,8BAA8B;;IAE9B,yCAAyC;IACzC,wBAAwB;IACxB,WAAW;IACX,sBAAsB,EAAE,GAAG;IAC3B,cAAc,EAAE,GAAG;IACnB,eAAe,EAAE,GAAG;IACpB,+BAA+B;IAC/B,UAAU;IACV,oCAAoC;;IAEpC,mBAAmB,EAAE,GAAG;EAC1B;;EAEA,sEAAsE;EACtE;;;IAGE,qCAAqC;IACrC,+BAA+B;EACjC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,qCAAqC;EACvC;;EAEA,2EAA2E;EAC3E,kEAAkE;EAClE;IACE,SAAS;IACT,kBAAkB;IAClB,oBAAoB;EACtB;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/fieldset\") {\n  .govuk-fieldset {\n    min-width: 0;\n    margin: 0;\n    padding: 0;\n    border: 0;\n    @include govuk-clearfix;\n  }\n\n  // Fix for Firefox < 53 (https://bugzil.la/504622)\n  // stylelint-disable selector-type-no-unknown -- Ignore 'x:-moz-any-link'\n  @supports not (caret-color: auto) {\n    .govuk-fieldset,\n    x:-moz-any-link {\n      display: table-cell;\n    }\n  }\n  // stylelint-enable selector-type-no-unknown\n\n  .govuk-fieldset__legend {\n    @include govuk-font($size: 19);\n\n    // Fix legend text wrapping in Edge and IE\n    // 1. IE9-11 & Edge 12-13\n    // 2. IE8-11\n    box-sizing: border-box; // 1\n    display: table; // 2\n    max-width: 100%; // 1\n    margin-bottom: govuk-spacing(2);\n    padding: 0;\n    color: govuk-functional-colour(text);\n\n    white-space: normal; // 1\n  }\n\n  // Modifiers that make legends look more like their equivalent headings\n  .govuk-fieldset__legend--xl,\n  .govuk-fieldset__legend--l,\n  .govuk-fieldset__legend--m {\n    @include govuk-typography-weight-bold;\n    margin-bottom: govuk-spacing(3);\n  }\n\n  .govuk-fieldset__legend--xl {\n    @include govuk-font-size($size: 48);\n  }\n\n  .govuk-fieldset__legend--l {\n    @include govuk-font-size($size: 36);\n  }\n\n  .govuk-fieldset__legend--m {\n    @include govuk-font-size($size: 24);\n  }\n\n  .govuk-fieldset__legend--s {\n    @include govuk-typography-weight-bold;\n  }\n\n  // When the legend contains an H1, we want the H1 to inherit all styles from\n  // the legend. Effectively treat the heading as if it is not there.\n  .govuk-fieldset__heading {\n    margin: 0;\n    font-size: inherit;\n    font-weight: inherit;\n  }\n}\n"]}
