{"version":3,"sources":["../../../../src/nhsuk/core/objects/_form-group.scss"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,oBAAoB;;AAEpB;EACE;IACE,sBAAsB;;IAEtB,uBAAuB;IACvB,6CAA6C;;IAE7C;;MAEE,gBAAgB,EAAE,+CAA+C;IACnE;EACF;;EAEA;IACE,8BAA8B;IAC9B,2EAA2E;;IAE3E;MACE,UAAU;MACV,sEAAsE;MACtE,SAAS;IACX;EACF;;EAEA;IACE;MACE,aAAa;MACb,mBAAmB;;MAEnB,4BAA4B;MAC5B,qBAAqB;;MAErB;QACE,gBAAgB,EAAE,6CAA6C;MACjE;;MAEA;QACE,6BAA6B;MAC/B;IACF;EACF;AACF","file":"_form-group.scss","sourcesContent":["@use \"../settings\" as *;\n@use \"../tools\" as *;\n\n@include nhsuk-exports(\"nhsuk/core/objects/form-group\") {\n  .nhsuk-form-group {\n    box-sizing: border-box;\n\n    @include nhsuk-clearfix;\n    @include nhsuk-responsive-margin(5, \"bottom\");\n\n    .nhsuk-form-group:last-child,\n    .nhsuk-form-group:last-of-type {\n      margin-bottom: 0; // Remove margin from last item in nested groups\n    }\n  }\n\n  .nhsuk-form-group--error {\n    padding-left: nhsuk-spacing(3);\n    border-left: $nhsuk-border-width-form-group-error solid $nhsuk-error-colour;\n\n    .nhsuk-form-group {\n      padding: 0;\n      // Reset error styles in nested form groups that might have error class\n      border: 0;\n    }\n  }\n\n  .nhsuk-form-group--inline {\n    @include nhsuk-media-query($from: tablet) {\n      display: flex;\n      flex-direction: row;\n\n      // Align the bottom of inputs\n      align-items: flex-end;\n\n      .nhsuk-form-group {\n        margin-bottom: 0; // Remove margin when nested groups are inline\n      }\n\n      .nhsuk-form-group + .nhsuk-form-group {\n        margin-left: nhsuk-spacing(3);\n      }\n    }\n  }\n}\n"]}
