{"version":3,"sources":["../../../../src/nhsuk/components/fieldset/_index.scss"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,4BAA4B;AAC5B,8BAA8B;;AAE9B,GAAG;AACH,qBAAqB;AACrB,EAAE;AACF,6BAA6B;AAC7B,GAAG;;AAEH;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,yCAAyC;IACzC,wBAAwB;IACxB,WAAW;IACX,sBAAsB,EAAE,GAAG;;IAE3B,cAAc,EAAE,GAAG;;IAEnB,eAAe,EAAE,GAAG;IACpB,+BAA+B;IAC/B,UAAU;;IAEV,mBAAmB,EAAE,GAAG;;IAExB,0BAA0B;IAC1B,8BAA8B;EAChC;;EAEA,sEAAsE;EACtE;;;IAGE,+BAA+B;IAC/B,+BAA+B;EACjC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,+BAA+B;EACjC;;EAEA,2EAA2E;EAC3E,kEAAkE;EAClE;IACE,SAAS;IACT,kBAAkB;IAClB,oBAAoB;EACtB;AACF","file":"_index.scss","sourcesContent":["@use \"../../core/settings\" as *;\n@use \"../../core/tools\" as *;\n@use \"../../core/helpers\" as *;\n\n////\n/// Fieldset component\n///\n/// @group components/fieldset\n////\n\n@include nhsuk-exports(\"nhsuk/components/fieldset\") {\n  .nhsuk-fieldset {\n    min-width: 0;\n    margin: 0;\n    padding: 0;\n    border: 0;\n    @include nhsuk-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    .nhsuk-fieldset,\n    x:-moz-any-link {\n      display: table-cell;\n    }\n  }\n  // stylelint-enable selector-type-no-unknown\n\n  .nhsuk-fieldset__legend {\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\n    display: table; // 2\n\n    max-width: 100%; // 1\n    margin-bottom: nhsuk-spacing(2);\n    padding: 0;\n\n    white-space: normal; // 1\n\n    @include nhsuk-text-colour;\n    @include nhsuk-font($size: 19);\n  }\n\n  // Modifiers that make legends look more like their equivalent headings\n  .nhsuk-fieldset__legend--xl,\n  .nhsuk-fieldset__legend--l,\n  .nhsuk-fieldset__legend--m {\n    margin-bottom: nhsuk-spacing(3);\n    @include nhsuk-font-weight-bold;\n  }\n\n  .nhsuk-fieldset__legend--xl {\n    @include nhsuk-font-size($size: 48);\n  }\n\n  .nhsuk-fieldset__legend--l {\n    @include nhsuk-font-size($size: 36);\n  }\n\n  .nhsuk-fieldset__legend--m {\n    @include nhsuk-font-size($size: 26);\n  }\n\n  .nhsuk-fieldset__legend--s {\n    @include nhsuk-font-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  .nhsuk-fieldset__heading {\n    margin: 0;\n    font-size: inherit;\n    font-weight: inherit;\n  }\n}\n"]}
