diff --git a/CHANGELOG.md b/CHANGELOG.md index 13ae0a718d..a32e349420 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,24 @@ 🆕 New features: +- Pull Request Title goes here + + Description goes here (optional) + + ([PR #N](https://github.com/alphagov/govuk-frontend/pull/N)) + +🔧 Fixes: + +- Pull Request Title goes here + + Description goes here (optional) + + ([PR #N](https://github.com/alphagov/govuk-frontend/pull/N)) + +## 2.2.0 (Feature release) + +🆕 New features: + - Allow classes on table header and row cells Optional classes attribute can now be used on table header and row cell item @@ -58,12 +76,6 @@ ([PR #1020](https://github.com/alphagov/govuk-frontend/pull/1020)) -- Pull Request Title goes here - - Description goes here (optional) - - ([PR #N](https://github.com/alphagov/govuk-frontend/pull/N)) - ## 2.1.0 (Feature release) 🆕 New features: diff --git a/dist/VERSION.txt b/dist/VERSION.txt index b2d5e873df..82b225a5d8 100644 --- a/dist/VERSION.txt +++ b/dist/VERSION.txt @@ -1 +1 @@ -2.1.0 +2.2.0 diff --git a/dist/govuk-frontend-2.1.0.min.css b/dist/govuk-frontend-2.1.0.min.css deleted file mode 100644 index 1329381474..0000000000 --- a/dist/govuk-frontend-2.1.0.min.css +++ /dev/null @@ -1,3 +0,0 @@ -@charset "UTF-8";.govuk-link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} - -/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */@font-face{font-family:nta;src:url(/assets/fonts/light-2c037cf7e1-v1.eot);src:url(/assets/fonts/light-2c037cf7e1-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-f38ad40456-v1.woff2) format("woff2"),url(/assets/fonts/light-458f8ea81c-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:nta;src:url(/assets/fonts/bold-fb2676462a-v1.eot);src:url(/assets/fonts/bold-fb2676462a-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-a2452cb66f-v1.woff2) format("woff2"),url(/assets/fonts/bold-f38c792ac2-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot);src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-tabular-851b10ccdd-v1.woff2) format("woff2"),url(/assets/fonts/light-tabular-62cc6f0a28-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot);src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-tabular-b89238d840-v1.woff2) format("woff2"),url(/assets/fonts/bold-tabular-784c21afb8-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}@media print{.govuk-link{font-family:sans-serif}}.govuk-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-link:link{color:#005ea5}.govuk-link:visited{color:#4c2c92}.govuk-link:active,.govuk-link:hover{color:#2b8cc4}.govuk-link:focus{color:#0b0c0c}@media print{.govuk-link[href^="/"]:after,.govuk-link[href^="http://"]:after,.govuk-link[href^="https://"]:after{content:" (" attr(href) ")";font-size:90%;word-wrap:break-word}}.govuk-link--muted:active,.govuk-link--muted:hover,.govuk-link--muted:link,.govuk-link--muted:visited{color:#6f777b}.govuk-link--muted:focus,.govuk-link--text-colour:active,.govuk-link--text-colour:focus,.govuk-link--text-colour:hover,.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#0b0c0c}@media print{.govuk-link--text-colour:active,.govuk-link--text-colour:focus,.govuk-link--text-colour:hover,.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#000}}.govuk-link--no-visited-state:link,.govuk-link--no-visited-state:visited{color:#005ea5}.govuk-link--no-visited-state:active,.govuk-link--no-visited-state:hover{color:#2b8cc4}.govuk-link--no-visited-state:focus,.govuk-list{color:#0b0c0c}.govuk-list{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-top:0;margin-bottom:15px;padding-left:0;list-style-type:none}@media print{.govuk-list{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-list{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-list{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-list{margin-bottom:20px}}.govuk-list .govuk-list{margin-top:10px}@media (min-width:40.0625em){.govuk-list>li{margin-bottom:5px}}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-template{background-color:#dee0e2}.govuk-template__body{margin:0;background-color:#fff}.govuk-heading-xl{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;display:block;margin-top:0;margin-bottom:30px}@media print{.govuk-heading-xl{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-heading-xl{font-size:32pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-heading-xl{margin-bottom:50px}}.govuk-heading-l{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;display:block;margin-top:0;margin-bottom:20px}@media print{.govuk-heading-l{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-heading-l{font-size:24pt;line-height:1.05}}@media (min-width:40.0625em){.govuk-heading-l{margin-bottom:30px}}.govuk-heading-m{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-m{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-heading-m{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-heading-m{margin-bottom:20px}}.govuk-heading-s{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-s{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-heading-s{font-size:14pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-heading-s{margin-bottom:20px}}.govuk-caption-xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-xl{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-caption-xl{font-size:27px;font-size:1.6875rem;line-height:1.11111}}@media print{.govuk-caption-xl{font-size:18pt;line-height:1.15}}.govuk-caption-l{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-l{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-caption-l{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-caption-l{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-caption-l{margin-bottom:0}}.govuk-caption-m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;color:#6f777b}@media print{.govuk-caption-m{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-caption-m{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-caption-m{font-size:14pt;line-height:1.15}}.govuk-body-l,.govuk-body-lead{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-top:0;margin-bottom:20px}@media print{.govuk-body-l,.govuk-body-lead{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body-l,.govuk-body-lead{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-body-l,.govuk-body-lead{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-body-l,.govuk-body-lead{margin-bottom:30px}}.govuk-body,.govuk-body-m{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.govuk-body,.govuk-body-m{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body,.govuk-body-m{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-body,.govuk-body-m{font-size:14pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-body,.govuk-body-m{margin-bottom:20px}}.govuk-body-s{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;margin-top:0;margin-bottom:15px}@media print{.govuk-body-s{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body-s{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-body-s{font-size:14pt;line-height:1.2}}@media (min-width:40.0625em){.govuk-body-s{margin-bottom:20px}}.govuk-body-xs{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.govuk-body-xs{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body-xs{font-size:14px;font-size:.875rem;line-height:1.42857}}@media print{.govuk-body-xs{font-size:12pt;line-height:1.2}}@media (min-width:40.0625em){.govuk-body-xs{margin-bottom:20px}}.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:5px}@media (min-width:40.0625em){.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:10px}}.govuk-body+.govuk-heading-l,.govuk-body-m+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px}@media (min-width:40.0625em){.govuk-body+.govuk-heading-l,.govuk-body-m+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:20px}}.govuk-body+.govuk-heading-m,.govuk-body+.govuk-heading-s,.govuk-body-m+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body-s+.govuk-heading-m,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-m,.govuk-list+.govuk-heading-s{padding-top:5px}@media (min-width:40.0625em){.govuk-body+.govuk-heading-m,.govuk-body+.govuk-heading-s,.govuk-body-m+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body-s+.govuk-heading-m,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-m,.govuk-list+.govuk-heading-s{padding-top:10px}}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px;margin-bottom:30px}@media (min-width:40.0625em){.govuk-section-break--xl{margin-top:50px;margin-bottom:50px}}.govuk-section-break--l{margin-top:20px;margin-bottom:20px}@media (min-width:40.0625em){.govuk-section-break--l{margin-top:30px;margin-bottom:30px}}.govuk-section-break--m{margin-top:15px;margin-bottom:15px}@media (min-width:40.0625em){.govuk-section-break--m{margin-top:20px;margin-bottom:20px}}.govuk-section-break--visible{border-bottom:1px solid #bfc1c3}.govuk-form-group{margin-bottom:20px}@media (min-width:40.0625em){.govuk-form-group{margin-bottom:30px}}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #b10e1e}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-row:after{content:"";display:block;clear:both}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-one-quarter{width:25%;float:left}}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-one-third{width:33.3333%;float:left}}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-one-half{width:50%;float:left}}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-two-thirds{width:66.6666%;float:left}}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-three-quarters{width:75%;float:left}}.govuk-grid-column-full{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-full{width:100%;float:left}}.govuk-main-wrapper{padding-top:20px;padding-bottom:20px;display:block}@media (min-width:40.0625em){.govuk-main-wrapper{padding-top:30px;padding-bottom:30px}}.govuk-main-wrapper--l{padding-top:30px}@media (min-width:40.0625em){.govuk-main-wrapper--l{padding-top:50px}}.govuk-width-container{max-width:960px;margin:0 15px}@media (min-width:40.0625em){.govuk-width-container{margin:0 30px}}@media (min-width:1020px){.govuk-width-container{margin:0 auto}}.govuk-back-link{font-size:14px;font-size:.875rem;line-height:1.14286;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;position:relative;margin-top:15px;margin-bottom:15px;padding-left:14px;border-bottom:1px solid #0b0c0c;text-decoration:none}@media (min-width:40.0625em){.govuk-back-link{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-back-link{font-size:14pt;line-height:1.2;font-family:sans-serif}}.govuk-back-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-back-link:active,.govuk-back-link:focus,.govuk-back-link:hover,.govuk-back-link:link,.govuk-back-link:visited{color:#0b0c0c}@media print{.govuk-back-link:active,.govuk-back-link:focus,.govuk-back-link:hover,.govuk-back-link:link,.govuk-back-link:visited{color:#000}}.govuk-back-link:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 50%,100% 100%,100% 0);clip-path:polygon(0 50%,100% 100%,100% 0);border-width:5px 6px 5px 0;border-right-color:inherit;content:"";position:absolute;left:0;margin:auto}.govuk-back-link:before{top:-1px;bottom:1px}.govuk-breadcrumbs{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;color:#0b0c0c;margin-top:15px;margin-bottom:10px}@media print{.govuk-breadcrumbs{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-breadcrumbs{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-breadcrumbs{font-size:14pt;line-height:1.2;color:#000}}.govuk-breadcrumbs__list{margin:0;padding:0;list-style-type:none}.govuk-breadcrumbs__list:after{content:"";display:block;clear:both}.govuk-breadcrumbs__list-item{display:inline-block;position:relative;margin-bottom:5px;margin-left:10px;padding-left:15.655px;float:left}.govuk-breadcrumbs__list-item:before{content:"";display:block;position:absolute;top:-1px;bottom:1px;left:-3.31px;width:7px;height:7px;margin:auto 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);border:solid;border-width:1px 1px 0 0;border-color:#6f777b}.govuk-breadcrumbs__list-item:first-child{margin-left:0;padding-left:0}.govuk-breadcrumbs__list-item:first-child:before{content:none;display:none}.govuk-breadcrumbs__link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-breadcrumbs__link{font-family:sans-serif}}.govuk-breadcrumbs__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus,.govuk-breadcrumbs__link:hover,.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#0b0c0c}@media print{.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus,.govuk-breadcrumbs__link:hover,.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#000}}.govuk-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.1875;box-sizing:border-box;display:inline-block;position:relative;width:100%;margin-top:0;margin-bottom:22px;padding:7px 10px;border:2px solid transparent;border-radius:0;color:#fff;background-color:#00823b;box-shadow:0 2px 0 #003618;text-align:center;vertical-align:top;cursor:pointer;-webkit-appearance:none}@media print{.govuk-button{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-button{font-size:19px;font-size:1.1875rem;line-height:1}}@media print{.govuk-button{font-size:14pt;line-height:19px}}.govuk-button:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-button{margin-bottom:32px;width:auto}}.govuk-button:active,.govuk-button:hover,.govuk-button:link,.govuk-button:visited{color:#fff;text-decoration:none}.govuk-button::-moz-focus-inner{padding:0;border:0}.govuk-button:focus,.govuk-button:hover{background-color:#00692f}.govuk-button:active{top:2px;box-shadow:none}.govuk-button:before{content:"";display:block;position:absolute;top:-2px;right:-2px;bottom:-4px;left:-2px;background:transparent}.govuk-button:active:before{top:-4px}.govuk-button--disabled,.govuk-button[disabled=disabled],.govuk-button[disabled]{opacity:.5;background:#00823b}.govuk-button--disabled:hover,.govuk-button[disabled=disabled]:hover,.govuk-button[disabled]:hover{background-color:#00823b;cursor:default}.govuk-button--disabled:focus,.govuk-button[disabled=disabled]:focus,.govuk-button[disabled]:focus{outline:none}.govuk-button--disabled:active,.govuk-button[disabled=disabled]:active,.govuk-button[disabled]:active{top:0;box-shadow:0 2px 0 #003618}.govuk-button--start{font-weight:700;font-size:18px;font-size:1.125rem;line-height:1;min-height:auto;padding:8px 40px 8px 15px;background-image:url(/assets/images/icon-pointer.png);background-repeat:no-repeat;background-position:100% 50%}@media (min-width:40.0625em){.govuk-button--start{font-size:24px;font-size:1.5rem;line-height:1}}@media print{.govuk-button--start{font-size:18pt;line-height:1}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.govuk-button--start{background-image:url(/assets/images/icon-pointer-2x.png);background-size:30px 19px}}.govuk-button,.govuk-button--start{padding-top:9px;padding-bottom:6px}.govuk-error-message{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-bottom:15px;clear:both;color:#b10e1e}@media print{.govuk-error-message{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-error-message{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-error-message{font-size:14pt;line-height:1.15}}.govuk-fieldset{margin:0;padding:0;border:0}.govuk-fieldset:after{content:"";display:block;clear:both}.govuk-fieldset__legend{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;box-sizing:border-box;display:table;max-width:100%;margin-bottom:10px;padding:0;overflow:hidden;white-space:normal}@media print{.govuk-fieldset__legend{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-fieldset__legend{font-size:14pt;line-height:1.15;color:#000}}.govuk-fieldset__legend--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;margin-bottom:15px}@media print{.govuk-fieldset__legend--xl{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-fieldset__legend--xl{font-size:32pt;line-height:1.15}}.govuk-fieldset__legend--l{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;margin-bottom:15px}@media print{.govuk-fieldset__legend--l{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-fieldset__legend--l{font-size:24pt;line-height:1.05}}.govuk-fieldset__legend--m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-bottom:15px}@media print{.govuk-fieldset__legend--m{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-fieldset__legend--m{font-size:18pt;line-height:1.15}}.govuk-fieldset__legend--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25}@media print{.govuk-fieldset__legend--s{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-fieldset__legend--s{font-size:14pt;line-height:1.15}}.govuk-fieldset__heading{margin:0;font-size:inherit;font-weight:inherit}.govuk-hint{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-bottom:15px;color:#6f777b}@media print{.govuk-hint{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-hint{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-hint{font-size:14pt;line-height:1.15}}.govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl)+.govuk-hint{margin-bottom:10px}.govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl)+.govuk-hint{margin-bottom:10px}.govuk-fieldset__legend+.govuk-hint{margin-top:-5px}.govuk-label{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;display:block;margin-bottom:5px}@media print{.govuk-label{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-label{font-size:14pt;line-height:1.15;color:#000}}.govuk-label--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;margin-bottom:15px}@media print{.govuk-label--xl{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-label--xl{font-size:32pt;line-height:1.15}}.govuk-label--l{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;margin-bottom:15px}@media print{.govuk-label--l{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-label--l{font-size:24pt;line-height:1.05}}.govuk-label--m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-bottom:10px}@media print{.govuk-label--m{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-label--m{font-size:18pt;line-height:1.15}}.govuk-label--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25}@media print{.govuk-label--s{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-label--s{font-size:14pt;line-height:1.15}}.govuk-label-wrapper{margin:0}.govuk-checkboxes__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}@media print{.govuk-checkboxes__item{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-checkboxes__item{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-checkboxes__item{font-size:14pt;line-height:1.15}}.govuk-checkboxes__item:last-child,.govuk-checkboxes__item:last-of-type{margin-bottom:0}.govuk-checkboxes__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer;margin:0;opacity:0}.govuk-checkboxes__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-checkboxes__hint{display:block;padding-right:15px;padding-left:15px}.govuk-checkboxes__input+.govuk-checkboxes__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;background:transparent}.govuk-checkboxes__input+.govuk-checkboxes__label:after{content:"";position:absolute;top:11px;left:9px;width:18px;height:7px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border:solid;border-width:0 0 5px 5px;border-top-color:transparent;opacity:0;background:transparent}.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 3px #ffbf47}.govuk-checkboxes__input:checked+.govuk-checkboxes__label:after{opacity:1}.govuk-checkboxes__input:disabled,.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{cursor:default}.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{opacity:.5}.govuk-checkboxes__conditional{margin-bottom:15px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}@media (min-width:40.0625em){.govuk-checkboxes__conditional{margin-bottom:20px}}.js-enabled .govuk-checkboxes__conditional--hidden{display:none}.govuk-checkboxes__conditional>:last-child{margin-bottom:0}.govuk-input{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;width:100%;height:40px;margin-top:0;padding:5px;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media print{.govuk-input{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-input{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-input{font-size:14pt;line-height:1.15}}.govuk-input:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-input::-webkit-inner-spin-button,.govuk-input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.govuk-input[type=number]{-moz-appearance:textfield}.govuk-input--error{border:4px solid #b10e1e}.govuk-input--width-30{max-width:59ex}.govuk-input--width-20{max-width:41ex}.govuk-input--width-10{max-width:23ex}.govuk-input--width-5{max-width:10.8ex}.govuk-input--width-4{max-width:9ex}.govuk-input--width-3{max-width:7.2ex}.govuk-input--width-2{max-width:5.4ex}.govuk-date-input{font-size:0}.govuk-date-input:after{content:"";display:block;clear:both}.govuk-date-input__item{display:inline-block;margin-right:20px;margin-bottom:0}.govuk-date-input__label{display:block}.govuk-date-input__input{margin-bottom:0}.govuk-details{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-bottom:20px;display:block}@media print{.govuk-details{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-details{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-details{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-details{margin-bottom:30px}}.govuk-details__summary{display:inline-block;position:relative;margin-bottom:5px;padding-left:25px;color:#005ea5;cursor:pointer}.govuk-details__summary-text{text-decoration:underline}.govuk-details__summary:hover{color:#2b8cc4}.govuk-details__summary:focus{outline:4px solid #ffbf47;outline-offset:-1px;color:#0b0c0c;background:#ffbf47}.govuk-details__summary::-webkit-details-marker{display:none}.govuk-details__summary:before{content:"";position:absolute;top:0;bottom:0;left:0;margin:auto;display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,100% 50%,0 100%);clip-path:polygon(0 0,100% 50%,0 100%);border-width:7px 0 7px 12.124px;border-left-color:inherit}.govuk-details[open]>.govuk-details__summary:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:12.124px 7px 0;border-top-color:inherit}.govuk-details__text{padding:15px;padding-left:20px;border-left:5px solid #bfc1c3}.govuk-details__text p{margin-top:0;margin-bottom:20px}.govuk-details__text>:last-child{margin-bottom:0}.govuk-error-summary{color:#0b0c0c;padding:15px;margin-bottom:30px;border:4px solid #b10e1e}@media print{.govuk-error-summary{color:#000}}@media (min-width:40.0625em){.govuk-error-summary{padding:20px;margin-bottom:50px}}.govuk-error-summary:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-error-summary{border:5px solid #b10e1e}}.govuk-error-summary__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-top:0;margin-bottom:15px}@media print{.govuk-error-summary__title{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-error-summary__title{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-error-summary__title{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-error-summary__title{margin-bottom:20px}}.govuk-error-summary__body{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25}@media print{.govuk-error-summary__body{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-error-summary__body{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-error-summary__body{font-size:14pt;line-height:1.15}}.govuk-error-summary__body p{margin-top:0;margin-bottom:15px}@media (min-width:40.0625em){.govuk-error-summary__body p{margin-bottom:20px}}.govuk-error-summary__list{margin-top:0;margin-bottom:0}.govuk-error-summary__list a{font-weight:700}.govuk-error-summary__list a:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-error-summary__list a:active,.govuk-error-summary__list a:hover,.govuk-error-summary__list a:link,.govuk-error-summary__list a:visited{color:#b10e1e}.govuk-error-summary__list a:focus{color:#0b0c0c}.govuk-file-upload{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c}@media print{.govuk-file-upload{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-file-upload{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-file-upload{font-size:14pt;line-height:1.15;color:#000}}.govuk-file-upload:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-file-upload--error{border:4px solid #b10e1e}.govuk-footer{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;padding-top:25px;padding-bottom:15px;border-top:1px solid #a1acb2;color:#454a4c;background:#dee0e2}@media print{.govuk-footer{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-footer{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-footer{font-size:14pt;line-height:1.2}}@media (min-width:40.0625em){.govuk-footer{padding-top:40px;padding-bottom:25px}}.govuk-footer__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-footer__link:link,.govuk-footer__link:visited{color:#454a4c}.govuk-footer__link:active,.govuk-footer__link:hover{color:#171819}.govuk-footer__link:focus{color:#0b0c0c}.govuk-footer__section-break{margin:0;margin-bottom:30px;border:0;border-bottom:1px solid #bfc1c3}@media (min-width:40.0625em){.govuk-footer__section-break{margin-bottom:50px}}.govuk-footer__meta{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.govuk-footer__meta-item{margin-right:15px;margin-bottom:25px;margin-left:15px}.govuk-footer__meta-item--grow{-webkit-box-flex:1;-ms-flex:1;flex:1}@media (max-width:40.0525em){.govuk-footer__meta-item--grow{-ms-flex-preferred-size:320px;flex-basis:320px}}.govuk-footer__licence-logo{display:inline-block;margin-right:10px;vertical-align:top}@media (max-width:48.0525em){.govuk-footer__licence-logo{margin-bottom:15px}}.govuk-footer__licence-description{display:inline-block}.govuk-footer__copyright-logo{display:inline-block;min-width:125px;padding-top:112px;background-image:url(/assets/images/govuk-crest.png);background-repeat:no-repeat;background-position:50% 0;background-size:125px 102px;text-align:center;text-decoration:none;white-space:nowrap}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.govuk-footer__copyright-logo{background-image:url(/assets/images/govuk-crest-2x.png)}}.govuk-footer__inline-list{margin-top:0;margin-bottom:15px;padding:0}.govuk-footer__meta-custom{margin-bottom:20px}.govuk-footer__inline-list-item{display:inline-block;margin-right:15px;margin-bottom:5px}.govuk-footer__heading{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid #bfc1c3}@media (min-width:40.0625em){.govuk-footer__heading{margin-bottom:40px}}@media (max-width:40.0525em){.govuk-footer__heading{padding-bottom:10px}}.govuk-footer__navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap}.govuk-footer__section{display:inline-block;margin-right:15px;margin-bottom:30px;margin-left:15px;vertical-align:top;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}@media (max-width:48.0525em){.govuk-footer__section{-ms-flex-preferred-size:200px;flex-basis:200px}}@media (min-width:48.0625em){.govuk-footer__section:first-child{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}}.govuk-footer__list{margin:0;padding:0;list-style:none;-webkit-column-gap:30px;-moz-column-gap:30px;column-gap:30px}@media (min-width:48.0625em){.govuk-footer__list--columns-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.govuk-footer__list--columns-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}}.govuk-footer__list-item{margin-bottom:15px}@media (min-width:40.0625em){.govuk-footer__list-item{margin-bottom:20px}}.govuk-footer__list-item:last-child{margin-bottom:0}.govuk-header{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;border-bottom:10px solid #fff;color:#fff;background:#0b0c0c}@media print{.govuk-header{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-header{font-size:14pt;line-height:1.2}}.govuk-header__container--full-width{padding:0 15px;border-color:#005ea5}.govuk-header__container--full-width .govuk-header__menu-button{right:15px}.govuk-header__container{position:relative;margin-bottom:-10px;padding-top:10px;border-bottom:10px solid #005ea5}.govuk-header__container:after{content:"";display:block;clear:both}.govuk-header__logotype{margin-right:5px}.govuk-header__logotype-crown{margin-right:1px;fill:currentColor;vertical-align:middle}.govuk-header__logotype-crown-fallback-image{width:36px;height:32px;border:0;vertical-align:middle}.govuk-header__product-name{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111}@media print{.govuk-header__product-name{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__product-name{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-header__product-name{font-size:18pt;line-height:1.15}}.govuk-header__link{text-decoration:none}.govuk-header__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-header__link:link,.govuk-header__link:visited{color:#fff}.govuk-header__link:hover{text-decoration:underline}.govuk-header__link:focus{color:#0b0c0c}.govuk-header__link--homepage{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;font-size:30px;line-height:30px}@media print{.govuk-header__link--homepage{font-family:sans-serif}}.govuk-header__link--homepage:link,.govuk-header__link--homepage:visited{text-decoration:none}.govuk-header__link--homepage:active,.govuk-header__link--homepage:hover{margin-bottom:-1px;border-bottom:1px solid}.govuk-header__link--service-name{display:inline-block;margin-bottom:10px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111}@media print{.govuk-header__link--service-name{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__link--service-name{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-header__link--service-name{font-size:18pt;line-height:1.15}}.govuk-header__logo{margin-bottom:10px;padding-right:50px}@media (min-width:40.0625em){.govuk-header__logo{margin-bottom:10px}}@media (min-width:48.0625em){.govuk-header__logo{width:33.33%;padding-right:0;float:left;vertical-align:top}}@media (min-width:48.0625em){.govuk-header__content{width:66.66%;float:left}}.govuk-header__menu-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;display:none;position:absolute;top:20px;right:0;margin:0;padding:0;border:0;color:#fff;background:none}@media print{.govuk-header__menu-button{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__menu-button{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-header__menu-button{font-size:14pt;line-height:1.2}}.govuk-header__menu-button:hover{text-decoration:underline}.govuk-header__menu-button:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:8.66px 5px 0;border-top-color:inherit;content:"";margin-left:5px}.govuk-header__menu-button:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-header__menu-button{top:15px}}.govuk-header__menu-button--open:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(50% 0,0 100%,100% 100%);clip-path:polygon(50% 0,0 100%,100% 100%);border-width:0 5px 8.66px;border-bottom-color:inherit}.govuk-header__navigation{margin-bottom:10px;display:block;margin:0;padding:0;list-style:none}@media (min-width:40.0625em){.govuk-header__navigation{margin-bottom:10px}}.js-enabled .govuk-header__menu-button{display:block}@media (min-width:48.0625em){.js-enabled .govuk-header__menu-button{display:none}}.js-enabled .govuk-header__navigation{display:none}@media (min-width:48.0625em){.js-enabled .govuk-header__navigation{display:block}}.js-enabled .govuk-header__navigation--open{display:block}@media (min-width:48.0625em){.govuk-header__navigation--end{margin:0;padding:5px 0;text-align:right}}.govuk-header__navigation--no-service-name{padding-top:40px}.govuk-header__navigation-item{padding:10px 0;border-bottom:1px solid #2e3133}@media (min-width:48.0625em){.govuk-header__navigation-item{display:inline-block;margin-right:15px;padding:5px 0;border:0}}.govuk-header__navigation-item a{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:14px;font-size:.875rem;line-height:1.14286;white-space:nowrap}@media print{.govuk-header__navigation-item a{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__navigation-item a{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-header__navigation-item a{font-size:14pt;line-height:1.2}}.govuk-header__navigation-item--active a:hover,.govuk-header__navigation-item--active a:link,.govuk-header__navigation-item--active a:visited{color:#1d8feb}.govuk-header__navigation-item--active a:focus{color:#0b0c0c}.govuk-header__navigation-item:last-child{margin-right:0}@media print{.govuk-header{border-bottom-width:0;color:#0b0c0c;background:transparent}.govuk-header__logotype-crown-fallback-image{display:none}.govuk-header__link:link,.govuk-header__link:visited{color:#0b0c0c}.govuk-header__link:after{display:none}}.govuk-header__logotype-crown,.govuk-header__logotype-crown-fallback-image{position:relative;top:-4px}.govuk-header{padding-top:3px}.govuk-inset-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;padding:15px;margin-top:20px;margin-bottom:20px;clear:both;border-left:10px solid #bfc1c3}@media print{.govuk-inset-text{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-inset-text{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-inset-text{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-inset-text{margin-top:30px;margin-bottom:30px}}.govuk-inset-text :first-child{margin-top:0}.govuk-inset-text :last-child,.govuk-inset-text :only-child{margin-bottom:0}.govuk-panel{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;margin-bottom:15px;padding:35px;border:5px solid transparent;text-align:center}@media print{.govuk-panel{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-panel{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-panel{font-size:14pt;line-height:1.15}}@media (max-width:40.0525em){.govuk-panel{padding:25px}}.govuk-panel--confirmation{color:#fff;background:#28a197}.govuk-panel__title{margin-top:0;margin-bottom:30px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375}@media print{.govuk-panel__title{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-panel__title{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-panel__title{font-size:32pt;line-height:1.15}}.govuk-panel__title:last-child{margin-bottom:0}.govuk-panel__body{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:24px;font-size:1.5rem;line-height:1.04167}@media print{.govuk-panel__body{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-panel__body{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-panel__body{font-size:24pt;line-height:1.05}}.govuk-tag{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:14px;font-size:.875rem;line-height:1.25;display:inline-block;padding:4px 8px;padding-bottom:1px;outline:2px solid transparent;outline-offset:-2px;color:#fff;background-color:#005ea5;letter-spacing:1px;text-decoration:none;text-transform:uppercase}@media print{.govuk-tag{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tag{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-tag{font-size:14pt;line-height:1.25}}.govuk-tag--inactive{background-color:#6f777b}.govuk-phase-banner{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #bfc1c3}.govuk-phase-banner__content{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;color:#0b0c0c;display:table;margin:0}@media print{.govuk-phase-banner__content{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-phase-banner__content{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-phase-banner__content{font-size:14pt;line-height:1.2;color:#000}}.govuk-phase-banner__content__tag{margin-right:10px}.govuk-phase-banner__text{display:table-cell;vertical-align:baseline}.govuk-tabs{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-top:5px;margin-bottom:20px}@media print{.govuk-tabs{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tabs{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-tabs{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-tabs{margin-top:5px;margin-bottom:30px}}.govuk-tabs__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-bottom:5px}@media print{.govuk-tabs__title{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tabs__title{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-tabs__title{font-size:14pt;line-height:1.15}}.govuk-tabs__list{margin:0;padding:0;list-style:none}@media (max-width:40.0525em){.govuk-tabs__list{margin-bottom:20px}}@media (max-width:40.0525em) and (min-width:40.0625em){.govuk-tabs__list{margin-bottom:30px}}.govuk-tabs__list-item{margin-left:25px}.govuk-tabs__list-item:before{content:"— ";margin-left:-25px;padding-right:5px}.govuk-tabs__tab{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:inline-block;padding-top:10px;padding-bottom:10px}.govuk-tabs__tab:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-tabs__tab:link{color:#005ea5}.govuk-tabs__tab:visited{color:#4c2c92}.govuk-tabs__tab:active,.govuk-tabs__tab:hover{color:#2b8cc4}.govuk-tabs__tab:focus{color:#0b0c0c}@media print{.govuk-tabs__tab{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tabs__tab{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-tabs__tab{font-size:14pt;line-height:1.15}}.govuk-tabs__tab[aria-current=true]{color:#0b0c0c;text-decoration:none}.govuk-tabs__panel{margin-bottom:30px}@media (min-width:40.0625em){.govuk-tabs__panel{margin-bottom:50px}}@media (min-width:40.0625em){.js-enabled .govuk-tabs__list{border-bottom:1px solid #bfc1c3}.js-enabled .govuk-tabs__list:after{content:"";display:block;clear:both}.js-enabled .govuk-tabs__list-item{margin-left:0}.js-enabled .govuk-tabs__list-item:before{content:none}.js-enabled .govuk-tabs__title{display:none}.js-enabled .govuk-tabs__tab{margin-right:5px;padding-right:20px;padding-left:20px;float:left;color:#0b0c0c;background-color:#f8f8f8;text-align:center;text-decoration:none}.js-enabled .govuk-tabs__tab--selected{margin-top:-5px;margin-bottom:-1px;padding:14px 19px 16px;border:1px solid #bfc1c3;border-bottom:0;color:#0b0c0c;background-color:#fff}.js-enabled .govuk-tabs__tab--selected:focus{background-color:transparent}.js-enabled .govuk-tabs__panel{margin-bottom:0;padding:30px 20px;border:1px solid #bfc1c3;border-top:0}}@media (min-width:40.0625em) and (min-width:40.0625em){.js-enabled .govuk-tabs__panel{margin-bottom:0}}@media (min-width:40.0625em){.js-enabled .govuk-tabs__panel--hidden{display:none}.js-enabled .govuk-tabs__panel>:last-child{margin-bottom:0}}.govuk-radios__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}@media print{.govuk-radios__item{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-radios__item{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-radios__item{font-size:14pt;line-height:1.15}}.govuk-radios__item:last-child,.govuk-radios__item:last-of-type{margin-bottom:0}.govuk-radios__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer;margin:0;opacity:0}.govuk-radios__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-radios__hint{display:block;padding-right:15px;padding-left:15px}.govuk-radios__input+.govuk-radios__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;border-radius:50%;background:transparent}.govuk-radios__input+.govuk-radios__label:after{content:"";position:absolute;top:10px;left:10px;width:0;height:0;border:10px solid currentColor;border-radius:50%;opacity:0;background:currentColor}.govuk-radios__input:focus+.govuk-radios__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 4px #ffbf47}.govuk-radios__input:checked+.govuk-radios__label:after{opacity:1}.govuk-radios__input:disabled,.govuk-radios__input:disabled+.govuk-radios__label{cursor:default}.govuk-radios__input:disabled+.govuk-radios__label{opacity:.5}@media (min-width:40.0625em){.govuk-radios--inline:after{content:"";display:block;clear:both}.govuk-radios--inline .govuk-radios__item{margin-right:20px;float:left;clear:none}}.govuk-radios--inline.govuk-radios--conditional .govuk-radios__item{margin-right:0;float:none}.govuk-radios__divider{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;width:40px;margin-bottom:10px;text-align:center}@media print{.govuk-radios__divider{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-radios__divider{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-radios__divider{font-size:14pt;line-height:1.15}}.govuk-radios__conditional{margin-bottom:15px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}@media (min-width:40.0625em){.govuk-radios__conditional{margin-bottom:20px}}.js-enabled .govuk-radios__conditional--hidden{display:none}.govuk-radios__conditional>:last-child{margin-bottom:0}.govuk-select{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;height:40px;padding:5px;border:2px solid #0b0c0c}@media print{.govuk-select{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-select{font-size:19px;font-size:1.1875rem;line-height:1.25}}@media print{.govuk-select{font-size:14pt;line-height:1.25}}.govuk-select:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-select:focus::-ms-value,.govuk-select option:active,.govuk-select option:checked{color:#fff;background-color:#005ea5}.govuk-select--error{border:4px solid #b10e1e}.govuk-skip-link{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-size:.875rem;line-height:1.14286;display:block;padding:10px 15px}.govuk-skip-link:active,.govuk-skip-link:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}@media print{.govuk-skip-link{font-family:sans-serif}}.govuk-skip-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-skip-link:active,.govuk-skip-link:focus,.govuk-skip-link:hover,.govuk-skip-link:link,.govuk-skip-link:visited{color:#0b0c0c}@media print{.govuk-skip-link:active,.govuk-skip-link:focus,.govuk-skip-link:hover,.govuk-skip-link:link,.govuk-skip-link:visited{color:#000}}@media (min-width:40.0625em){.govuk-skip-link{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-skip-link{font-size:14pt;line-height:1.2}}.govuk-table{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;width:100%;margin-bottom:20px;border-spacing:0;border-collapse:collapse}@media print{.govuk-table{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-table{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-table{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-table{margin-bottom:30px}}.govuk-table__header{font-weight:700}.govuk-table__cell,.govuk-table__header{padding:10px 20px 10px 0;border-bottom:1px solid #bfc1c3;text-align:left}.govuk-table__cell--numeric{font-family:ntatabularnumbers,nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400}@media print{.govuk-table__cell--numeric{font-family:sans-serif}}.govuk-table__cell--numeric,.govuk-table__header--numeric{text-align:right}.govuk-table__cell:last-child,.govuk-table__header:last-child{padding-right:0}.govuk-table__caption{font-weight:700;display:table-caption;text-align:left}.govuk-textarea{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;display:block;width:100%;min-height:40px;margin-bottom:20px;padding:5px;resize:vertical;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none}@media print{.govuk-textarea{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-textarea{font-size:19px;font-size:1.1875rem;line-height:1.25}}@media print{.govuk-textarea{font-size:14pt;line-height:1.25}}.govuk-textarea:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-textarea{margin-bottom:30px}}.govuk-textarea--error{border:4px solid #b10e1e}.govuk-warning-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;position:relative;margin-bottom:20px;padding:10px 0}@media print{.govuk-warning-text{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-warning-text{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-warning-text{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-warning-text{margin-bottom:30px}}.govuk-warning-text__assistive{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);border:0;white-space:nowrap}.govuk-warning-text__icon{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;position:absolute;top:50%;left:0;min-width:32px;min-height:29px;margin-top:-20px;padding-top:3px;border:3px solid #0b0c0c;border-radius:50%;color:#fff;background:#0b0c0c;font-size:1.6em;line-height:29px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media print{.govuk-warning-text__icon{font-family:sans-serif}}.govuk-warning-text__text{display:block;margin-left:-15px;padding-left:65px}.govuk-clearfix:after{content:"";display:block;clear:both}.govuk-visually-hidden{padding:0;border:0}.govuk-visually-hidden,.govuk-visually-hidden-focusable{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.govuk-visually-hidden-focusable:active,.govuk-visually-hidden-focusable:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}.govuk-\!-display-inline{display:inline!important}.govuk-\!-display-inline-block{display:inline-block!important}.govuk-\!-display-block{display:block!important}.govuk-\!-margin-0{margin:0!important}@media (min-width:40.0625em){.govuk-\!-margin-0{margin:0!important}}.govuk-\!-margin-top-0{margin-top:0!important}@media (min-width:40.0625em){.govuk-\!-margin-top-0{margin-top:0!important}}.govuk-\!-margin-right-0{margin-right:0!important}@media (min-width:40.0625em){.govuk-\!-margin-right-0{margin-right:0!important}}.govuk-\!-margin-bottom-0{margin-bottom:0!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-0{margin-bottom:0!important}}.govuk-\!-margin-left-0{margin-left:0!important}@media (min-width:40.0625em){.govuk-\!-margin-left-0{margin-left:0!important}}.govuk-\!-margin-1{margin:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-1{margin:5px!important}}.govuk-\!-margin-top-1{margin-top:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-1{margin-top:5px!important}}.govuk-\!-margin-right-1{margin-right:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-1{margin-right:5px!important}}.govuk-\!-margin-bottom-1{margin-bottom:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-1{margin-bottom:5px!important}}.govuk-\!-margin-left-1{margin-left:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-1{margin-left:5px!important}}.govuk-\!-margin-2{margin:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-2{margin:10px!important}}.govuk-\!-margin-top-2{margin-top:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-2{margin-top:10px!important}}.govuk-\!-margin-right-2{margin-right:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-2{margin-right:10px!important}}.govuk-\!-margin-bottom-2{margin-bottom:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-2{margin-bottom:10px!important}}.govuk-\!-margin-left-2{margin-left:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-2{margin-left:10px!important}}.govuk-\!-margin-3{margin:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-3{margin:15px!important}}.govuk-\!-margin-top-3{margin-top:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-3{margin-top:15px!important}}.govuk-\!-margin-right-3{margin-right:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-3{margin-right:15px!important}}.govuk-\!-margin-bottom-3{margin-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-3{margin-bottom:15px!important}}.govuk-\!-margin-left-3{margin-left:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-3{margin-left:15px!important}}.govuk-\!-margin-4{margin:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-4{margin:20px!important}}.govuk-\!-margin-top-4{margin-top:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-4{margin-top:20px!important}}.govuk-\!-margin-right-4{margin-right:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-4{margin-right:20px!important}}.govuk-\!-margin-bottom-4{margin-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-4{margin-bottom:20px!important}}.govuk-\!-margin-left-4{margin-left:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-4{margin-left:20px!important}}.govuk-\!-margin-5{margin:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-5{margin:25px!important}}.govuk-\!-margin-top-5{margin-top:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-5{margin-top:25px!important}}.govuk-\!-margin-right-5{margin-right:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-5{margin-right:25px!important}}.govuk-\!-margin-bottom-5{margin-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-5{margin-bottom:25px!important}}.govuk-\!-margin-left-5{margin-left:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-5{margin-left:25px!important}}.govuk-\!-margin-6{margin:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-6{margin:30px!important}}.govuk-\!-margin-top-6{margin-top:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-6{margin-top:30px!important}}.govuk-\!-margin-right-6{margin-right:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-6{margin-right:30px!important}}.govuk-\!-margin-bottom-6{margin-bottom:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-6{margin-bottom:30px!important}}.govuk-\!-margin-left-6{margin-left:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-6{margin-left:30px!important}}.govuk-\!-margin-7{margin:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-7{margin:40px!important}}.govuk-\!-margin-top-7{margin-top:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-7{margin-top:40px!important}}.govuk-\!-margin-right-7{margin-right:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-7{margin-right:40px!important}}.govuk-\!-margin-bottom-7{margin-bottom:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-7{margin-bottom:40px!important}}.govuk-\!-margin-left-7{margin-left:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-7{margin-left:40px!important}}.govuk-\!-margin-8{margin:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-8{margin:50px!important}}.govuk-\!-margin-top-8{margin-top:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-8{margin-top:50px!important}}.govuk-\!-margin-right-8{margin-right:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-8{margin-right:50px!important}}.govuk-\!-margin-bottom-8{margin-bottom:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-8{margin-bottom:50px!important}}.govuk-\!-margin-left-8{margin-left:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-8{margin-left:50px!important}}.govuk-\!-margin-9{margin:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-9{margin:60px!important}}.govuk-\!-margin-top-9{margin-top:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-9{margin-top:60px!important}}.govuk-\!-margin-right-9{margin-right:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-9{margin-right:60px!important}}.govuk-\!-margin-bottom-9{margin-bottom:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-9{margin-bottom:60px!important}}.govuk-\!-margin-left-9{margin-left:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-9{margin-left:60px!important}}.govuk-\!-padding-0{padding:0!important}@media (min-width:40.0625em){.govuk-\!-padding-0{padding:0!important}}.govuk-\!-padding-top-0{padding-top:0!important}@media (min-width:40.0625em){.govuk-\!-padding-top-0{padding-top:0!important}}.govuk-\!-padding-right-0{padding-right:0!important}@media (min-width:40.0625em){.govuk-\!-padding-right-0{padding-right:0!important}}.govuk-\!-padding-bottom-0{padding-bottom:0!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-0{padding-bottom:0!important}}.govuk-\!-padding-left-0{padding-left:0!important}@media (min-width:40.0625em){.govuk-\!-padding-left-0{padding-left:0!important}}.govuk-\!-padding-1{padding:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-1{padding:5px!important}}.govuk-\!-padding-top-1{padding-top:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-1{padding-top:5px!important}}.govuk-\!-padding-right-1{padding-right:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-1{padding-right:5px!important}}.govuk-\!-padding-bottom-1{padding-bottom:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-1{padding-bottom:5px!important}}.govuk-\!-padding-left-1{padding-left:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-1{padding-left:5px!important}}.govuk-\!-padding-2{padding:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-2{padding:10px!important}}.govuk-\!-padding-top-2{padding-top:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-2{padding-top:10px!important}}.govuk-\!-padding-right-2{padding-right:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-2{padding-right:10px!important}}.govuk-\!-padding-bottom-2{padding-bottom:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-2{padding-bottom:10px!important}}.govuk-\!-padding-left-2{padding-left:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-2{padding-left:10px!important}}.govuk-\!-padding-3{padding:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-3{padding:15px!important}}.govuk-\!-padding-top-3{padding-top:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-3{padding-top:15px!important}}.govuk-\!-padding-right-3{padding-right:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-3{padding-right:15px!important}}.govuk-\!-padding-bottom-3{padding-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-3{padding-bottom:15px!important}}.govuk-\!-padding-left-3{padding-left:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-3{padding-left:15px!important}}.govuk-\!-padding-4{padding:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-4{padding:20px!important}}.govuk-\!-padding-top-4{padding-top:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-4{padding-top:20px!important}}.govuk-\!-padding-right-4{padding-right:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-4{padding-right:20px!important}}.govuk-\!-padding-bottom-4{padding-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-4{padding-bottom:20px!important}}.govuk-\!-padding-left-4{padding-left:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-4{padding-left:20px!important}}.govuk-\!-padding-5{padding:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-5{padding:25px!important}}.govuk-\!-padding-top-5{padding-top:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-5{padding-top:25px!important}}.govuk-\!-padding-right-5{padding-right:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-5{padding-right:25px!important}}.govuk-\!-padding-bottom-5{padding-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-5{padding-bottom:25px!important}}.govuk-\!-padding-left-5{padding-left:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-5{padding-left:25px!important}}.govuk-\!-padding-6{padding:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-6{padding:30px!important}}.govuk-\!-padding-top-6{padding-top:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-6{padding-top:30px!important}}.govuk-\!-padding-right-6{padding-right:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-6{padding-right:30px!important}}.govuk-\!-padding-bottom-6{padding-bottom:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-6{padding-bottom:30px!important}}.govuk-\!-padding-left-6{padding-left:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-6{padding-left:30px!important}}.govuk-\!-padding-7{padding:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-7{padding:40px!important}}.govuk-\!-padding-top-7{padding-top:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-7{padding-top:40px!important}}.govuk-\!-padding-right-7{padding-right:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-7{padding-right:40px!important}}.govuk-\!-padding-bottom-7{padding-bottom:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-7{padding-bottom:40px!important}}.govuk-\!-padding-left-7{padding-left:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-7{padding-left:40px!important}}.govuk-\!-padding-8{padding:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-8{padding:50px!important}}.govuk-\!-padding-top-8{padding-top:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-8{padding-top:50px!important}}.govuk-\!-padding-right-8{padding-right:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-8{padding-right:50px!important}}.govuk-\!-padding-bottom-8{padding-bottom:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-8{padding-bottom:50px!important}}.govuk-\!-padding-left-8{padding-left:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-8{padding-left:50px!important}}.govuk-\!-padding-9{padding:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-9{padding:60px!important}}.govuk-\!-padding-top-9{padding-top:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-9{padding-top:60px!important}}.govuk-\!-padding-right-9{padding-right:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-9{padding-right:60px!important}}.govuk-\!-padding-bottom-9{padding-bottom:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-9{padding-bottom:60px!important}}.govuk-\!-padding-left-9{padding-left:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-9{padding-left:60px!important}}.govuk-\!-font-size-80{font-size:53px!important;font-size:3.3125rem!important;line-height:1.03774!important}@media (min-width:40.0625em){.govuk-\!-font-size-80{font-size:80px!important;font-size:5rem!important;line-height:1!important}}@media print{.govuk-\!-font-size-80{font-size:53pt!important;line-height:1.1!important}}.govuk-\!-font-size-48{font-size:32px!important;font-size:2rem!important;line-height:1.09375!important}@media (min-width:40.0625em){.govuk-\!-font-size-48{font-size:48px!important;font-size:3rem!important;line-height:1.04167!important}}@media print{.govuk-\!-font-size-48{font-size:32pt!important;line-height:1.15!important}}.govuk-\!-font-size-36{font-size:24px!important;font-size:1.5rem!important;line-height:1.04167!important}@media (min-width:40.0625em){.govuk-\!-font-size-36{font-size:36px!important;font-size:2.25rem!important;line-height:1.11111!important}}@media print{.govuk-\!-font-size-36{font-size:24pt!important;line-height:1.05!important}}.govuk-\!-font-size-27{font-size:18px!important;font-size:1.125rem!important;line-height:1.11111!important}@media (min-width:40.0625em){.govuk-\!-font-size-27{font-size:27px!important;font-size:1.6875rem!important;line-height:1.11111!important}}@media print{.govuk-\!-font-size-27{font-size:18pt!important;line-height:1.15!important}}.govuk-\!-font-size-24{font-size:18px!important;font-size:1.125rem!important;line-height:1.11111!important}@media (min-width:40.0625em){.govuk-\!-font-size-24{font-size:24px!important;font-size:1.5rem!important;line-height:1.25!important}}@media print{.govuk-\!-font-size-24{font-size:18pt!important;line-height:1.15!important}}.govuk-\!-font-size-19{font-size:16px!important;font-size:1rem!important;line-height:1.25!important}@media (min-width:40.0625em){.govuk-\!-font-size-19{font-size:19px!important;font-size:1.1875rem!important;line-height:1.31579!important}}@media print{.govuk-\!-font-size-19{font-size:14pt!important;line-height:1.15!important}}.govuk-\!-font-size-16{font-size:14px!important;font-size:.875rem!important;line-height:1.14286!important}@media (min-width:40.0625em){.govuk-\!-font-size-16{font-size:16px!important;font-size:1rem!important;line-height:1.25!important}}@media print{.govuk-\!-font-size-16{font-size:14pt!important;line-height:1.2!important}}.govuk-\!-font-size-14{font-size:12px!important;font-size:.75rem!important;line-height:1.25!important}@media (min-width:40.0625em){.govuk-\!-font-size-14{font-size:14px!important;font-size:.875rem!important;line-height:1.42857!important}}@media print{.govuk-\!-font-size-14{font-size:12pt!important;line-height:1.2!important}}.govuk-\!-font-weight-regular{font-weight:400!important}.govuk-\!-font-weight-bold{font-weight:700!important}.govuk-\!-width-full,.govuk-\!-width-three-quarters{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-three-quarters{width:75%!important}}.govuk-\!-width-two-thirds{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-two-thirds{width:66.66%!important}}.govuk-\!-width-one-half{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-one-half{width:50%!important}}.govuk-\!-width-one-third{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-one-third{width:33.33%!important}}.govuk-\!-width-one-quarter{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-one-quarter{width:25%!important}} \ No newline at end of file diff --git a/dist/govuk-frontend-2.1.0.min.js b/dist/govuk-frontend-2.1.0.min.js deleted file mode 100644 index b4c27f851d..0000000000 --- a/dist/govuk-frontend-2.1.0.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define("GOVUKFrontend",["exports"],e):e(t.GOVUKFrontend={})}(this,function(t){"use strict";function e(t,e){if(window.NodeList.prototype.forEach)return t.forEach(e);for(var n=0;n=c)for(;c>>0,"object"==typeof e[o]?e[o].baseVal=r.join(" "):e[o]=r.join(" "),u())},i.remove=function(){d.apply(i,t=arguments);for(var t,n={},c=0,l=[];c>>0,"object"==typeof e[o]?e[o].baseVal=r.join(" "):e[o]=r.join(" "),u()},i.toggle=function(e,n){return d.apply(i,[e]),t!==n?n?(i.add(e),!0):(i.remove(e),!1):a[e]?(i.remove(e),!1):(i.add(e),!0)},i}}()),"classList"in(o=document.createElement("span"))&&(o.classList.toggle("x",!1),o.classList.contains("x")&&(o.classList.constructor.prototype.toggle=function(e){var n=arguments[1];if(n===t){var o=!this.contains(e);return this[o?"add":"remove"](e),o}return this[(n=!!n)?"add":"remove"](e),n})),function(){var t=document.createElement("span");if("classList"in t&&(t.classList.add("a","b"),!t.classList.contains("b"))){var e=t.classList.constructor.prototype.add;t.classList.constructor.prototype.add=function(){for(var t=arguments,n=arguments.length,o=0;o0?t.className=t.className.replace(" "+e,""):t.className+=" "+e},s.prototype.handleClick=function(t){var e=this.$module,n=t.target||t.srcElement,o=e.querySelector("#"+n.getAttribute("aria-controls"));n&&o&&(this.toggleClass(o,"govuk-header__navigation--open"),this.toggleClass(n,"govuk-header__menu-button--open"),n.setAttribute("aria-expanded","true"!==n.getAttribute("aria-expanded")),o.setAttribute("aria-hidden","false"===o.getAttribute("aria-hidden")))},c.prototype.init=function(){var t=this.$module;e(this.$inputs,function(e){var n=e.getAttribute("data-aria-controls");n&&t.querySelector("#"+n)&&(e.setAttribute("aria-controls",n),e.removeAttribute("data-aria-controls"),this.setAttributes(e))}.bind(this)),t.addEventListener("click",this.handleClick.bind(this))},c.prototype.setAttributes=function(t){var e=t.checked;t.setAttribute("aria-expanded",e),document.querySelector("#"+t.getAttribute("aria-controls")).classList.toggle("govuk-radios__conditional--hidden",!e)},c.prototype.handleClick=function(t){e(this.$inputs,function(t){var e="radio"===t.getAttribute("type"),n=t.getAttribute("aria-controls");e&&n&&this.setAttributes(t)}.bind(this))},l.prototype.init=function(){"function"==typeof window.matchMedia?this.setupResponsiveChecks():this.setup()},l.prototype.setupResponsiveChecks=function(){this.mql=window.matchMedia("(min-width: 40.0625em)"),this.mql.addListener(this.checkMode.bind(this)),this.checkMode()},l.prototype.checkMode=function(){this.mql.matches?this.setup():this.teardown()},l.prototype.setup=function(){var t=this.$module,n=this.$tabs,o=t.querySelector(".govuk-tabs__list"),i=t.querySelectorAll(".govuk-tabs__list-item");if(n&&o&&i){o.setAttribute("role","tablist"),e(i,function(t){t.setAttribute("role","presentation")}),e(n,function(t){this.setAttributes(t),t.boundTabClick=this.onTabClick.bind(this),t.boundTabKeydown=this.onTabKeydown.bind(this),t.addEventListener("click",t.boundTabClick,!0),t.addEventListener("keydown",t.boundTabKeydown,!0),this.hideTab(t)}.bind(this));var r=this.getTab(window.location.hash)||this.$tabs[0];this.showTab(r),t.boundOnHashChange=this.onHashChange.bind(this),window.addEventListener("hashchange",t.boundOnHashChange,!0)}},l.prototype.teardown=function(){var t=this.$module,n=this.$tabs,o=t.querySelector(".govuk-tabs__list"),i=t.querySelectorAll(".govuk-tabs__list-item");n&&o&&i&&(o.removeAttribute("role"),e(i,function(t){t.removeAttribute("role","presentation")}),e(n,function(t){t.removeEventListener("click",t.boundTabClick,!0),t.removeEventListener("keydown",t.boundTabKeydown,!0),this.unsetAttributes(t)}.bind(this)),window.removeEventListener("hashchange",t.boundOnHashChange,!0))},l.prototype.onHashChange=function(t){var e=window.location.hash;if(this.hasTab(e))if(this.changingHash)this.changingHash=!1;else{var n=this.getCurrentTab(),o=this.getTab(e)||this.$tabs[0];this.hideTab(n),this.showTab(o),o.focus()}},l.prototype.hasTab=function(t){return this.$module.querySelector(t)},l.prototype.hideTab=function(t){this.unhighlightTab(t),this.hidePanel(t)},l.prototype.showTab=function(t){this.highlightTab(t),this.showPanel(t)},l.prototype.getTab=function(t){return this.$module.querySelector('a[role="tab"][href="'+t+'"]')},l.prototype.setAttributes=function(t){var e=this.getHref(t).slice(1);t.setAttribute("id","tab_"+e),t.setAttribute("role","tab"),t.setAttribute("aria-controls",e),t.setAttribute("tabindex","-1");var n=this.getPanel(t);n.setAttribute("role","tabpanel"),n.setAttribute("aria-labelledby",t.id),n.classList.add(this.jsHiddenClass)},l.prototype.unsetAttributes=function(t){t.removeAttribute("id"),t.removeAttribute("role"),t.removeAttribute("aria-controls"),t.removeAttribute("tabindex");var e=this.getPanel(t);e.removeAttribute("role"),e.removeAttribute("aria-labelledby"),e.classList.remove(this.jsHiddenClass)},l.prototype.onTabClick=function(t){t.preventDefault();var e=t.target,n=this.getCurrentTab();this.hideTab(n),this.showTab(e),this.createHistoryEntry(e)},l.prototype.createHistoryEntry=function(t){var e=this.getPanel(t),n=e.id;e.id="",this.changingHash=!0,window.location.hash=this.getHref(t).slice(1),e.id=n},l.prototype.onTabKeydown=function(t){switch(t.keyCode){case this.keys.left:case this.keys.up:this.activatePreviousTab(),t.preventDefault();break;case this.keys.right:case this.keys.down:this.activateNextTab(),t.preventDefault()}},l.prototype.activateNextTab=function(){var t=this.getCurrentTab(),e=t.parentNode.nextElementSibling;if(e)var n=e.firstElementChild;n&&(this.hideTab(t),this.showTab(n),n.focus(),this.createHistoryEntry(n))},l.prototype.activatePreviousTab=function(){var t=this.getCurrentTab(),e=t.parentNode.previousElementSibling;if(e)var n=e.firstElementChild;n&&(this.hideTab(t),this.showTab(n),n.focus(),this.createHistoryEntry(n))},l.prototype.getPanel=function(t){return this.$module.querySelector(this.getHref(t))},l.prototype.showPanel=function(t){this.getPanel(t).classList.remove(this.jsHiddenClass)},l.prototype.hidePanel=function(t){this.getPanel(t).classList.add(this.jsHiddenClass)},l.prototype.unhighlightTab=function(t){t.setAttribute("aria-selected","false"),t.classList.remove("govuk-tabs__tab--selected"),t.setAttribute("tabindex","-1")},l.prototype.highlightTab=function(t){t.setAttribute("aria-selected","true"),t.classList.add("govuk-tabs__tab--selected"),t.setAttribute("tabindex","0")},l.prototype.getCurrentTab=function(){return this.$module.querySelector(".govuk-tabs__tab--selected")},l.prototype.getHref=function(t){var e=t.getAttribute("href");return e.slice(e.indexOf("#"),e.length)},t.initAll=function(){new n(document).init(),e(document.querySelectorAll("details"),function(t){new i(t).init()}),e(document.querySelectorAll('[data-module="checkboxes"]'),function(t){new r(t).init()}),new a(document.querySelector('[data-module="error-summary"]')).init(),new s(document.querySelector('[data-module="header"]')).init(),e(document.querySelectorAll('[data-module="radios"]'),function(t){new c(t).init()}),e(document.querySelectorAll('[data-module="tabs"]'),function(t){new l(t).init()})},t.Button=n,t.Details=i,t.Checkboxes=r,t.ErrorSummary=a,t.Header=s,t.Radios=c,t.Tabs=l}); diff --git a/dist/govuk-frontend-2.2.0.min.css b/dist/govuk-frontend-2.2.0.min.css new file mode 100644 index 0000000000..8e720e40e6 --- /dev/null +++ b/dist/govuk-frontend-2.2.0.min.css @@ -0,0 +1,3 @@ +@charset "UTF-8";.govuk-link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} + +/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */@font-face{font-family:nta;src:url(/assets/fonts/light-2c037cf7e1-v1.eot);src:url(/assets/fonts/light-2c037cf7e1-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-f38ad40456-v1.woff2) format("woff2"),url(/assets/fonts/light-458f8ea81c-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:nta;src:url(/assets/fonts/bold-fb2676462a-v1.eot);src:url(/assets/fonts/bold-fb2676462a-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-a2452cb66f-v1.woff2) format("woff2"),url(/assets/fonts/bold-f38c792ac2-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot);src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-tabular-851b10ccdd-v1.woff2) format("woff2"),url(/assets/fonts/light-tabular-62cc6f0a28-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot);src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-tabular-b89238d840-v1.woff2) format("woff2"),url(/assets/fonts/bold-tabular-784c21afb8-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}@media print{.govuk-link{font-family:sans-serif}}.govuk-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-link:link{color:#005ea5}.govuk-link:visited{color:#4c2c92}.govuk-link:active,.govuk-link:hover{color:#2b8cc4}.govuk-link:focus{color:#0b0c0c}@media print{.govuk-link[href^="/"]:after,.govuk-link[href^="http://"]:after,.govuk-link[href^="https://"]:after{content:" (" attr(href) ")";font-size:90%;word-wrap:break-word}}.govuk-link--muted:active,.govuk-link--muted:hover,.govuk-link--muted:link,.govuk-link--muted:visited{color:#6f777b}.govuk-link--muted:focus,.govuk-link--text-colour:active,.govuk-link--text-colour:focus,.govuk-link--text-colour:hover,.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#0b0c0c}@media print{.govuk-link--text-colour:active,.govuk-link--text-colour:focus,.govuk-link--text-colour:hover,.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#000}}.govuk-link--no-visited-state:link,.govuk-link--no-visited-state:visited{color:#005ea5}.govuk-link--no-visited-state:active,.govuk-link--no-visited-state:hover{color:#2b8cc4}.govuk-link--no-visited-state:focus,.govuk-list{color:#0b0c0c}.govuk-list{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-top:0;margin-bottom:15px;padding-left:0;list-style-type:none}@media print{.govuk-list{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-list{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-list{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-list{margin-bottom:20px}}.govuk-list .govuk-list{margin-top:10px}@media (min-width:40.0625em){.govuk-list>li{margin-bottom:5px}}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-template{background-color:#dee0e2}.govuk-template__body{margin:0;background-color:#fff}.govuk-heading-xl{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;display:block;margin-top:0;margin-bottom:30px}@media print{.govuk-heading-xl{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-heading-xl{font-size:32pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-heading-xl{margin-bottom:50px}}.govuk-heading-l{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;display:block;margin-top:0;margin-bottom:20px}@media print{.govuk-heading-l{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-heading-l{font-size:24pt;line-height:1.05}}@media (min-width:40.0625em){.govuk-heading-l{margin-bottom:30px}}.govuk-heading-m{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-m{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-heading-m{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-heading-m{margin-bottom:20px}}.govuk-heading-s{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-s{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-heading-s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-heading-s{font-size:14pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-heading-s{margin-bottom:20px}}.govuk-caption-xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-xl{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-caption-xl{font-size:27px;font-size:1.6875rem;line-height:1.11111}}@media print{.govuk-caption-xl{font-size:18pt;line-height:1.15}}.govuk-caption-l{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-l{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-caption-l{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-caption-l{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-caption-l{margin-bottom:0}}.govuk-caption-m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;color:#6f777b}@media print{.govuk-caption-m{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-caption-m{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-caption-m{font-size:14pt;line-height:1.15}}.govuk-body-l,.govuk-body-lead{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-top:0;margin-bottom:20px}@media print{.govuk-body-l,.govuk-body-lead{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body-l,.govuk-body-lead{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-body-l,.govuk-body-lead{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-body-l,.govuk-body-lead{margin-bottom:30px}}.govuk-body,.govuk-body-m{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.govuk-body,.govuk-body-m{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body,.govuk-body-m{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-body,.govuk-body-m{font-size:14pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-body,.govuk-body-m{margin-bottom:20px}}.govuk-body-s{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;margin-top:0;margin-bottom:15px}@media print{.govuk-body-s{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body-s{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-body-s{font-size:14pt;line-height:1.2}}@media (min-width:40.0625em){.govuk-body-s{margin-bottom:20px}}.govuk-body-xs{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.govuk-body-xs{color:#000;font-family:sans-serif}}@media (min-width:40.0625em){.govuk-body-xs{font-size:14px;font-size:.875rem;line-height:1.42857}}@media print{.govuk-body-xs{font-size:12pt;line-height:1.2}}@media (min-width:40.0625em){.govuk-body-xs{margin-bottom:20px}}.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:5px}@media (min-width:40.0625em){.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:10px}}.govuk-body+.govuk-heading-l,.govuk-body-m+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px}@media (min-width:40.0625em){.govuk-body+.govuk-heading-l,.govuk-body-m+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:20px}}.govuk-body+.govuk-heading-m,.govuk-body+.govuk-heading-s,.govuk-body-m+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body-s+.govuk-heading-m,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-m,.govuk-list+.govuk-heading-s{padding-top:5px}@media (min-width:40.0625em){.govuk-body+.govuk-heading-m,.govuk-body+.govuk-heading-s,.govuk-body-m+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body-s+.govuk-heading-m,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-m,.govuk-list+.govuk-heading-s{padding-top:10px}}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px;margin-bottom:30px}@media (min-width:40.0625em){.govuk-section-break--xl{margin-top:50px;margin-bottom:50px}}.govuk-section-break--l{margin-top:20px;margin-bottom:20px}@media (min-width:40.0625em){.govuk-section-break--l{margin-top:30px;margin-bottom:30px}}.govuk-section-break--m{margin-top:15px;margin-bottom:15px}@media (min-width:40.0625em){.govuk-section-break--m{margin-top:20px;margin-bottom:20px}}.govuk-section-break--visible{border-bottom:1px solid #bfc1c3}.govuk-form-group{margin-bottom:20px}@media (min-width:40.0625em){.govuk-form-group{margin-bottom:30px}}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #b10e1e}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-row:after{content:"";display:block;clear:both}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-one-quarter{width:25%;float:left}}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-one-third{width:33.3333%;float:left}}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-one-half{width:50%;float:left}}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-two-thirds{width:66.6666%;float:left}}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-three-quarters{width:75%;float:left}}.govuk-grid-column-full{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width:40.0625em){.govuk-grid-column-full{width:100%;float:left}}.govuk-main-wrapper{padding-top:20px;padding-bottom:20px;display:block}@media (min-width:40.0625em){.govuk-main-wrapper{padding-top:30px;padding-bottom:30px}}.govuk-main-wrapper--l{padding-top:30px}@media (min-width:40.0625em){.govuk-main-wrapper--l{padding-top:50px}}.govuk-width-container{max-width:960px;margin:0 15px}@media (min-width:40.0625em){.govuk-width-container{margin:0 30px}}@media (min-width:1020px){.govuk-width-container{margin:0 auto}}.govuk-back-link{font-size:14px;font-size:.875rem;line-height:1.14286;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;position:relative;margin-top:15px;margin-bottom:15px;padding-left:14px;border-bottom:1px solid #0b0c0c;text-decoration:none}@media (min-width:40.0625em){.govuk-back-link{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-back-link{font-size:14pt;line-height:1.2;font-family:sans-serif}}.govuk-back-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-back-link:active,.govuk-back-link:focus,.govuk-back-link:hover,.govuk-back-link:link,.govuk-back-link:visited{color:#0b0c0c}@media print{.govuk-back-link:active,.govuk-back-link:focus,.govuk-back-link:hover,.govuk-back-link:link,.govuk-back-link:visited{color:#000}}.govuk-back-link:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 50%,100% 100%,100% 0);clip-path:polygon(0 50%,100% 100%,100% 0);border-width:5px 6px 5px 0;border-right-color:inherit;content:"";position:absolute;left:0;margin:auto}.govuk-back-link:before{top:-1px;bottom:1px}.govuk-breadcrumbs{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;color:#0b0c0c;margin-top:15px;margin-bottom:10px}@media print{.govuk-breadcrumbs{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-breadcrumbs{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-breadcrumbs{font-size:14pt;line-height:1.2;color:#000}}.govuk-breadcrumbs__list{margin:0;padding:0;list-style-type:none}.govuk-breadcrumbs__list:after{content:"";display:block;clear:both}.govuk-breadcrumbs__list-item{display:inline-block;position:relative;margin-bottom:5px;margin-left:10px;padding-left:15.655px;float:left}.govuk-breadcrumbs__list-item:before{content:"";display:block;position:absolute;top:-1px;bottom:1px;left:-3.31px;width:7px;height:7px;margin:auto 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);border:solid;border-width:1px 1px 0 0;border-color:#6f777b}.govuk-breadcrumbs__list-item:first-child{margin-left:0;padding-left:0}.govuk-breadcrumbs__list-item:first-child:before{content:none;display:none}.govuk-breadcrumbs__link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-breadcrumbs__link{font-family:sans-serif}}.govuk-breadcrumbs__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus,.govuk-breadcrumbs__link:hover,.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#0b0c0c}@media print{.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus,.govuk-breadcrumbs__link:hover,.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#000}}.govuk-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.1875;box-sizing:border-box;display:inline-block;position:relative;width:100%;margin-top:0;margin-bottom:22px;padding:7px 10px;border:2px solid transparent;border-radius:0;color:#fff;background-color:#00823b;box-shadow:0 2px 0 #003618;text-align:center;vertical-align:top;cursor:pointer;-webkit-appearance:none}@media print{.govuk-button{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-button{font-size:19px;font-size:1.1875rem;line-height:1}}@media print{.govuk-button{font-size:14pt;line-height:19px}}.govuk-button:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-button{margin-bottom:32px;width:auto}}.govuk-button:active,.govuk-button:hover,.govuk-button:link,.govuk-button:visited{color:#fff;text-decoration:none}.govuk-button::-moz-focus-inner{padding:0;border:0}.govuk-button:focus,.govuk-button:hover{background-color:#00692f}.govuk-button:active{top:2px;box-shadow:none}.govuk-button:before{content:"";display:block;position:absolute;top:-2px;right:-2px;bottom:-4px;left:-2px;background:transparent}.govuk-button:active:before{top:-4px}.govuk-button--disabled,.govuk-button[disabled=disabled],.govuk-button[disabled]{opacity:.5;background:#00823b}.govuk-button--disabled:hover,.govuk-button[disabled=disabled]:hover,.govuk-button[disabled]:hover{background-color:#00823b;cursor:default}.govuk-button--disabled:focus,.govuk-button[disabled=disabled]:focus,.govuk-button[disabled]:focus{outline:none}.govuk-button--disabled:active,.govuk-button[disabled=disabled]:active,.govuk-button[disabled]:active{top:0;box-shadow:0 2px 0 #003618}.govuk-button--start{font-weight:700;font-size:18px;font-size:1.125rem;line-height:1;min-height:auto;padding:8px 40px 8px 15px;background-image:url(/assets/images/icon-pointer.png);background-repeat:no-repeat;background-position:100% 50%}@media (min-width:40.0625em){.govuk-button--start{font-size:24px;font-size:1.5rem;line-height:1}}@media print{.govuk-button--start{font-size:18pt;line-height:1}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.govuk-button--start{background-image:url(/assets/images/icon-pointer-2x.png);background-size:30px 19px}}.govuk-button,.govuk-button--start{padding-top:9px;padding-bottom:6px}.govuk-error-message{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-bottom:15px;clear:both;color:#b10e1e}@media print{.govuk-error-message{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-error-message{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-error-message{font-size:14pt;line-height:1.15}}.govuk-fieldset{margin:0;padding:0;border:0}.govuk-fieldset:after{content:"";display:block;clear:both}.govuk-fieldset__legend{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;box-sizing:border-box;display:table;max-width:100%;margin-bottom:10px;padding:0;overflow:hidden;white-space:normal}@media print{.govuk-fieldset__legend{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-fieldset__legend{font-size:14pt;line-height:1.15;color:#000}}.govuk-fieldset__legend--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;margin-bottom:15px}@media print{.govuk-fieldset__legend--xl{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-fieldset__legend--xl{font-size:32pt;line-height:1.15}}.govuk-fieldset__legend--l{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;margin-bottom:15px}@media print{.govuk-fieldset__legend--l{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-fieldset__legend--l{font-size:24pt;line-height:1.05}}.govuk-fieldset__legend--m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-bottom:15px}@media print{.govuk-fieldset__legend--m{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-fieldset__legend--m{font-size:18pt;line-height:1.15}}.govuk-fieldset__legend--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25}@media print{.govuk-fieldset__legend--s{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-fieldset__legend--s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-fieldset__legend--s{font-size:14pt;line-height:1.15}}.govuk-fieldset__heading{margin:0;font-size:inherit;font-weight:inherit}.govuk-hint{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-bottom:15px;color:#6f777b}@media print{.govuk-hint{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-hint{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-hint{font-size:14pt;line-height:1.15}}.govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl)+.govuk-hint{margin-bottom:10px}.govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl)+.govuk-hint{margin-bottom:10px}.govuk-fieldset__legend+.govuk-hint{margin-top:-5px}.govuk-label{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;display:block;margin-bottom:5px}@media print{.govuk-label{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-label{font-size:14pt;line-height:1.15;color:#000}}.govuk-label--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;margin-bottom:15px}@media print{.govuk-label--xl{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-label--xl{font-size:32pt;line-height:1.15}}.govuk-label--l{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;margin-bottom:15px}@media print{.govuk-label--l{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-label--l{font-size:24pt;line-height:1.05}}.govuk-label--m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-bottom:10px}@media print{.govuk-label--m{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-label--m{font-size:18pt;line-height:1.15}}.govuk-label--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25}@media print{.govuk-label--s{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-label--s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-label--s{font-size:14pt;line-height:1.15}}.govuk-label-wrapper{margin:0}.govuk-checkboxes__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}@media print{.govuk-checkboxes__item{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-checkboxes__item{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-checkboxes__item{font-size:14pt;line-height:1.15}}.govuk-checkboxes__item:last-child,.govuk-checkboxes__item:last-of-type{margin-bottom:0}.govuk-checkboxes__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer;margin:0;opacity:0}.govuk-checkboxes__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-checkboxes__hint{display:block;padding-right:15px;padding-left:15px}.govuk-checkboxes__input+.govuk-checkboxes__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;background:transparent}.govuk-checkboxes__input+.govuk-checkboxes__label:after{content:"";position:absolute;top:11px;left:9px;width:18px;height:7px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border:solid;border-width:0 0 5px 5px;border-top-color:transparent;opacity:0;background:transparent}.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 3px #ffbf47}.govuk-checkboxes__input:checked+.govuk-checkboxes__label:after{opacity:1}.govuk-checkboxes__input:disabled,.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{cursor:default}.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{opacity:.5}.govuk-checkboxes__conditional{margin-bottom:15px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}@media (min-width:40.0625em){.govuk-checkboxes__conditional{margin-bottom:20px}}.js-enabled .govuk-checkboxes__conditional--hidden{display:none}.govuk-checkboxes__conditional>:last-child{margin-bottom:0}.govuk-character-count{margin-bottom:20px}@media (min-width:40.0625em){.govuk-character-count{margin-bottom:30px}}.govuk-character-count .govuk-form-group,.govuk-character-count .govuk-textarea{margin-bottom:5px}.govuk-character-count .govuk-textarea--error{padding:3px}.govuk-character-count__message{margin-top:0;margin-bottom:0}.govuk-character-count__message--disabled{visibility:hidden}.govuk-input{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;width:100%;height:40px;margin-top:0;padding:5px;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media print{.govuk-input{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-input{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-input{font-size:14pt;line-height:1.15}}.govuk-input:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-input::-webkit-inner-spin-button,.govuk-input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.govuk-input[type=number]{-moz-appearance:textfield}.govuk-input--error{border:4px solid #b10e1e}.govuk-input--width-30{max-width:59ex}.govuk-input--width-20{max-width:41ex}.govuk-input--width-10{max-width:23ex}.govuk-input--width-5{max-width:10.8ex}.govuk-input--width-4{max-width:9ex}.govuk-input--width-3{max-width:7.2ex}.govuk-input--width-2{max-width:5.4ex}.govuk-date-input{font-size:0}.govuk-date-input:after{content:"";display:block;clear:both}.govuk-date-input__item{display:inline-block;margin-right:20px;margin-bottom:0}.govuk-date-input__label{display:block}.govuk-date-input__input{margin-bottom:0}.govuk-details{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-bottom:20px;display:block}@media print{.govuk-details{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-details{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-details{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-details{margin-bottom:30px}}.govuk-details__summary{display:inline-block;position:relative;margin-bottom:5px;padding-left:25px;color:#005ea5;cursor:pointer}.govuk-details__summary-text{text-decoration:underline}.govuk-details__summary:hover{color:#2b8cc4}.govuk-details__summary:focus{outline:4px solid #ffbf47;outline-offset:-1px;color:#0b0c0c;background:#ffbf47}.govuk-details__summary::-webkit-details-marker{display:none}.govuk-details__summary:before{content:"";position:absolute;top:0;bottom:0;left:0;margin:auto;display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,100% 50%,0 100%);clip-path:polygon(0 0,100% 50%,0 100%);border-width:7px 0 7px 12.124px;border-left-color:inherit}.govuk-details[open]>.govuk-details__summary:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:12.124px 7px 0;border-top-color:inherit}.govuk-details__text{padding:15px;padding-left:20px;border-left:5px solid #bfc1c3}.govuk-details__text p{margin-top:0;margin-bottom:20px}.govuk-details__text>:last-child{margin-bottom:0}.govuk-error-summary{color:#0b0c0c;padding:15px;margin-bottom:30px;border:4px solid #b10e1e}@media print{.govuk-error-summary{color:#000}}@media (min-width:40.0625em){.govuk-error-summary{padding:20px;margin-bottom:50px}}.govuk-error-summary:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-error-summary{border:5px solid #b10e1e}}.govuk-error-summary__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-top:0;margin-bottom:15px}@media print{.govuk-error-summary__title{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-error-summary__title{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-error-summary__title{font-size:18pt;line-height:1.15}}@media (min-width:40.0625em){.govuk-error-summary__title{margin-bottom:20px}}.govuk-error-summary__body{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25}@media print{.govuk-error-summary__body{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-error-summary__body{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-error-summary__body{font-size:14pt;line-height:1.15}}.govuk-error-summary__body p{margin-top:0;margin-bottom:15px}@media (min-width:40.0625em){.govuk-error-summary__body p{margin-bottom:20px}}.govuk-error-summary__list{margin-top:0;margin-bottom:0}.govuk-error-summary__list a{font-weight:700}.govuk-error-summary__list a:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-error-summary__list a:active,.govuk-error-summary__list a:hover,.govuk-error-summary__list a:link,.govuk-error-summary__list a:visited{color:#b10e1e}.govuk-error-summary__list a:focus{color:#0b0c0c}.govuk-file-upload{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c}@media print{.govuk-file-upload{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-file-upload{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-file-upload{font-size:14pt;line-height:1.15;color:#000}}.govuk-file-upload:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-file-upload--error{border:4px solid #b10e1e}.govuk-footer{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;padding-top:25px;padding-bottom:15px;border-top:1px solid #a1acb2;color:#454a4c;background:#dee0e2}@media print{.govuk-footer{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-footer{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-footer{font-size:14pt;line-height:1.2}}@media (min-width:40.0625em){.govuk-footer{padding-top:40px;padding-bottom:25px}}.govuk-footer__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-footer__link:link,.govuk-footer__link:visited{color:#454a4c}.govuk-footer__link:active,.govuk-footer__link:hover{color:#171819}.govuk-footer__link:focus{color:#0b0c0c}.govuk-footer__section-break{margin:0;margin-bottom:30px;border:0;border-bottom:1px solid #bfc1c3}@media (min-width:40.0625em){.govuk-footer__section-break{margin-bottom:50px}}.govuk-footer__meta{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.govuk-footer__meta-item{margin-right:15px;margin-bottom:25px;margin-left:15px}.govuk-footer__meta-item--grow{-webkit-box-flex:1;-ms-flex:1;flex:1}@media (max-width:40.0525em){.govuk-footer__meta-item--grow{-ms-flex-preferred-size:320px;flex-basis:320px}}.govuk-footer__licence-logo{display:inline-block;margin-right:10px;vertical-align:top}@media (max-width:48.0525em){.govuk-footer__licence-logo{margin-bottom:15px}}.govuk-footer__licence-description{display:inline-block}.govuk-footer__copyright-logo{display:inline-block;min-width:125px;padding-top:112px;background-image:url(/assets/images/govuk-crest.png);background-repeat:no-repeat;background-position:50% 0;background-size:125px 102px;text-align:center;text-decoration:none;white-space:nowrap}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.govuk-footer__copyright-logo{background-image:url(/assets/images/govuk-crest-2x.png)}}.govuk-footer__inline-list{margin-top:0;margin-bottom:15px;padding:0}.govuk-footer__meta-custom{margin-bottom:20px}.govuk-footer__inline-list-item{display:inline-block;margin-right:15px;margin-bottom:5px}.govuk-footer__heading{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid #bfc1c3}@media (min-width:40.0625em){.govuk-footer__heading{margin-bottom:40px}}@media (max-width:40.0525em){.govuk-footer__heading{padding-bottom:10px}}.govuk-footer__navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap}.govuk-footer__section{display:inline-block;margin-right:15px;margin-bottom:30px;margin-left:15px;vertical-align:top;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}@media (max-width:48.0525em){.govuk-footer__section{-ms-flex-preferred-size:200px;flex-basis:200px}}@media (min-width:48.0625em){.govuk-footer__section:first-child{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}}.govuk-footer__list{margin:0;padding:0;list-style:none;-webkit-column-gap:30px;-moz-column-gap:30px;column-gap:30px}@media (min-width:48.0625em){.govuk-footer__list--columns-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.govuk-footer__list--columns-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}}.govuk-footer__list-item{margin-bottom:15px}@media (min-width:40.0625em){.govuk-footer__list-item{margin-bottom:20px}}.govuk-footer__list-item:last-child{margin-bottom:0}.govuk-header{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;border-bottom:10px solid #fff;color:#fff;background:#0b0c0c}@media print{.govuk-header{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-header{font-size:14pt;line-height:1.2}}.govuk-header__container--full-width{padding:0 15px;border-color:#005ea5}.govuk-header__container--full-width .govuk-header__menu-button{right:15px}.govuk-header__container{position:relative;margin-bottom:-10px;padding-top:10px;border-bottom:10px solid #005ea5}.govuk-header__container:after{content:"";display:block;clear:both}.govuk-header__logotype{margin-right:5px}.govuk-header__logotype-crown{margin-right:1px;fill:currentColor;vertical-align:middle}.govuk-header__logotype-crown-fallback-image{width:36px;height:32px;border:0;vertical-align:middle}.govuk-header__product-name{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:inline-table;padding-right:10px}@media print{.govuk-header__product-name{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__product-name{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-header__product-name{font-size:18pt;line-height:1.15}}.govuk-header__link{text-decoration:none}.govuk-header__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-header__link:link,.govuk-header__link:visited{color:#fff}.govuk-header__link:hover{text-decoration:underline}.govuk-header__link:focus{color:#0b0c0c}.govuk-header__link--homepage{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;font-size:30px;line-height:30px}@media print{.govuk-header__link--homepage{font-family:sans-serif}}.govuk-header__link--homepage:link,.govuk-header__link--homepage:visited{text-decoration:none}.govuk-header__link--homepage:active,.govuk-header__link--homepage:hover{margin-bottom:-1px;border-bottom:1px solid}.govuk-header__link--service-name{display:inline-block;margin-bottom:10px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111}@media print{.govuk-header__link--service-name{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__link--service-name{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-header__link--service-name{font-size:18pt;line-height:1.15}}.govuk-header__logo{margin-bottom:10px;padding-right:50px}@media (min-width:40.0625em){.govuk-header__logo{margin-bottom:10px}}@media (min-width:48.0625em){.govuk-header__logo{width:33.33%;padding-right:0;float:left;vertical-align:top}}@media (min-width:48.0625em){.govuk-header__content{width:66.66%;float:left}}.govuk-header__menu-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;display:none;position:absolute;top:20px;right:0;margin:0;padding:0;border:0;color:#fff;background:none}@media print{.govuk-header__menu-button{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__menu-button{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-header__menu-button{font-size:14pt;line-height:1.2}}.govuk-header__menu-button:hover{text-decoration:underline}.govuk-header__menu-button:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:8.66px 5px 0;border-top-color:inherit;content:"";margin-left:5px}.govuk-header__menu-button:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-header__menu-button{top:15px}}.govuk-header__menu-button--open:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(50% 0,0 100%,100% 100%);clip-path:polygon(50% 0,0 100%,100% 100%);border-width:0 5px 8.66px;border-bottom-color:inherit}.govuk-header__navigation{margin-bottom:10px;display:block;margin:0;padding:0;list-style:none}@media (min-width:40.0625em){.govuk-header__navigation{margin-bottom:10px}}.js-enabled .govuk-header__menu-button{display:block}@media (min-width:48.0625em){.js-enabled .govuk-header__menu-button{display:none}}.js-enabled .govuk-header__navigation{display:none}@media (min-width:48.0625em){.js-enabled .govuk-header__navigation{display:block}}.js-enabled .govuk-header__navigation--open{display:block}@media (min-width:48.0625em){.govuk-header__navigation--end{margin:0;padding:5px 0;text-align:right}}.govuk-header__navigation--no-service-name{padding-top:40px}.govuk-header__navigation-item{padding:10px 0;border-bottom:1px solid #2e3133}@media (min-width:48.0625em){.govuk-header__navigation-item{display:inline-block;margin-right:15px;padding:5px 0;border:0}}.govuk-header__navigation-item a{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:14px;font-size:.875rem;line-height:1.14286;white-space:nowrap}@media print{.govuk-header__navigation-item a{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-header__navigation-item a{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-header__navigation-item a{font-size:14pt;line-height:1.2}}.govuk-header__navigation-item--active a:hover,.govuk-header__navigation-item--active a:link,.govuk-header__navigation-item--active a:visited{color:#1d8feb}.govuk-header__navigation-item--active a:focus{color:#0b0c0c}.govuk-header__navigation-item:last-child{margin-right:0}@media print{.govuk-header{border-bottom-width:0;color:#0b0c0c;background:transparent}.govuk-header__logotype-crown-fallback-image{display:none}.govuk-header__link:link,.govuk-header__link:visited{color:#0b0c0c}.govuk-header__link:after{display:none}}.govuk-header__logotype-crown,.govuk-header__logotype-crown-fallback-image{position:relative;top:-4px}.govuk-header{padding-top:3px}.govuk-inset-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;padding:15px;margin-top:20px;margin-bottom:20px;clear:both;border-left:10px solid #bfc1c3}@media print{.govuk-inset-text{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-inset-text{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-inset-text{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-inset-text{margin-top:30px;margin-bottom:30px}}.govuk-inset-text :first-child{margin-top:0}.govuk-inset-text :last-child,.govuk-inset-text :only-child{margin-bottom:0}.govuk-panel{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;margin-bottom:15px;padding:35px;border:5px solid transparent;text-align:center}@media print{.govuk-panel{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-panel{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-panel{font-size:14pt;line-height:1.15}}@media (max-width:40.0525em){.govuk-panel{padding:25px}}.govuk-panel--confirmation{color:#fff;background:#28a197}.govuk-panel__title{margin-top:0;margin-bottom:30px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375}@media print{.govuk-panel__title{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-panel__title{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-panel__title{font-size:32pt;line-height:1.15}}.govuk-panel__title:last-child{margin-bottom:0}.govuk-panel__body{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:24px;font-size:1.5rem;line-height:1.04167}@media print{.govuk-panel__body{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-panel__body{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-panel__body{font-size:24pt;line-height:1.05}}.govuk-tag{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:14px;font-size:.875rem;line-height:1.25;display:inline-block;padding:4px 8px;padding-bottom:1px;outline:2px solid transparent;outline-offset:-2px;color:#fff;background-color:#005ea5;letter-spacing:1px;text-decoration:none;text-transform:uppercase}@media print{.govuk-tag{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tag{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-tag{font-size:14pt;line-height:1.25}}.govuk-tag--inactive{background-color:#6f777b}.govuk-phase-banner{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #bfc1c3}.govuk-phase-banner__content{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;color:#0b0c0c;display:table;margin:0}@media print{.govuk-phase-banner__content{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-phase-banner__content{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-phase-banner__content{font-size:14pt;line-height:1.2;color:#000}}.govuk-phase-banner__content__tag{margin-right:10px}.govuk-phase-banner__text{display:table-cell;vertical-align:baseline}.govuk-tabs{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-top:5px;margin-bottom:20px}@media print{.govuk-tabs{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tabs{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-tabs{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-tabs{margin-top:5px;margin-bottom:30px}}.govuk-tabs__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-bottom:5px}@media print{.govuk-tabs__title{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tabs__title{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-tabs__title{font-size:14pt;line-height:1.15}}.govuk-tabs__list{margin:0;padding:0;list-style:none}@media (max-width:40.0525em){.govuk-tabs__list{margin-bottom:20px}}@media (max-width:40.0525em) and (min-width:40.0625em){.govuk-tabs__list{margin-bottom:30px}}.govuk-tabs__list-item{margin-left:25px}.govuk-tabs__list-item:before{content:"— ";margin-left:-25px;padding-right:5px}.govuk-tabs__tab{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:inline-block;padding-top:10px;padding-bottom:10px}.govuk-tabs__tab:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-tabs__tab:link{color:#005ea5}.govuk-tabs__tab:visited{color:#4c2c92}.govuk-tabs__tab:active,.govuk-tabs__tab:hover{color:#2b8cc4}.govuk-tabs__tab:focus{color:#0b0c0c}@media print{.govuk-tabs__tab{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-tabs__tab{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-tabs__tab{font-size:14pt;line-height:1.15}}.govuk-tabs__tab[aria-current=true]{color:#0b0c0c;text-decoration:none}.govuk-tabs__panel{margin-bottom:30px}@media (min-width:40.0625em){.govuk-tabs__panel{margin-bottom:50px}}@media (min-width:40.0625em){.js-enabled .govuk-tabs__list{border-bottom:1px solid #bfc1c3}.js-enabled .govuk-tabs__list:after{content:"";display:block;clear:both}.js-enabled .govuk-tabs__list-item{margin-left:0}.js-enabled .govuk-tabs__list-item:before{content:none}.js-enabled .govuk-tabs__title{display:none}.js-enabled .govuk-tabs__tab{margin-right:5px;padding-right:20px;padding-left:20px;float:left;color:#0b0c0c;background-color:#f8f8f8;text-align:center;text-decoration:none}.js-enabled .govuk-tabs__tab--selected{margin-top:-5px;margin-bottom:-1px;padding:14px 19px 16px;border:1px solid #bfc1c3;border-bottom:0;color:#0b0c0c;background-color:#fff}.js-enabled .govuk-tabs__tab--selected:focus{background-color:transparent}.js-enabled .govuk-tabs__panel{margin-bottom:0;padding:30px 20px;border:1px solid #bfc1c3;border-top:0}}@media (min-width:40.0625em) and (min-width:40.0625em){.js-enabled .govuk-tabs__panel{margin-bottom:0}}@media (min-width:40.0625em){.js-enabled .govuk-tabs__panel--hidden{display:none}.js-enabled .govuk-tabs__panel>:last-child{margin-bottom:0}}.govuk-radios__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}@media print{.govuk-radios__item{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-radios__item{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-radios__item{font-size:14pt;line-height:1.15}}.govuk-radios__item:last-child,.govuk-radios__item:last-of-type{margin-bottom:0}.govuk-radios__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer;margin:0;opacity:0}.govuk-radios__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-radios__hint{display:block;padding-right:15px;padding-left:15px}.govuk-radios__input+.govuk-radios__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;border-radius:50%;background:transparent}.govuk-radios__input+.govuk-radios__label:after{content:"";position:absolute;top:10px;left:10px;width:0;height:0;border:10px solid currentColor;border-radius:50%;opacity:0;background:currentColor}.govuk-radios__input:focus+.govuk-radios__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 4px #ffbf47}.govuk-radios__input:checked+.govuk-radios__label:after{opacity:1}.govuk-radios__input:disabled,.govuk-radios__input:disabled+.govuk-radios__label{cursor:default}.govuk-radios__input:disabled+.govuk-radios__label{opacity:.5}@media (min-width:40.0625em){.govuk-radios--inline:after{content:"";display:block;clear:both}.govuk-radios--inline .govuk-radios__item{margin-right:20px;float:left;clear:none}}.govuk-radios--inline.govuk-radios--conditional .govuk-radios__item{margin-right:0;float:none}.govuk-radios__divider{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;width:40px;margin-bottom:10px;text-align:center}@media print{.govuk-radios__divider{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-radios__divider{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-radios__divider{font-size:14pt;line-height:1.15;color:#000}}.govuk-radios__conditional{margin-bottom:15px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}@media (min-width:40.0625em){.govuk-radios__conditional{margin-bottom:20px}}.js-enabled .govuk-radios__conditional--hidden{display:none}.govuk-radios__conditional>:last-child{margin-bottom:0}.govuk-select{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;max-width:100%;height:40px;padding:5px;border:2px solid #0b0c0c}@media print{.govuk-select{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-select{font-size:19px;font-size:1.1875rem;line-height:1.25}}@media print{.govuk-select{font-size:14pt;line-height:1.25}}.govuk-select:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-select:focus::-ms-value,.govuk-select option:active,.govuk-select option:checked{color:#fff;background-color:#005ea5}.govuk-select--error{border:4px solid #b10e1e}.govuk-skip-link{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-size:.875rem;line-height:1.14286;display:block;padding:10px 15px}.govuk-skip-link:active,.govuk-skip-link:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}@media print{.govuk-skip-link{font-family:sans-serif}}.govuk-skip-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-skip-link:active,.govuk-skip-link:focus,.govuk-skip-link:hover,.govuk-skip-link:link,.govuk-skip-link:visited{color:#0b0c0c}@media print{.govuk-skip-link:active,.govuk-skip-link:focus,.govuk-skip-link:hover,.govuk-skip-link:link,.govuk-skip-link:visited{color:#000}}@media (min-width:40.0625em){.govuk-skip-link{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-skip-link{font-size:14pt;line-height:1.2}}.govuk-table{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;width:100%;margin-bottom:20px;border-spacing:0;border-collapse:collapse}@media print{.govuk-table{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-table{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-table{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-table{margin-bottom:30px}}.govuk-table__header{font-weight:700}.govuk-table__cell,.govuk-table__header{padding:10px 20px 10px 0;border-bottom:1px solid #bfc1c3;text-align:left}.govuk-table__cell--numeric{font-family:ntatabularnumbers,nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400}@media print{.govuk-table__cell--numeric{font-family:sans-serif}}.govuk-table__cell--numeric,.govuk-table__header--numeric{text-align:right}.govuk-table__cell:last-child,.govuk-table__header:last-child{padding-right:0}.govuk-table__caption{font-weight:700;display:table-caption;text-align:left}.govuk-textarea{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;box-sizing:border-box;display:block;width:100%;min-height:40px;margin-bottom:20px;padding:5px;resize:vertical;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none}@media print{.govuk-textarea{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-textarea{font-size:19px;font-size:1.1875rem;line-height:1.25}}@media print{.govuk-textarea{font-size:14pt;line-height:1.25}}.govuk-textarea:focus{outline:3px solid #ffbf47;outline-offset:0}@media (min-width:40.0625em){.govuk-textarea{margin-bottom:30px}}.govuk-textarea--error{border:4px solid #b10e1e}.govuk-warning-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;position:relative;margin-bottom:20px;padding:10px 0}@media print{.govuk-warning-text{font-family:sans-serif}}@media (min-width:40.0625em){.govuk-warning-text{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-warning-text{font-size:14pt;line-height:1.15;color:#000}}@media (min-width:40.0625em){.govuk-warning-text{margin-bottom:30px}}.govuk-warning-text__assistive{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);border:0;white-space:nowrap}.govuk-warning-text__icon{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;position:absolute;top:50%;left:0;min-width:32px;min-height:29px;margin-top:-20px;padding-top:3px;border:3px solid #0b0c0c;border-radius:50%;color:#fff;background:#0b0c0c;font-size:1.6em;line-height:29px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media print{.govuk-warning-text__icon{font-family:sans-serif}}.govuk-warning-text__text{display:block;margin-left:-15px;padding-left:65px}.govuk-clearfix:after{content:"";display:block;clear:both}.govuk-visually-hidden{padding:0;border:0}.govuk-visually-hidden,.govuk-visually-hidden-focusable{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.govuk-visually-hidden-focusable:active,.govuk-visually-hidden-focusable:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}.govuk-\!-display-inline{display:inline!important}.govuk-\!-display-inline-block{display:inline-block!important}.govuk-\!-display-block{display:block!important}.govuk-\!-margin-0{margin:0!important}@media (min-width:40.0625em){.govuk-\!-margin-0{margin:0!important}}.govuk-\!-margin-top-0{margin-top:0!important}@media (min-width:40.0625em){.govuk-\!-margin-top-0{margin-top:0!important}}.govuk-\!-margin-right-0{margin-right:0!important}@media (min-width:40.0625em){.govuk-\!-margin-right-0{margin-right:0!important}}.govuk-\!-margin-bottom-0{margin-bottom:0!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-0{margin-bottom:0!important}}.govuk-\!-margin-left-0{margin-left:0!important}@media (min-width:40.0625em){.govuk-\!-margin-left-0{margin-left:0!important}}.govuk-\!-margin-1{margin:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-1{margin:5px!important}}.govuk-\!-margin-top-1{margin-top:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-1{margin-top:5px!important}}.govuk-\!-margin-right-1{margin-right:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-1{margin-right:5px!important}}.govuk-\!-margin-bottom-1{margin-bottom:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-1{margin-bottom:5px!important}}.govuk-\!-margin-left-1{margin-left:5px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-1{margin-left:5px!important}}.govuk-\!-margin-2{margin:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-2{margin:10px!important}}.govuk-\!-margin-top-2{margin-top:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-2{margin-top:10px!important}}.govuk-\!-margin-right-2{margin-right:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-2{margin-right:10px!important}}.govuk-\!-margin-bottom-2{margin-bottom:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-2{margin-bottom:10px!important}}.govuk-\!-margin-left-2{margin-left:10px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-2{margin-left:10px!important}}.govuk-\!-margin-3{margin:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-3{margin:15px!important}}.govuk-\!-margin-top-3{margin-top:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-3{margin-top:15px!important}}.govuk-\!-margin-right-3{margin-right:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-3{margin-right:15px!important}}.govuk-\!-margin-bottom-3{margin-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-3{margin-bottom:15px!important}}.govuk-\!-margin-left-3{margin-left:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-3{margin-left:15px!important}}.govuk-\!-margin-4{margin:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-4{margin:20px!important}}.govuk-\!-margin-top-4{margin-top:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-4{margin-top:20px!important}}.govuk-\!-margin-right-4{margin-right:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-4{margin-right:20px!important}}.govuk-\!-margin-bottom-4{margin-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-4{margin-bottom:20px!important}}.govuk-\!-margin-left-4{margin-left:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-4{margin-left:20px!important}}.govuk-\!-margin-5{margin:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-5{margin:25px!important}}.govuk-\!-margin-top-5{margin-top:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-5{margin-top:25px!important}}.govuk-\!-margin-right-5{margin-right:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-5{margin-right:25px!important}}.govuk-\!-margin-bottom-5{margin-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-5{margin-bottom:25px!important}}.govuk-\!-margin-left-5{margin-left:15px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-5{margin-left:25px!important}}.govuk-\!-margin-6{margin:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-6{margin:30px!important}}.govuk-\!-margin-top-6{margin-top:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-6{margin-top:30px!important}}.govuk-\!-margin-right-6{margin-right:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-6{margin-right:30px!important}}.govuk-\!-margin-bottom-6{margin-bottom:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-6{margin-bottom:30px!important}}.govuk-\!-margin-left-6{margin-left:20px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-6{margin-left:30px!important}}.govuk-\!-margin-7{margin:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-7{margin:40px!important}}.govuk-\!-margin-top-7{margin-top:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-7{margin-top:40px!important}}.govuk-\!-margin-right-7{margin-right:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-7{margin-right:40px!important}}.govuk-\!-margin-bottom-7{margin-bottom:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-7{margin-bottom:40px!important}}.govuk-\!-margin-left-7{margin-left:25px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-7{margin-left:40px!important}}.govuk-\!-margin-8{margin:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-8{margin:50px!important}}.govuk-\!-margin-top-8{margin-top:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-8{margin-top:50px!important}}.govuk-\!-margin-right-8{margin-right:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-8{margin-right:50px!important}}.govuk-\!-margin-bottom-8{margin-bottom:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-8{margin-bottom:50px!important}}.govuk-\!-margin-left-8{margin-left:30px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-8{margin-left:50px!important}}.govuk-\!-margin-9{margin:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-9{margin:60px!important}}.govuk-\!-margin-top-9{margin-top:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-top-9{margin-top:60px!important}}.govuk-\!-margin-right-9{margin-right:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-right-9{margin-right:60px!important}}.govuk-\!-margin-bottom-9{margin-bottom:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-bottom-9{margin-bottom:60px!important}}.govuk-\!-margin-left-9{margin-left:40px!important}@media (min-width:40.0625em){.govuk-\!-margin-left-9{margin-left:60px!important}}.govuk-\!-padding-0{padding:0!important}@media (min-width:40.0625em){.govuk-\!-padding-0{padding:0!important}}.govuk-\!-padding-top-0{padding-top:0!important}@media (min-width:40.0625em){.govuk-\!-padding-top-0{padding-top:0!important}}.govuk-\!-padding-right-0{padding-right:0!important}@media (min-width:40.0625em){.govuk-\!-padding-right-0{padding-right:0!important}}.govuk-\!-padding-bottom-0{padding-bottom:0!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-0{padding-bottom:0!important}}.govuk-\!-padding-left-0{padding-left:0!important}@media (min-width:40.0625em){.govuk-\!-padding-left-0{padding-left:0!important}}.govuk-\!-padding-1{padding:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-1{padding:5px!important}}.govuk-\!-padding-top-1{padding-top:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-1{padding-top:5px!important}}.govuk-\!-padding-right-1{padding-right:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-1{padding-right:5px!important}}.govuk-\!-padding-bottom-1{padding-bottom:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-1{padding-bottom:5px!important}}.govuk-\!-padding-left-1{padding-left:5px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-1{padding-left:5px!important}}.govuk-\!-padding-2{padding:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-2{padding:10px!important}}.govuk-\!-padding-top-2{padding-top:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-2{padding-top:10px!important}}.govuk-\!-padding-right-2{padding-right:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-2{padding-right:10px!important}}.govuk-\!-padding-bottom-2{padding-bottom:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-2{padding-bottom:10px!important}}.govuk-\!-padding-left-2{padding-left:10px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-2{padding-left:10px!important}}.govuk-\!-padding-3{padding:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-3{padding:15px!important}}.govuk-\!-padding-top-3{padding-top:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-3{padding-top:15px!important}}.govuk-\!-padding-right-3{padding-right:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-3{padding-right:15px!important}}.govuk-\!-padding-bottom-3{padding-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-3{padding-bottom:15px!important}}.govuk-\!-padding-left-3{padding-left:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-3{padding-left:15px!important}}.govuk-\!-padding-4{padding:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-4{padding:20px!important}}.govuk-\!-padding-top-4{padding-top:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-4{padding-top:20px!important}}.govuk-\!-padding-right-4{padding-right:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-4{padding-right:20px!important}}.govuk-\!-padding-bottom-4{padding-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-4{padding-bottom:20px!important}}.govuk-\!-padding-left-4{padding-left:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-4{padding-left:20px!important}}.govuk-\!-padding-5{padding:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-5{padding:25px!important}}.govuk-\!-padding-top-5{padding-top:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-5{padding-top:25px!important}}.govuk-\!-padding-right-5{padding-right:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-5{padding-right:25px!important}}.govuk-\!-padding-bottom-5{padding-bottom:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-5{padding-bottom:25px!important}}.govuk-\!-padding-left-5{padding-left:15px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-5{padding-left:25px!important}}.govuk-\!-padding-6{padding:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-6{padding:30px!important}}.govuk-\!-padding-top-6{padding-top:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-6{padding-top:30px!important}}.govuk-\!-padding-right-6{padding-right:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-6{padding-right:30px!important}}.govuk-\!-padding-bottom-6{padding-bottom:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-6{padding-bottom:30px!important}}.govuk-\!-padding-left-6{padding-left:20px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-6{padding-left:30px!important}}.govuk-\!-padding-7{padding:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-7{padding:40px!important}}.govuk-\!-padding-top-7{padding-top:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-7{padding-top:40px!important}}.govuk-\!-padding-right-7{padding-right:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-7{padding-right:40px!important}}.govuk-\!-padding-bottom-7{padding-bottom:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-7{padding-bottom:40px!important}}.govuk-\!-padding-left-7{padding-left:25px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-7{padding-left:40px!important}}.govuk-\!-padding-8{padding:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-8{padding:50px!important}}.govuk-\!-padding-top-8{padding-top:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-8{padding-top:50px!important}}.govuk-\!-padding-right-8{padding-right:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-8{padding-right:50px!important}}.govuk-\!-padding-bottom-8{padding-bottom:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-8{padding-bottom:50px!important}}.govuk-\!-padding-left-8{padding-left:30px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-8{padding-left:50px!important}}.govuk-\!-padding-9{padding:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-9{padding:60px!important}}.govuk-\!-padding-top-9{padding-top:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-top-9{padding-top:60px!important}}.govuk-\!-padding-right-9{padding-right:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-right-9{padding-right:60px!important}}.govuk-\!-padding-bottom-9{padding-bottom:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-bottom-9{padding-bottom:60px!important}}.govuk-\!-padding-left-9{padding-left:40px!important}@media (min-width:40.0625em){.govuk-\!-padding-left-9{padding-left:60px!important}}.govuk-\!-font-size-80{font-size:53px!important;font-size:3.3125rem!important;line-height:1.03774!important}@media (min-width:40.0625em){.govuk-\!-font-size-80{font-size:80px!important;font-size:5rem!important;line-height:1!important}}@media print{.govuk-\!-font-size-80{font-size:53pt!important;line-height:1.1!important}}.govuk-\!-font-size-48{font-size:32px!important;font-size:2rem!important;line-height:1.09375!important}@media (min-width:40.0625em){.govuk-\!-font-size-48{font-size:48px!important;font-size:3rem!important;line-height:1.04167!important}}@media print{.govuk-\!-font-size-48{font-size:32pt!important;line-height:1.15!important}}.govuk-\!-font-size-36{font-size:24px!important;font-size:1.5rem!important;line-height:1.04167!important}@media (min-width:40.0625em){.govuk-\!-font-size-36{font-size:36px!important;font-size:2.25rem!important;line-height:1.11111!important}}@media print{.govuk-\!-font-size-36{font-size:24pt!important;line-height:1.05!important}}.govuk-\!-font-size-27{font-size:18px!important;font-size:1.125rem!important;line-height:1.11111!important}@media (min-width:40.0625em){.govuk-\!-font-size-27{font-size:27px!important;font-size:1.6875rem!important;line-height:1.11111!important}}@media print{.govuk-\!-font-size-27{font-size:18pt!important;line-height:1.15!important}}.govuk-\!-font-size-24{font-size:18px!important;font-size:1.125rem!important;line-height:1.11111!important}@media (min-width:40.0625em){.govuk-\!-font-size-24{font-size:24px!important;font-size:1.5rem!important;line-height:1.25!important}}@media print{.govuk-\!-font-size-24{font-size:18pt!important;line-height:1.15!important}}.govuk-\!-font-size-19{font-size:16px!important;font-size:1rem!important;line-height:1.25!important}@media (min-width:40.0625em){.govuk-\!-font-size-19{font-size:19px!important;font-size:1.1875rem!important;line-height:1.31579!important}}@media print{.govuk-\!-font-size-19{font-size:14pt!important;line-height:1.15!important}}.govuk-\!-font-size-16{font-size:14px!important;font-size:.875rem!important;line-height:1.14286!important}@media (min-width:40.0625em){.govuk-\!-font-size-16{font-size:16px!important;font-size:1rem!important;line-height:1.25!important}}@media print{.govuk-\!-font-size-16{font-size:14pt!important;line-height:1.2!important}}.govuk-\!-font-size-14{font-size:12px!important;font-size:.75rem!important;line-height:1.25!important}@media (min-width:40.0625em){.govuk-\!-font-size-14{font-size:14px!important;font-size:.875rem!important;line-height:1.42857!important}}@media print{.govuk-\!-font-size-14{font-size:12pt!important;line-height:1.2!important}}.govuk-\!-font-weight-regular{font-weight:400!important}.govuk-\!-font-weight-bold{font-weight:700!important}.govuk-\!-width-full,.govuk-\!-width-three-quarters{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-three-quarters{width:75%!important}}.govuk-\!-width-two-thirds{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-two-thirds{width:66.66%!important}}.govuk-\!-width-one-half{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-one-half{width:50%!important}}.govuk-\!-width-one-third{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-one-third{width:33.33%!important}}.govuk-\!-width-one-quarter{width:100%!important}@media (min-width:40.0625em){.govuk-\!-width-one-quarter{width:25%!important}} \ No newline at end of file diff --git a/dist/govuk-frontend-2.2.0.min.js b/dist/govuk-frontend-2.2.0.min.js new file mode 100644 index 0000000000..eebba404d5 --- /dev/null +++ b/dist/govuk-frontend-2.2.0.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define("GOVUKFrontend",["exports"],e):e(t.GOVUKFrontend={})}(this,function(t){"use strict";function e(t,e){if(window.NodeList.prototype.forEach)return t.forEach(e);for(var n=0;n=c)for(;c>>0,"object"==typeof e[o]?e[o].baseVal=r.join(" "):e[o]=r.join(" "),l())},i.remove=function(){d.apply(i,t=arguments);for(var t,n={},c=0,u=[];c>>0,"object"==typeof e[o]?e[o].baseVal=r.join(" "):e[o]=r.join(" "),l()},i.toggle=function(e,n){return d.apply(i,[e]),t!==n?n?(i.add(e),!0):(i.remove(e),!1):a[e]?(i.remove(e),!1):(i.add(e),!0)},i}}()),"classList"in(o=document.createElement("span"))&&(o.classList.toggle("x",!1),o.classList.contains("x")&&(o.classList.constructor.prototype.toggle=function(e){var n=arguments[1];if(n===t){var o=!this.contains(e);return this[o?"add":"remove"](e),o}return this[(n=!!n)?"add":"remove"](e),n})),function(){var t=document.createElement("span");if("classList"in t&&(t.classList.add("a","b"),!t.classList.contains("b"))){var e=t.classList.constructor.prototype.add;t.classList.constructor.prototype.add=function(){for(var t=arguments,n=arguments.length,o=0;o'),this.describedBy=t.getAttribute("aria-describedby"),this.describedByInfo=this.describedBy+" "+e+"-info",t.setAttribute("aria-describedby",this.describedByInfo),n=document.getElementById(e+"-info")):t.insertAdjacentElement("afterend",n),n},r.prototype.bindChangeEvents=function(){var t=this.$textarea;t.addEventListener("keyup",this.checkIfValueChanged.bind(this)),t.addEventListener("focus",this.handleFocus.bind(this)),t.addEventListener("blur",this.handleBlur.bind(this))},r.prototype.checkIfValueChanged=function(){(this.$textarea.oldValue||(this.$textarea.oldValue=""),this.$textarea.value!==this.$textarea.oldValue)&&(this.$textarea.oldValue=this.$textarea.value,this.updateCountMessage.bind(this)())},r.prototype.updateCountMessage=function(){var t=this.$textarea,e=this.options,n=this.countMessage,o=this.count(t.value),i=this.maxLength,r=i-o;i*(e.threshold?e.threshold:0)/100>o?n.classList.add("govuk-character-count__message--disabled"):n.classList.remove("govuk-character-count__message--disabled"),r<0?(t.classList.add("govuk-textarea--error"),n.classList.remove("govuk-hint"),n.classList.add("govuk-error-message")):(t.classList.remove("govuk-textarea--error"),n.classList.remove("govuk-error-message"),n.classList.add("govuk-hint"));var a,s,c="character";e.maxwords&&(c="word"),c+=-1===r||1===r?"":"s",a=r<0?"too many":"remaining",s=Math.abs(r),n.innerHTML="You have "+s+" "+c+" "+a},r.prototype.handleFocus=function(){this.valueChecker=setInterval(this.checkIfValueChanged.bind(this),1e3)},r.prototype.handleBlur=function(){clearInterval(this.valueChecker)},a.prototype.init=function(){var t=this.$module;e(this.$inputs,function(e){var n=e.getAttribute("data-aria-controls");n&&t.querySelector("#"+n)&&(e.setAttribute("aria-controls",n),e.removeAttribute("data-aria-controls"),this.setAttributes(e))}.bind(this)),t.addEventListener("click",this.handleClick.bind(this))},a.prototype.setAttributes=function(t){var e=t.checked;t.setAttribute("aria-expanded",e),document.querySelector("#"+t.getAttribute("aria-controls")).classList.toggle("govuk-checkboxes__conditional--hidden",!e)},a.prototype.handleClick=function(t){var e=t.target,n="checkbox"===e.getAttribute("type"),o=e.getAttribute("aria-controls");n&&o&&this.setAttributes(e)},s.prototype.init=function(){var t=this.$module;t&&window.addEventListener("load",function(){t.focus()})},c.prototype.init=function(){var t=this.$module;if(t){var e=t.querySelector(".js-header-toggle");e&&e.addEventListener("click",this.handleClick.bind(this))}},c.prototype.toggleClass=function(t,e){t.className.indexOf(e)>0?t.className=t.className.replace(" "+e,""):t.className+=" "+e},c.prototype.handleClick=function(t){var e=this.$module,n=t.target||t.srcElement,o=e.querySelector("#"+n.getAttribute("aria-controls"));n&&o&&(this.toggleClass(o,"govuk-header__navigation--open"),this.toggleClass(n,"govuk-header__menu-button--open"),n.setAttribute("aria-expanded","true"!==n.getAttribute("aria-expanded")),o.setAttribute("aria-hidden","false"===o.getAttribute("aria-hidden")))},u.prototype.init=function(){var t=this.$module;e(this.$inputs,function(e){var n=e.getAttribute("data-aria-controls");n&&t.querySelector("#"+n)&&(e.setAttribute("aria-controls",n),e.removeAttribute("data-aria-controls"),this.setAttributes(e))}.bind(this)),t.addEventListener("click",this.handleClick.bind(this))},u.prototype.setAttributes=function(t){var e=t.checked;t.setAttribute("aria-expanded",e),document.querySelector("#"+t.getAttribute("aria-controls")).classList.toggle("govuk-radios__conditional--hidden",!e)},u.prototype.handleClick=function(t){e(this.$inputs,function(t){var e="radio"===t.getAttribute("type"),n=t.getAttribute("aria-controls");e&&n&&this.setAttributes(t)}.bind(this))},l.prototype.init=function(){"function"==typeof window.matchMedia?this.setupResponsiveChecks():this.setup()},l.prototype.setupResponsiveChecks=function(){this.mql=window.matchMedia("(min-width: 40.0625em)"),this.mql.addListener(this.checkMode.bind(this)),this.checkMode()},l.prototype.checkMode=function(){this.mql.matches?this.setup():this.teardown()},l.prototype.setup=function(){var t=this.$module,n=this.$tabs,o=t.querySelector(".govuk-tabs__list"),i=t.querySelectorAll(".govuk-tabs__list-item");if(n&&o&&i){o.setAttribute("role","tablist"),e(i,function(t){t.setAttribute("role","presentation")}),e(n,function(t){this.setAttributes(t),t.boundTabClick=this.onTabClick.bind(this),t.boundTabKeydown=this.onTabKeydown.bind(this),t.addEventListener("click",t.boundTabClick,!0),t.addEventListener("keydown",t.boundTabKeydown,!0),this.hideTab(t)}.bind(this));var r=this.getTab(window.location.hash)||this.$tabs[0];this.showTab(r),t.boundOnHashChange=this.onHashChange.bind(this),window.addEventListener("hashchange",t.boundOnHashChange,!0)}},l.prototype.teardown=function(){var t=this.$module,n=this.$tabs,o=t.querySelector(".govuk-tabs__list"),i=t.querySelectorAll(".govuk-tabs__list-item");n&&o&&i&&(o.removeAttribute("role"),e(i,function(t){t.removeAttribute("role","presentation")}),e(n,function(t){t.removeEventListener("click",t.boundTabClick,!0),t.removeEventListener("keydown",t.boundTabKeydown,!0),this.unsetAttributes(t)}.bind(this)),window.removeEventListener("hashchange",t.boundOnHashChange,!0))},l.prototype.onHashChange=function(t){var e=window.location.hash;if(this.hasTab(e))if(this.changingHash)this.changingHash=!1;else{var n=this.getCurrentTab(),o=this.getTab(e)||this.$tabs[0];this.hideTab(n),this.showTab(o),o.focus()}},l.prototype.hasTab=function(t){return this.$module.querySelector(t)},l.prototype.hideTab=function(t){this.unhighlightTab(t),this.hidePanel(t)},l.prototype.showTab=function(t){this.highlightTab(t),this.showPanel(t)},l.prototype.getTab=function(t){return this.$module.querySelector('a[role="tab"][href="'+t+'"]')},l.prototype.setAttributes=function(t){var e=this.getHref(t).slice(1);t.setAttribute("id","tab_"+e),t.setAttribute("role","tab"),t.setAttribute("aria-controls",e),t.setAttribute("tabindex","-1");var n=this.getPanel(t);n.setAttribute("role","tabpanel"),n.setAttribute("aria-labelledby",t.id),n.classList.add(this.jsHiddenClass)},l.prototype.unsetAttributes=function(t){t.removeAttribute("id"),t.removeAttribute("role"),t.removeAttribute("aria-controls"),t.removeAttribute("tabindex");var e=this.getPanel(t);e.removeAttribute("role"),e.removeAttribute("aria-labelledby"),e.classList.remove(this.jsHiddenClass)},l.prototype.onTabClick=function(t){t.preventDefault();var e=t.target,n=this.getCurrentTab();this.hideTab(n),this.showTab(e),this.createHistoryEntry(e)},l.prototype.createHistoryEntry=function(t){var e=this.getPanel(t),n=e.id;e.id="",this.changingHash=!0,window.location.hash=this.getHref(t).slice(1),e.id=n},l.prototype.onTabKeydown=function(t){switch(t.keyCode){case this.keys.left:case this.keys.up:this.activatePreviousTab(),t.preventDefault();break;case this.keys.right:case this.keys.down:this.activateNextTab(),t.preventDefault()}},l.prototype.activateNextTab=function(){var t=this.getCurrentTab(),e=t.parentNode.nextElementSibling;if(e)var n=e.firstElementChild;n&&(this.hideTab(t),this.showTab(n),n.focus(),this.createHistoryEntry(n))},l.prototype.activatePreviousTab=function(){var t=this.getCurrentTab(),e=t.parentNode.previousElementSibling;if(e)var n=e.firstElementChild;n&&(this.hideTab(t),this.showTab(n),n.focus(),this.createHistoryEntry(n))},l.prototype.getPanel=function(t){return this.$module.querySelector(this.getHref(t))},l.prototype.showPanel=function(t){this.getPanel(t).classList.remove(this.jsHiddenClass)},l.prototype.hidePanel=function(t){this.getPanel(t).classList.add(this.jsHiddenClass)},l.prototype.unhighlightTab=function(t){t.setAttribute("aria-selected","false"),t.classList.remove("govuk-tabs__tab--selected"),t.setAttribute("tabindex","-1")},l.prototype.highlightTab=function(t){t.setAttribute("aria-selected","true"),t.classList.add("govuk-tabs__tab--selected"),t.setAttribute("tabindex","0")},l.prototype.getCurrentTab=function(){return this.$module.querySelector(".govuk-tabs__tab--selected")},l.prototype.getHref=function(t){var e=t.getAttribute("href");return e.slice(e.indexOf("#"),e.length)},t.initAll=function(){new n(document).init(),e(document.querySelectorAll("details"),function(t){new i(t).init()}),e(document.querySelectorAll('[data-module="character-count"]'),function(t){new r(t).init()}),e(document.querySelectorAll('[data-module="checkboxes"]'),function(t){new a(t).init()}),new s(document.querySelector('[data-module="error-summary"]')).init(),new c(document.querySelector('[data-module="header"]')).init(),e(document.querySelectorAll('[data-module="radios"]'),function(t){new u(t).init()}),e(document.querySelectorAll('[data-module="tabs"]'),function(t){new l(t).init()})},t.Button=n,t.Details=i,t.CharacterCount=r,t.Checkboxes=a,t.ErrorSummary=s,t.Header=c,t.Radios=u,t.Tabs=l}); diff --git a/dist/govuk-frontend-ie8-2.1.0.min.css b/dist/govuk-frontend-ie8-2.1.0.min.css deleted file mode 100644 index 8077eaba83..0000000000 --- a/dist/govuk-frontend-ie8-2.1.0.min.css +++ /dev/null @@ -1,3 +0,0 @@ -@charset "UTF-8";.govuk-link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} - -/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */@font-face{font-family:nta;src:url(/assets/fonts/light-2c037cf7e1-v1.eot);src:url(/assets/fonts/light-2c037cf7e1-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-f38ad40456-v1.woff2) format("woff2"),url(/assets/fonts/light-458f8ea81c-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:nta;src:url(/assets/fonts/bold-fb2676462a-v1.eot);src:url(/assets/fonts/bold-fb2676462a-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-a2452cb66f-v1.woff2) format("woff2"),url(/assets/fonts/bold-f38c792ac2-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot);src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-tabular-851b10ccdd-v1.woff2) format("woff2"),url(/assets/fonts/light-tabular-62cc6f0a28-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot);src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-tabular-b89238d840-v1.woff2) format("woff2"),url(/assets/fonts/bold-tabular-784c21afb8-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}.govuk-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-link:link{color:#005ea5}.govuk-link:visited{color:#4c2c92}.govuk-link:active,.govuk-link:hover{color:#2b8cc4}.govuk-link:focus{color:#0b0c0c}.govuk-link--muted:active,.govuk-link--muted:hover,.govuk-link--muted:link,.govuk-link--muted:visited{color:#6f777b}.govuk-link--muted:focus,.govuk-link--text-colour:active,.govuk-link--text-colour:focus,.govuk-link--text-colour:hover,.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#0b0c0c}.govuk-link--no-visited-state:link,.govuk-link--no-visited-state:visited{color:#005ea5}.govuk-link--no-visited-state:active,.govuk-link--no-visited-state:hover{color:#2b8cc4}.govuk-link--no-visited-state:focus,.govuk-list{color:#0b0c0c}.govuk-list{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;margin-top:0;margin-bottom:15px;margin-bottom:20px;padding-left:0;list-style-type:none}.govuk-list .govuk-list{margin-top:10px}.govuk-list>li{margin-bottom:5px}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-template{background-color:#dee0e2}.govuk-template__body{margin:0;background-color:#fff}.govuk-heading-xl{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem;line-height:1.04167;display:block;margin-top:0;margin-bottom:30px;margin-bottom:50px}.govuk-heading-l{font-size:24px;font-size:1.5rem;line-height:1.04167;font-size:36px;font-size:2.25rem;margin-bottom:20px;margin-bottom:30px}.govuk-heading-l,.govuk-heading-m{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.11111;display:block;margin-top:0}.govuk-heading-m{font-size:18px;font-size:1.125rem;font-size:24px;font-size:1.5rem;line-height:1.25;margin-bottom:15px;margin-bottom:20px}.govuk-heading-s{color:#0b0c0c;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-caption-xl,.govuk-heading-s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:block}.govuk-caption-xl{font-weight:400;font-size:18px;font-size:1.125rem;font-size:27px;font-size:1.6875rem;line-height:1.11111;margin-bottom:5px;color:#6f777b}.govuk-caption-l{font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-bottom:5px;margin-bottom:0}.govuk-caption-l,.govuk-caption-m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:1.25;display:block;color:#6f777b}.govuk-caption-m{font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-body-l,.govuk-body-lead{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;line-height:1.25;margin-top:0;margin-bottom:20px;margin-bottom:30px}.govuk-body,.govuk-body-m{font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-body,.govuk-body-m,.govuk-body-s{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-body-s{font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25}.govuk-body-xs{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;font-size:14px;font-size:.875rem;line-height:1.42857;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:5px;padding-top:10px}.govuk-body+.govuk-heading-l,.govuk-body-m+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px;padding-top:20px}.govuk-body+.govuk-heading-m,.govuk-body+.govuk-heading-s,.govuk-body-m+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body-s+.govuk-heading-m,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-m,.govuk-list+.govuk-heading-s{padding-top:5px;padding-top:10px}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px;margin-top:50px;margin-bottom:30px;margin-bottom:50px}.govuk-section-break--l{margin-top:20px;margin-top:30px;margin-bottom:20px;margin-bottom:30px}.govuk-section-break--m{margin-top:15px;margin-top:20px;margin-bottom:15px;margin-bottom:20px}.govuk-section-break--visible{border-bottom:1px solid #bfc1c3}.govuk-form-group{margin-bottom:20px;margin-bottom:30px}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #b10e1e}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-row:after{content:"";display:block;clear:both}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px;width:25%;float:left}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px;width:33.3333%;float:left}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px;width:50%;float:left}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px;width:66.6666%;float:left}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px;width:75%;float:left}.govuk-grid-column-full{box-sizing:border-box;padding:0 15px;width:100%;float:left}.govuk-main-wrapper{padding-top:20px;padding-top:30px;padding-bottom:20px;padding-bottom:30px;display:block}.govuk-main-wrapper--l{padding-top:30px;padding-top:50px}.govuk-width-container{max-width:960px;width:960px;margin:0 15px;margin:0 30px}.govuk-back-link{font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;position:relative;margin-top:15px;margin-bottom:15px;padding-left:14px;border-bottom:1px solid #0b0c0c;text-decoration:none}.govuk-back-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-back-link:active,.govuk-back-link:focus,.govuk-back-link:hover,.govuk-back-link:link,.govuk-back-link:visited{color:#0b0c0c}.govuk-back-link:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 50%,100% 100%,100% 0);clip-path:polygon(0 50%,100% 100%,100% 0);border-width:5px 6px 5px 0;border-right-color:inherit;content:"";position:absolute;left:0;margin:auto}.govuk-back-link:before{top:-1px;bottom:1px}.govuk-breadcrumbs{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-top:15px;margin-bottom:10px}.govuk-breadcrumbs__list{margin:0;padding:0;list-style-type:none}.govuk-breadcrumbs__list:after{content:"";display:block;clear:both}.govuk-breadcrumbs__list-item{display:inline-block;position:relative;margin-bottom:5px;margin-left:10px;padding-left:15.655px;float:left}.govuk-breadcrumbs__list-item:before{content:"";display:block;position:absolute;top:-1px;bottom:1px;left:-3.31px;width:7px;height:7px;margin:auto 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);border:solid;border-width:1px 1px 0 0;border-color:#6f777b;content:"\003e";width:auto;height:auto;border:0;color:#6f777b;font-family:Arial,sans-serif}.govuk-breadcrumbs__list-item:first-child{margin-left:0;padding-left:0}.govuk-breadcrumbs__list-item:first-child:before{content:none;display:none}.govuk-breadcrumbs__link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.govuk-breadcrumbs__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus,.govuk-breadcrumbs__link:hover,.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#0b0c0c}.govuk-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.1875;font-size:19px;font-size:1.1875rem;line-height:1;box-sizing:border-box;display:inline-block;position:relative;width:100%;margin-top:0;margin-bottom:22px;margin-bottom:32px;padding:7px 10px;border:2px solid transparent;border-radius:0;color:#fff;background-color:#00823b;box-shadow:0 2px 0 #003618;text-align:center;vertical-align:top;cursor:pointer;-webkit-appearance:none;border-bottom:2px solid #003618;width:auto}.govuk-button:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-button:active,.govuk-button:hover,.govuk-button:link,.govuk-button:visited{color:#fff;text-decoration:none}.govuk-button::-moz-focus-inner{padding:0;border:0}.govuk-button:focus,.govuk-button:hover{background-color:#00692f}.govuk-button:active{top:2px;box-shadow:none;border-bottom-width:0}.govuk-button:before{content:"";display:block;position:absolute;top:-2px;right:-2px;bottom:-4px;left:-2px;background:transparent}.govuk-button:active:before{top:-4px}.govuk-button--disabled,.govuk-button[disabled=disabled],.govuk-button[disabled]{filter:alpha(opacity=50);background:#00823b}.govuk-button--disabled:hover,.govuk-button[disabled=disabled]:hover,.govuk-button[disabled]:hover{background-color:#00823b;cursor:default}.govuk-button--disabled:focus,.govuk-button[disabled=disabled]:focus,.govuk-button[disabled]:focus{outline:none}.govuk-button--disabled:active,.govuk-button[disabled=disabled]:active,.govuk-button[disabled]:active{top:0;box-shadow:0 2px 0 #003618;border-bottom:2px solid #003618}.govuk-button--start{font-weight:700;font-size:18px;font-size:1.125rem;font-size:24px;font-size:1.5rem;line-height:1;min-height:auto;padding:8px 40px 8px 15px;background-image:url(/assets/images/icon-pointer.png);background-repeat:no-repeat;background-position:100% 50%}.govuk-button,.govuk-button--start{padding-top:9px;padding-bottom:6px}.govuk-error-message{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;margin-bottom:15px;clear:both;color:#b10e1e}.govuk-fieldset{margin:0;padding:0;border:0}.govuk-fieldset:after{content:"";display:block;clear:both}.govuk-fieldset__legend{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;box-sizing:border-box;display:table;max-width:100%;margin-bottom:10px;padding:0;overflow:hidden;white-space:normal}.govuk-fieldset__legend--xl{font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem}.govuk-fieldset__legend--l,.govuk-fieldset__legend--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.04167;margin-bottom:15px}.govuk-fieldset__legend--l{font-size:24px;font-size:1.5rem;font-size:36px;font-size:2.25rem;line-height:1.11111}.govuk-fieldset__legend--m{font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-bottom:15px}.govuk-fieldset__legend--m,.govuk-fieldset__legend--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.25}.govuk-fieldset__legend--s{font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-fieldset__heading{margin:0;font-size:inherit;font-weight:inherit}.govuk-hint{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;margin-bottom:15px;color:#6f777b}{margin-bottom:10px}{margin-bottom:10px}.govuk-fieldset__legend+.govuk-hint{margin-top:-5px}.govuk-label{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;display:block;margin-bottom:5px}.govuk-label--xl{font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem}.govuk-label--l,.govuk-label--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.04167;margin-bottom:15px}.govuk-label--l{font-size:24px;font-size:1.5rem;font-size:36px;font-size:2.25rem;line-height:1.11111}.govuk-label--m{font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-bottom:10px}.govuk-label--m,.govuk-label--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.25}.govuk-label--s{font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-label-wrapper{margin:0}.govuk-checkboxes__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}.govuk-checkboxes__item:last-child,.govuk-checkboxes__item:last-of-type{margin-bottom:0}.govuk-checkboxes__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer}.govuk-checkboxes__input:focus{outline:3px solid #ffbf47}.govuk-checkboxes__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-checkboxes__hint{display:block;padding-right:15px;padding-left:15px}.govuk-checkboxes__input+.govuk-checkboxes__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;background:transparent}.govuk-checkboxes__input+.govuk-checkboxes__label:after{content:"";position:absolute;top:11px;left:9px;width:18px;height:7px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border:solid;border-width:0 0 5px 5px;border-top-color:transparent;filter:alpha(opacity=0);background:transparent}.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 3px #ffbf47}.govuk-checkboxes__input:checked+.govuk-checkboxes__label:after{filter:alpha(opacity=100)}.govuk-checkboxes__input:disabled,.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{cursor:default}.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{filter:alpha(opacity=50)}.govuk-checkboxes__conditional{margin-bottom:15px;margin-bottom:20px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}.js-enabled .govuk-checkboxes__conditional--hidden{display:none}.govuk-checkboxes__conditional>:last-child{margin-bottom:0}.govuk-input{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;box-sizing:border-box;width:100%;height:40px;margin-top:0;padding:5px;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.govuk-input:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-input::-webkit-inner-spin-button,.govuk-input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.govuk-input[type=number]{-moz-appearance:textfield}.govuk-input--error{border:4px solid #b10e1e}.govuk-input--width-30{max-width:59ex}.govuk-input--width-20{max-width:41ex}.govuk-input--width-10{max-width:23ex}.govuk-input--width-5{max-width:10.8ex}.govuk-input--width-4{max-width:9ex}.govuk-input--width-3{max-width:7.2ex}.govuk-input--width-2{max-width:5.4ex}.govuk-date-input{font-size:0}.govuk-date-input:after{content:"";display:block;clear:both}.govuk-date-input__item{display:inline-block;margin-right:20px;margin-bottom:0}.govuk-date-input__label{display:block}.govuk-date-input__input{margin-bottom:0}.govuk-details{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;margin-bottom:20px;margin-bottom:30px;display:block}.govuk-details__summary{display:inline-block;position:relative;margin-bottom:5px;padding-left:25px;color:#005ea5;cursor:pointer}.govuk-details__summary-text{text-decoration:underline}.govuk-details__summary:hover{color:#2b8cc4}.govuk-details__summary:focus{outline:4px solid #ffbf47;outline-offset:-1px;color:#0b0c0c;background:#ffbf47}.govuk-details__summary::-webkit-details-marker{display:none}.govuk-details__summary:before{content:"";position:absolute;top:0;bottom:0;left:0;margin:auto;display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,100% 50%,0 100%);clip-path:polygon(0 0,100% 50%,0 100%);border-width:7px 0 7px 12.124px;border-left-color:inherit}.govuk-details[open]>.govuk-details__summary:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:12.124px 7px 0;border-top-color:inherit}.govuk-details__text{padding:15px;padding-left:20px;border-left:5px solid #bfc1c3}.govuk-details__text p{margin-top:0;margin-bottom:20px}.govuk-details__text>:last-child{margin-bottom:0}.govuk-error-summary{color:#0b0c0c;padding:15px;padding:20px;margin-bottom:30px;margin-bottom:50px;border:4px solid #b10e1e;border:5px solid #b10e1e}.govuk-error-summary:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-error-summary__title{font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-error-summary__body,.govuk-error-summary__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.25}.govuk-error-summary__body{font-weight:400;font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-error-summary__body p{margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-error-summary__list{margin-top:0;margin-bottom:0}.govuk-error-summary__list a{font-weight:700}.govuk-error-summary__list a:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-error-summary__list a:active,.govuk-error-summary__list a:hover,.govuk-error-summary__list a:link,.govuk-error-summary__list a:visited{color:#b10e1e}.govuk-error-summary__list a:focus{color:#0b0c0c}.govuk-file-upload{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c}.govuk-file-upload:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-file-upload--error{border:4px solid #b10e1e}.govuk-footer{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;padding-top:25px;padding-top:40px;padding-bottom:15px;padding-bottom:25px;border-top:1px solid #a1acb2;color:#454a4c;background:#dee0e2}.govuk-footer__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-footer__link:link,.govuk-footer__link:visited{color:#454a4c}.govuk-footer__link:active,.govuk-footer__link:hover{color:#171819}.govuk-footer__link:focus{color:#0b0c0c}.govuk-footer__section-break{margin:0;margin-bottom:30px;margin-bottom:50px;border:0;border-bottom:1px solid #bfc1c3}.govuk-footer__meta{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.govuk-footer__meta-item{margin-right:15px;margin-bottom:25px;margin-left:15px}.govuk-footer__meta-item--grow{-webkit-box-flex:1;-ms-flex:1;flex:1}.govuk-footer__licence-logo{display:inline-block;margin-right:10px;vertical-align:top}.govuk-footer__licence-description{display:inline-block}.govuk-footer__copyright-logo{display:inline-block;min-width:125px;padding-top:112px;background-image:url(/assets/images/govuk-crest.png);background-repeat:no-repeat;background-position:50% 0;background-size:125px 102px;text-align:center;text-decoration:none;white-space:nowrap}.govuk-footer__inline-list{margin-top:0;margin-bottom:15px;padding:0}.govuk-footer__meta-custom{margin-bottom:20px}.govuk-footer__inline-list-item{display:inline-block;margin-right:15px;margin-bottom:5px}.govuk-footer__heading{margin-bottom:25px;margin-bottom:40px;padding-bottom:20px;border-bottom:1px solid #bfc1c3}.govuk-footer__navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap}.govuk-footer__section{display:inline-block;margin-right:15px;margin-bottom:30px;margin-left:15px;vertical-align:top;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.govuk-footer__section:first-child{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.govuk-footer__list{margin:0;padding:0;list-style:none;-webkit-column-gap:30px;-moz-column-gap:30px;column-gap:30px}.govuk-footer__list--columns-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.govuk-footer__list--columns-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.govuk-footer__list-item{margin-bottom:15px;margin-bottom:20px}.govuk-footer__list-item:last-child{margin-bottom:0}.govuk-header{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;border-bottom:10px solid #fff;color:#fff;background:#0b0c0c}.govuk-header__container--full-width{padding:0 15px;border-color:#005ea5}.govuk-header__container--full-width .govuk-header__menu-button{right:15px}.govuk-header__container{position:relative;margin-bottom:-10px;padding-top:10px;border-bottom:10px solid #005ea5}.govuk-header__container:after{content:"";display:block;clear:both}.govuk-header__logotype{margin-right:5px}.govuk-header__logotype-crown{margin-right:1px;fill:currentColor;vertical-align:middle}.govuk-header__logotype-crown-fallback-image{width:36px;height:32px;border:0;vertical-align:middle}.govuk-header__product-name{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;line-height:1.25}.govuk-header__link{text-decoration:none}.govuk-header__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-header__link:link,.govuk-header__link:visited{color:#fff}.govuk-header__link:hover{text-decoration:underline}.govuk-header__link:focus{color:#0b0c0c}.govuk-header__link--homepage{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;font-size:30px;line-height:30px}.govuk-header__link--homepage:link,.govuk-header__link--homepage:visited{text-decoration:none}.govuk-header__link--homepage:active,.govuk-header__link--homepage:hover{margin-bottom:-1px;border-bottom:1px solid}.govuk-header__link--service-name{display:inline-block;margin-bottom:10px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;line-height:1.25}.govuk-header__logo{margin-bottom:10px;padding-right:50px;width:33.33%;padding-right:0;float:left;vertical-align:top}.govuk-header__content{width:66.66%;float:left}.govuk-header__menu-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;display:none;position:absolute;top:20px;right:0;margin:0;padding:0;border:0;color:#fff;background:none;top:15px}.govuk-header__menu-button:hover{text-decoration:underline}.govuk-header__menu-button:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:8.66px 5px 0;border-top-color:inherit;content:"";margin-left:5px}.govuk-header__menu-button:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-header__menu-button--open:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(50% 0,0 100%,100% 100%);clip-path:polygon(50% 0,0 100%,100% 100%);border-width:0 5px 8.66px;border-bottom-color:inherit}.govuk-header__navigation{margin-bottom:10px;display:block;margin:0;padding:0;list-style:none}.js-enabled .govuk-header__menu-button,.js-enabled .govuk-header__navigation{display:block;display:none}.js-enabled .govuk-header__navigation--open{display:block}.govuk-header__navigation--end{margin:0;padding:5px 0;text-align:right}.govuk-header__navigation--no-service-name{padding-top:40px}.govuk-header__navigation-item{padding:10px 0;border-bottom:1px solid #2e3133;display:inline-block;margin-right:15px;padding:5px 0;border:0}.govuk-header__navigation-item a{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;white-space:nowrap}.govuk-header__navigation-item--active a:hover,.govuk-header__navigation-item--active a:link,.govuk-header__navigation-item--active a:visited{color:#1d8feb}.govuk-header__navigation-item--active a:focus{color:#0b0c0c}.govuk-header__navigation-item:last-child{margin-right:0}.govuk-header__logotype-crown,.govuk-header__logotype-crown-fallback-image{position:relative;top:-4px}.govuk-header{padding-top:3px}.govuk-inset-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;padding:15px;margin-top:20px;margin-top:30px;margin-bottom:20px;margin-bottom:30px;clear:both;border-left:10px solid #bfc1c3}.govuk-inset-text :first-child{margin-top:0}.govuk-inset-text :last-child,.govuk-inset-text :only-child{margin-bottom:0}.govuk-panel{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;box-sizing:border-box;margin-bottom:15px;padding:35px;border:5px solid transparent;text-align:center}.govuk-panel--confirmation{color:#fff;background:#28a197}.govuk-panel__title{margin-top:0;margin-bottom:30px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem;line-height:1.04167}.govuk-panel__title:last-child{margin-bottom:0}.govuk-panel__body{font-weight:400;font-size:24px;font-size:1.5rem;line-height:1.04167;font-size:36px;font-size:2.25rem;line-height:1.11111}.govuk-panel__body,.govuk-tag{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.govuk-tag{font-weight:700;font-size:14px;font-size:.875rem;font-size:16px;font-size:1rem;line-height:1.25;display:inline-block;padding:4px 8px;padding-bottom:1px;outline:2px solid transparent;outline-offset:-2px;color:#fff;background-color:#005ea5;letter-spacing:1px;text-decoration:none;text-transform:uppercase}.govuk-tag--inactive{background-color:#6f777b}.govuk-phase-banner{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #bfc1c3}.govuk-phase-banner__content{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;display:table;margin:0}.govuk-phase-banner__content__tag{margin-right:10px}.govuk-phase-banner__text{display:table-cell;vertical-align:baseline}.govuk-tabs{color:#0b0c0c;margin-top:5px;margin-bottom:20px;margin-bottom:30px}.govuk-tabs,.govuk-tabs__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-tabs__title{margin-bottom:5px}.govuk-tabs__list{margin:0;padding:0;list-style:none}.govuk-tabs__list-item{margin-left:25px}.govuk-tabs__list-item:before{content:"— ";margin-left:-25px;padding-right:5px}.govuk-tabs__tab{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:inline-block;padding-top:10px;padding-bottom:10px}.govuk-tabs__tab:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-tabs__tab:link{color:#005ea5}.govuk-tabs__tab:visited{color:#4c2c92}.govuk-tabs__tab:active,.govuk-tabs__tab:hover{color:#2b8cc4}.govuk-tabs__tab:focus{color:#0b0c0c}.govuk-tabs__tab[aria-current=true]{color:#0b0c0c;text-decoration:none}.govuk-tabs__panel{margin-bottom:30px;margin-bottom:50px}.js-enabled .govuk-tabs__list{border-bottom:1px solid #bfc1c3}.js-enabled .govuk-tabs__list:after{content:"";display:block;clear:both}.js-enabled .govuk-tabs__list-item{margin-left:0}.js-enabled .govuk-tabs__list-item:before{content:none}.js-enabled .govuk-tabs__title{display:none}.js-enabled .govuk-tabs__tab{margin-right:5px;padding-right:20px;padding-left:20px;float:left;color:#0b0c0c;background-color:#f8f8f8;text-align:center;text-decoration:none}.js-enabled .govuk-tabs__tab--selected{margin-top:-5px;margin-bottom:-1px;padding:14px 19px 16px;border:1px solid #bfc1c3;border-bottom:0;color:#0b0c0c;background-color:#fff}.js-enabled .govuk-tabs__tab--selected:focus{background-color:transparent}.js-enabled .govuk-tabs__panel{margin-bottom:0;padding:30px 20px;border:1px solid #bfc1c3;border-top:0}.js-enabled .govuk-tabs__panel--hidden{display:none}.js-enabled .govuk-tabs__panel>:last-child{margin-bottom:0}.govuk-radios__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}.govuk-radios__item:last-child,.govuk-radios__item:last-of-type{margin-bottom:0}.govuk-radios__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer}.govuk-radios__input:focus{outline:3px solid #ffbf47}.govuk-radios__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-radios__hint{display:block;padding-right:15px;padding-left:15px}.govuk-radios__input+.govuk-radios__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;border-radius:50%;background:transparent}.govuk-radios__input+.govuk-radios__label:after{content:"";position:absolute;top:10px;left:10px;width:0;height:0;border:10px solid currentColor;border-radius:50%;filter:alpha(opacity=0);background:currentColor}.govuk-radios__input:focus+.govuk-radios__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 4px #ffbf47}.govuk-radios__input:checked+.govuk-radios__label:after{filter:alpha(opacity=100)}.govuk-radios__input:disabled,.govuk-radios__input:disabled+.govuk-radios__label{cursor:default}.govuk-radios__input:disabled+.govuk-radios__label{filter:alpha(opacity=50)}.govuk-radios--inline:after{content:"";display:block;clear:both}.govuk-radios--inline .govuk-radios__item{margin-right:20px;float:left;clear:none}.govuk-radios--inline.govuk-radios--conditional .govuk-radios__item{margin-right:0;float:none}.govuk-radios__divider{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;width:40px;margin-bottom:10px;text-align:center}.govuk-radios__conditional{margin-bottom:15px;margin-bottom:20px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}.js-enabled .govuk-radios__conditional--hidden{display:none}.govuk-radios__conditional>:last-child{margin-bottom:0}.govuk-select{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.25;box-sizing:border-box;height:40px;padding:5px;border:2px solid #0b0c0c}.govuk-select:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-select:focus::-ms-value,.govuk-select option:active,.govuk-select option:checked{color:#fff;background-color:#005ea5}.govuk-select--error{border:4px solid #b10e1e}.govuk-skip-link{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;display:block;padding:10px 15px}.govuk-skip-link:active,.govuk-skip-link:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}.govuk-skip-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-skip-link:active,.govuk-skip-link:focus,.govuk-skip-link:hover,.govuk-skip-link:link,.govuk-skip-link:visited,.govuk-table{color:#0b0c0c}.govuk-table{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;width:100%;margin-bottom:20px;margin-bottom:30px;border-spacing:0;border-collapse:collapse}.govuk-table__header{font-weight:700}.govuk-table__cell,.govuk-table__header{padding:10px 20px 10px 0;border-bottom:1px solid #bfc1c3;text-align:left}.govuk-table__cell--numeric{font-family:ntatabularnumbers,nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400}.govuk-table__cell--numeric,.govuk-table__header--numeric{text-align:right}.govuk-table__cell:last-child,.govuk-table__header:last-child{padding-right:0}.govuk-table__caption{font-weight:700;display:table-caption;text-align:left}.govuk-textarea{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.25;box-sizing:border-box;display:block;width:100%;min-height:40px;margin-bottom:20px;margin-bottom:30px;padding:5px;resize:vertical;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none}.govuk-textarea:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-textarea--error{border:4px solid #b10e1e}.govuk-warning-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;position:relative;margin-bottom:20px;margin-bottom:30px;padding:10px 0}.govuk-warning-text__assistive{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);border:0;white-space:nowrap}.govuk-warning-text__icon{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;position:absolute;top:50%;left:0;min-width:32px;min-height:29px;margin-top:-20px;padding-top:3px;border:3px solid #0b0c0c;border-radius:50%;color:#fff;background:#0b0c0c;font-size:1.6em;line-height:29px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.govuk-warning-text__text{display:block;margin-left:-15px;padding-left:65px}.govuk-clearfix:after{content:"";display:block;clear:both}.govuk-visually-hidden{padding:0;border:0}.govuk-visually-hidden,.govuk-visually-hidden-focusable{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.govuk-visually-hidden-focusable:active,.govuk-visually-hidden-focusable:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}.govuk-\!-display-inline{display:inline!important}.govuk-\!-display-inline-block{display:inline-block!important}.govuk-\!-display-block{display:block!important}.govuk-\!-margin-0{margin:0!important}.govuk-\!-margin-top-0{margin-top:0!important}.govuk-\!-margin-right-0{margin-right:0!important}.govuk-\!-margin-bottom-0{margin-bottom:0!important}.govuk-\!-margin-left-0{margin-left:0!important}.govuk-\!-margin-1{margin:5px!important}.govuk-\!-margin-top-1{margin-top:5px!important}.govuk-\!-margin-right-1{margin-right:5px!important}.govuk-\!-margin-bottom-1{margin-bottom:5px!important}.govuk-\!-margin-left-1{margin-left:5px!important}.govuk-\!-margin-2{margin:10px!important}.govuk-\!-margin-top-2{margin-top:10px!important}.govuk-\!-margin-right-2{margin-right:10px!important}.govuk-\!-margin-bottom-2{margin-bottom:10px!important}.govuk-\!-margin-left-2{margin-left:10px!important}.govuk-\!-margin-3{margin:15px!important}.govuk-\!-margin-top-3{margin-top:15px!important}.govuk-\!-margin-right-3{margin-right:15px!important}.govuk-\!-margin-bottom-3{margin-bottom:15px!important}.govuk-\!-margin-left-3{margin-left:15px!important}.govuk-\!-margin-4{margin:15px!important;margin:20px!important}.govuk-\!-margin-top-4{margin-top:15px!important;margin-top:20px!important}.govuk-\!-margin-right-4{margin-right:15px!important;margin-right:20px!important}.govuk-\!-margin-bottom-4{margin-bottom:15px!important;margin-bottom:20px!important}.govuk-\!-margin-left-4{margin-left:15px!important;margin-left:20px!important}.govuk-\!-margin-5{margin:15px!important;margin:25px!important}.govuk-\!-margin-top-5{margin-top:15px!important;margin-top:25px!important}.govuk-\!-margin-right-5{margin-right:15px!important;margin-right:25px!important}.govuk-\!-margin-bottom-5{margin-bottom:15px!important;margin-bottom:25px!important}.govuk-\!-margin-left-5{margin-left:15px!important;margin-left:25px!important}.govuk-\!-margin-6{margin:20px!important;margin:30px!important}.govuk-\!-margin-top-6{margin-top:20px!important;margin-top:30px!important}.govuk-\!-margin-right-6{margin-right:20px!important;margin-right:30px!important}.govuk-\!-margin-bottom-6{margin-bottom:20px!important;margin-bottom:30px!important}.govuk-\!-margin-left-6{margin-left:20px!important;margin-left:30px!important}.govuk-\!-margin-7{margin:25px!important;margin:40px!important}.govuk-\!-margin-top-7{margin-top:25px!important;margin-top:40px!important}.govuk-\!-margin-right-7{margin-right:25px!important;margin-right:40px!important}.govuk-\!-margin-bottom-7{margin-bottom:25px!important;margin-bottom:40px!important}.govuk-\!-margin-left-7{margin-left:25px!important;margin-left:40px!important}.govuk-\!-margin-8{margin:30px!important;margin:50px!important}.govuk-\!-margin-top-8{margin-top:30px!important;margin-top:50px!important}.govuk-\!-margin-right-8{margin-right:30px!important;margin-right:50px!important}.govuk-\!-margin-bottom-8{margin-bottom:30px!important;margin-bottom:50px!important}.govuk-\!-margin-left-8{margin-left:30px!important;margin-left:50px!important}.govuk-\!-margin-9{margin:40px!important;margin:60px!important}.govuk-\!-margin-top-9{margin-top:40px!important;margin-top:60px!important}.govuk-\!-margin-right-9{margin-right:40px!important;margin-right:60px!important}.govuk-\!-margin-bottom-9{margin-bottom:40px!important;margin-bottom:60px!important}.govuk-\!-margin-left-9{margin-left:40px!important;margin-left:60px!important}.govuk-\!-padding-0{padding:0!important}.govuk-\!-padding-top-0{padding-top:0!important}.govuk-\!-padding-right-0{padding-right:0!important}.govuk-\!-padding-bottom-0{padding-bottom:0!important}.govuk-\!-padding-left-0{padding-left:0!important}.govuk-\!-padding-1{padding:5px!important}.govuk-\!-padding-top-1{padding-top:5px!important}.govuk-\!-padding-right-1{padding-right:5px!important}.govuk-\!-padding-bottom-1{padding-bottom:5px!important}.govuk-\!-padding-left-1{padding-left:5px!important}.govuk-\!-padding-2{padding:10px!important}.govuk-\!-padding-top-2{padding-top:10px!important}.govuk-\!-padding-right-2{padding-right:10px!important}.govuk-\!-padding-bottom-2{padding-bottom:10px!important}.govuk-\!-padding-left-2{padding-left:10px!important}.govuk-\!-padding-3{padding:15px!important}.govuk-\!-padding-top-3{padding-top:15px!important}.govuk-\!-padding-right-3{padding-right:15px!important}.govuk-\!-padding-bottom-3{padding-bottom:15px!important}.govuk-\!-padding-left-3{padding-left:15px!important}.govuk-\!-padding-4{padding:15px!important;padding:20px!important}.govuk-\!-padding-top-4{padding-top:15px!important;padding-top:20px!important}.govuk-\!-padding-right-4{padding-right:15px!important;padding-right:20px!important}.govuk-\!-padding-bottom-4{padding-bottom:15px!important;padding-bottom:20px!important}.govuk-\!-padding-left-4{padding-left:15px!important;padding-left:20px!important}.govuk-\!-padding-5{padding:15px!important;padding:25px!important}.govuk-\!-padding-top-5{padding-top:15px!important;padding-top:25px!important}.govuk-\!-padding-right-5{padding-right:15px!important;padding-right:25px!important}.govuk-\!-padding-bottom-5{padding-bottom:15px!important;padding-bottom:25px!important}.govuk-\!-padding-left-5{padding-left:15px!important;padding-left:25px!important}.govuk-\!-padding-6{padding:20px!important;padding:30px!important}.govuk-\!-padding-top-6{padding-top:20px!important;padding-top:30px!important}.govuk-\!-padding-right-6{padding-right:20px!important;padding-right:30px!important}.govuk-\!-padding-bottom-6{padding-bottom:20px!important;padding-bottom:30px!important}.govuk-\!-padding-left-6{padding-left:20px!important;padding-left:30px!important}.govuk-\!-padding-7{padding:25px!important;padding:40px!important}.govuk-\!-padding-top-7{padding-top:25px!important;padding-top:40px!important}.govuk-\!-padding-right-7{padding-right:25px!important;padding-right:40px!important}.govuk-\!-padding-bottom-7{padding-bottom:25px!important;padding-bottom:40px!important}.govuk-\!-padding-left-7{padding-left:25px!important;padding-left:40px!important}.govuk-\!-padding-8{padding:30px!important;padding:50px!important}.govuk-\!-padding-top-8{padding-top:30px!important;padding-top:50px!important}.govuk-\!-padding-right-8{padding-right:30px!important;padding-right:50px!important}.govuk-\!-padding-bottom-8{padding-bottom:30px!important;padding-bottom:50px!important}.govuk-\!-padding-left-8{padding-left:30px!important;padding-left:50px!important}.govuk-\!-padding-9{padding:40px!important;padding:60px!important}.govuk-\!-padding-top-9{padding-top:40px!important;padding-top:60px!important}.govuk-\!-padding-right-9{padding-right:40px!important;padding-right:60px!important}.govuk-\!-padding-bottom-9{padding-bottom:40px!important;padding-bottom:60px!important}.govuk-\!-padding-left-9{padding-left:40px!important;padding-left:60px!important}.govuk-\!-font-size-80{font-size:53px!important;font-size:3.3125rem!important;line-height:1.03774!important;font-size:80px!important;font-size:5rem!important;line-height:1!important}.govuk-\!-font-size-48{font-size:32px!important;font-size:2rem!important;line-height:1.09375!important;font-size:48px!important;font-size:3rem!important;line-height:1.04167!important}.govuk-\!-font-size-36{font-size:24px!important;font-size:1.5rem!important;line-height:1.04167!important;font-size:36px!important;font-size:2.25rem!important;line-height:1.11111!important}.govuk-\!-font-size-27{font-size:18px!important;font-size:1.125rem!important;font-size:27px!important;font-size:1.6875rem!important;line-height:1.11111!important}.govuk-\!-font-size-24{font-size:18px!important;font-size:1.125rem!important;line-height:1.11111!important;font-size:24px!important;font-size:1.5rem!important;line-height:1.25!important}.govuk-\!-font-size-19{font-size:16px!important;font-size:1rem!important;line-height:1.25!important;font-size:19px!important;font-size:1.1875rem!important;line-height:1.31579!important}.govuk-\!-font-size-16{font-size:14px!important;font-size:.875rem!important;line-height:1.14286!important;font-size:16px!important;font-size:1rem!important;line-height:1.25!important}.govuk-\!-font-size-14{font-size:12px!important;font-size:.75rem!important;line-height:1.25!important;font-size:14px!important;font-size:.875rem!important;line-height:1.42857!important}.govuk-\!-font-weight-regular{font-weight:400!important}.govuk-\!-font-weight-bold{font-weight:700!important}.govuk-\!-width-full{width:100%!important}.govuk-\!-width-three-quarters{width:100%!important;width:75%!important}.govuk-\!-width-two-thirds{width:100%!important;width:66.66%!important}.govuk-\!-width-one-half{width:100%!important;width:50%!important}.govuk-\!-width-one-third{width:100%!important;width:33.33%!important}.govuk-\!-width-one-quarter{width:100%!important;width:25%!important} \ No newline at end of file diff --git a/dist/govuk-frontend-ie8-2.2.0.min.css b/dist/govuk-frontend-ie8-2.2.0.min.css new file mode 100644 index 0000000000..1fc1cddc28 --- /dev/null +++ b/dist/govuk-frontend-ie8-2.2.0.min.css @@ -0,0 +1,3 @@ +@charset "UTF-8";.govuk-link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} + +/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */@font-face{font-family:nta;src:url(/assets/fonts/light-2c037cf7e1-v1.eot);src:url(/assets/fonts/light-2c037cf7e1-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-f38ad40456-v1.woff2) format("woff2"),url(/assets/fonts/light-458f8ea81c-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:nta;src:url(/assets/fonts/bold-fb2676462a-v1.eot);src:url(/assets/fonts/bold-fb2676462a-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-a2452cb66f-v1.woff2) format("woff2"),url(/assets/fonts/bold-f38c792ac2-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot);src:url(/assets/fonts/light-tabular-498ea8ffe2-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/light-tabular-851b10ccdd-v1.woff2) format("woff2"),url(/assets/fonts/light-tabular-62cc6f0a28-v1.woff) format("woff");font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:ntatabularnumbers;src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot);src:url(/assets/fonts/bold-tabular-357fdfbcc3-v1.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/bold-tabular-b89238d840-v1.woff2) format("woff2"),url(/assets/fonts/bold-tabular-784c21afb8-v1.woff) format("woff");font-weight:700;font-style:normal;font-display:fallback}.govuk-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-link:link{color:#005ea5}.govuk-link:visited{color:#4c2c92}.govuk-link:active,.govuk-link:hover{color:#2b8cc4}.govuk-link:focus{color:#0b0c0c}.govuk-link--muted:active,.govuk-link--muted:hover,.govuk-link--muted:link,.govuk-link--muted:visited{color:#6f777b}.govuk-link--muted:focus,.govuk-link--text-colour:active,.govuk-link--text-colour:focus,.govuk-link--text-colour:hover,.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#0b0c0c}.govuk-link--no-visited-state:link,.govuk-link--no-visited-state:visited{color:#005ea5}.govuk-link--no-visited-state:active,.govuk-link--no-visited-state:hover{color:#2b8cc4}.govuk-link--no-visited-state:focus,.govuk-list{color:#0b0c0c}.govuk-list{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;margin-top:0;margin-bottom:15px;margin-bottom:20px;padding-left:0;list-style-type:none}.govuk-list .govuk-list{margin-top:10px}.govuk-list>li{margin-bottom:5px}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-template{background-color:#dee0e2}.govuk-template__body{margin:0;background-color:#fff}.govuk-heading-xl{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem;line-height:1.04167;display:block;margin-top:0;margin-bottom:30px;margin-bottom:50px}.govuk-heading-l{font-size:24px;font-size:1.5rem;line-height:1.04167;font-size:36px;font-size:2.25rem;margin-bottom:20px;margin-bottom:30px}.govuk-heading-l,.govuk-heading-m{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.11111;display:block;margin-top:0}.govuk-heading-m{font-size:18px;font-size:1.125rem;font-size:24px;font-size:1.5rem;line-height:1.25;margin-bottom:15px;margin-bottom:20px}.govuk-heading-s{color:#0b0c0c;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-caption-xl,.govuk-heading-s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:block}.govuk-caption-xl{font-weight:400;font-size:18px;font-size:1.125rem;font-size:27px;font-size:1.6875rem;line-height:1.11111;margin-bottom:5px;color:#6f777b}.govuk-caption-l{font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-bottom:5px;margin-bottom:0}.govuk-caption-l,.govuk-caption-m{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:1.25;display:block;color:#6f777b}.govuk-caption-m{font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-body-l,.govuk-body-lead{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;line-height:1.25;margin-top:0;margin-bottom:20px;margin-bottom:30px}.govuk-body,.govuk-body-m{font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-body,.govuk-body-m,.govuk-body-s{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-body-s{font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25}.govuk-body-xs{color:#0b0c0c;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;font-size:14px;font-size:.875rem;line-height:1.42857;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:5px;padding-top:10px}.govuk-body+.govuk-heading-l,.govuk-body-m+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px;padding-top:20px}.govuk-body+.govuk-heading-m,.govuk-body+.govuk-heading-s,.govuk-body-m+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body-s+.govuk-heading-m,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-m,.govuk-list+.govuk-heading-s{padding-top:5px;padding-top:10px}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px;margin-top:50px;margin-bottom:30px;margin-bottom:50px}.govuk-section-break--l{margin-top:20px;margin-top:30px;margin-bottom:20px;margin-bottom:30px}.govuk-section-break--m{margin-top:15px;margin-top:20px;margin-bottom:15px;margin-bottom:20px}.govuk-section-break--visible{border-bottom:1px solid #bfc1c3}.govuk-form-group{margin-bottom:20px;margin-bottom:30px}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #b10e1e}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-row:after{content:"";display:block;clear:both}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px;width:25%;float:left}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px;width:33.3333%;float:left}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px;width:50%;float:left}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px;width:66.6666%;float:left}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px;width:75%;float:left}.govuk-grid-column-full{box-sizing:border-box;padding:0 15px;width:100%;float:left}.govuk-main-wrapper{padding-top:20px;padding-top:30px;padding-bottom:20px;padding-bottom:30px;display:block}.govuk-main-wrapper--l{padding-top:30px;padding-top:50px}.govuk-width-container{max-width:960px;width:960px;margin:0 15px;margin:0 30px}.govuk-back-link{font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;position:relative;margin-top:15px;margin-bottom:15px;padding-left:14px;border-bottom:1px solid #0b0c0c;text-decoration:none}.govuk-back-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-back-link:active,.govuk-back-link:focus,.govuk-back-link:hover,.govuk-back-link:link,.govuk-back-link:visited{color:#0b0c0c}.govuk-back-link:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 50%,100% 100%,100% 0);clip-path:polygon(0 50%,100% 100%,100% 0);border-width:5px 6px 5px 0;border-right-color:inherit;content:"";position:absolute;left:0;margin:auto}.govuk-back-link:before{top:-1px;bottom:1px}.govuk-breadcrumbs{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-top:15px;margin-bottom:10px}.govuk-breadcrumbs__list{margin:0;padding:0;list-style-type:none}.govuk-breadcrumbs__list:after{content:"";display:block;clear:both}.govuk-breadcrumbs__list-item{display:inline-block;position:relative;margin-bottom:5px;margin-left:10px;padding-left:15.655px;float:left}.govuk-breadcrumbs__list-item:before{content:"";display:block;position:absolute;top:-1px;bottom:1px;left:-3.31px;width:7px;height:7px;margin:auto 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);border:solid;border-width:1px 1px 0 0;border-color:#6f777b;content:"\003e";width:auto;height:auto;border:0;color:#6f777b;font-family:Arial,sans-serif}.govuk-breadcrumbs__list-item:first-child{margin-left:0;padding-left:0}.govuk-breadcrumbs__list-item:first-child:before{content:none;display:none}.govuk-breadcrumbs__link{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.govuk-breadcrumbs__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus,.govuk-breadcrumbs__link:hover,.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#0b0c0c}.govuk-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.1875;font-size:19px;font-size:1.1875rem;line-height:1;box-sizing:border-box;display:inline-block;position:relative;width:100%;margin-top:0;margin-bottom:22px;margin-bottom:32px;padding:7px 10px;border:2px solid transparent;border-radius:0;color:#fff;background-color:#00823b;box-shadow:0 2px 0 #003618;text-align:center;vertical-align:top;cursor:pointer;-webkit-appearance:none;border-bottom:2px solid #003618;width:auto}.govuk-button:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-button:active,.govuk-button:hover,.govuk-button:link,.govuk-button:visited{color:#fff;text-decoration:none}.govuk-button::-moz-focus-inner{padding:0;border:0}.govuk-button:focus,.govuk-button:hover{background-color:#00692f}.govuk-button:active{top:2px;box-shadow:none;border-bottom-width:0}.govuk-button:before{content:"";display:block;position:absolute;top:-2px;right:-2px;bottom:-4px;left:-2px;background:transparent}.govuk-button:active:before{top:-4px}.govuk-button--disabled,.govuk-button[disabled=disabled],.govuk-button[disabled]{filter:alpha(opacity=50);background:#00823b}.govuk-button--disabled:hover,.govuk-button[disabled=disabled]:hover,.govuk-button[disabled]:hover{background-color:#00823b;cursor:default}.govuk-button--disabled:focus,.govuk-button[disabled=disabled]:focus,.govuk-button[disabled]:focus{outline:none}.govuk-button--disabled:active,.govuk-button[disabled=disabled]:active,.govuk-button[disabled]:active{top:0;box-shadow:0 2px 0 #003618;border-bottom:2px solid #003618}.govuk-button--start{font-weight:700;font-size:18px;font-size:1.125rem;font-size:24px;font-size:1.5rem;line-height:1;min-height:auto;padding:8px 40px 8px 15px;background-image:url(/assets/images/icon-pointer.png);background-repeat:no-repeat;background-position:100% 50%}.govuk-button,.govuk-button--start{padding-top:9px;padding-bottom:6px}.govuk-error-message{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;margin-bottom:15px;clear:both;color:#b10e1e}.govuk-fieldset{margin:0;padding:0;border:0}.govuk-fieldset:after{content:"";display:block;clear:both}.govuk-fieldset__legend{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;box-sizing:border-box;display:table;max-width:100%;margin-bottom:10px;padding:0;overflow:hidden;white-space:normal}.govuk-fieldset__legend--xl{font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem}.govuk-fieldset__legend--l,.govuk-fieldset__legend--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.04167;margin-bottom:15px}.govuk-fieldset__legend--l{font-size:24px;font-size:1.5rem;font-size:36px;font-size:2.25rem;line-height:1.11111}.govuk-fieldset__legend--m{font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-bottom:15px}.govuk-fieldset__legend--m,.govuk-fieldset__legend--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.25}.govuk-fieldset__legend--s{font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-fieldset__heading{margin:0;font-size:inherit;font-weight:inherit}.govuk-hint{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;margin-bottom:15px;color:#6f777b}{margin-bottom:10px}{margin-bottom:10px}.govuk-fieldset__legend+.govuk-hint{margin-top:-5px}.govuk-label{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;display:block;margin-bottom:5px}.govuk-label--xl{font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem}.govuk-label--l,.govuk-label--xl{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.04167;margin-bottom:15px}.govuk-label--l{font-size:24px;font-size:1.5rem;font-size:36px;font-size:2.25rem;line-height:1.11111}.govuk-label--m{font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-bottom:10px}.govuk-label--m,.govuk-label--s{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:1.25}.govuk-label--s{font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-label-wrapper{margin:0}.govuk-checkboxes__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}.govuk-checkboxes__item:last-child,.govuk-checkboxes__item:last-of-type{margin-bottom:0}.govuk-checkboxes__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer}.govuk-checkboxes__input:focus{outline:3px solid #ffbf47}.govuk-checkboxes__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-checkboxes__hint{display:block;padding-right:15px;padding-left:15px}.govuk-checkboxes__input+.govuk-checkboxes__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;background:transparent}.govuk-checkboxes__input+.govuk-checkboxes__label:after{content:"";position:absolute;top:11px;left:9px;width:18px;height:7px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border:solid;border-width:0 0 5px 5px;border-top-color:transparent;filter:alpha(opacity=0);background:transparent}.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 3px #ffbf47}.govuk-checkboxes__input:checked+.govuk-checkboxes__label:after{filter:alpha(opacity=100)}.govuk-checkboxes__input:disabled,.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{cursor:default}.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{filter:alpha(opacity=50)}.govuk-checkboxes__conditional{margin-bottom:15px;margin-bottom:20px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}.js-enabled .govuk-checkboxes__conditional--hidden{display:none}.govuk-checkboxes__conditional>:last-child{margin-bottom:0}.govuk-character-count{margin-bottom:20px;margin-bottom:30px}.govuk-character-count .govuk-form-group,.govuk-character-count .govuk-textarea{margin-bottom:5px}.govuk-character-count .govuk-textarea--error{padding:3px}.govuk-character-count__message{margin-top:0;margin-bottom:0}.govuk-character-count__message--disabled{visibility:hidden}.govuk-input{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;box-sizing:border-box;width:100%;height:40px;margin-top:0;padding:5px;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.govuk-input:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-input::-webkit-inner-spin-button,.govuk-input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.govuk-input[type=number]{-moz-appearance:textfield}.govuk-input--error{border:4px solid #b10e1e}.govuk-input--width-30{max-width:59ex}.govuk-input--width-20{max-width:41ex}.govuk-input--width-10{max-width:23ex}.govuk-input--width-5{max-width:10.8ex}.govuk-input--width-4{max-width:9ex}.govuk-input--width-3{max-width:7.2ex}.govuk-input--width-2{max-width:5.4ex}.govuk-date-input{font-size:0}.govuk-date-input:after{content:"";display:block;clear:both}.govuk-date-input__item{display:inline-block;margin-right:20px;margin-bottom:0}.govuk-date-input__label{display:block}.govuk-date-input__input{margin-bottom:0}.govuk-details{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;margin-bottom:20px;margin-bottom:30px;display:block}.govuk-details__summary{display:inline-block;position:relative;margin-bottom:5px;padding-left:25px;color:#005ea5;cursor:pointer}.govuk-details__summary-text{text-decoration:underline}.govuk-details__summary:hover{color:#2b8cc4}.govuk-details__summary:focus{outline:4px solid #ffbf47;outline-offset:-1px;color:#0b0c0c;background:#ffbf47}.govuk-details__summary::-webkit-details-marker{display:none}.govuk-details__summary:before{content:"";position:absolute;top:0;bottom:0;left:0;margin:auto;display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,100% 50%,0 100%);clip-path:polygon(0 0,100% 50%,0 100%);border-width:7px 0 7px 12.124px;border-left-color:inherit}.govuk-details[open]>.govuk-details__summary:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:12.124px 7px 0;border-top-color:inherit}.govuk-details__text{padding:15px;padding-left:20px;border-left:5px solid #bfc1c3}.govuk-details__text p{margin-top:0;margin-bottom:20px}.govuk-details__text>:last-child{margin-bottom:0}.govuk-error-summary{color:#0b0c0c;padding:15px;padding:20px;margin-bottom:30px;margin-bottom:50px;border:4px solid #b10e1e;border:5px solid #b10e1e}.govuk-error-summary:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-error-summary__title{font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-error-summary__body,.govuk-error-summary__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.25}.govuk-error-summary__body{font-weight:400;font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-error-summary__body p{margin-top:0;margin-bottom:15px;margin-bottom:20px}.govuk-error-summary__list{margin-top:0;margin-bottom:0}.govuk-error-summary__list a{font-weight:700}.govuk-error-summary__list a:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-error-summary__list a:active,.govuk-error-summary__list a:hover,.govuk-error-summary__list a:link,.govuk-error-summary__list a:visited{color:#b10e1e}.govuk-error-summary__list a:focus{color:#0b0c0c}.govuk-file-upload{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c}.govuk-file-upload:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-file-upload--error{border:4px solid #b10e1e}.govuk-footer{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;padding-top:25px;padding-top:40px;padding-bottom:15px;padding-bottom:25px;border-top:1px solid #a1acb2;color:#454a4c;background:#dee0e2}.govuk-footer__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-footer__link:link,.govuk-footer__link:visited{color:#454a4c}.govuk-footer__link:active,.govuk-footer__link:hover{color:#171819}.govuk-footer__link:focus{color:#0b0c0c}.govuk-footer__section-break{margin:0;margin-bottom:30px;margin-bottom:50px;border:0;border-bottom:1px solid #bfc1c3}.govuk-footer__meta{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.govuk-footer__meta-item{margin-right:15px;margin-bottom:25px;margin-left:15px}.govuk-footer__meta-item--grow{-webkit-box-flex:1;-ms-flex:1;flex:1}.govuk-footer__licence-logo{display:inline-block;margin-right:10px;vertical-align:top}.govuk-footer__licence-description{display:inline-block}.govuk-footer__copyright-logo{display:inline-block;min-width:125px;padding-top:112px;background-image:url(/assets/images/govuk-crest.png);background-repeat:no-repeat;background-position:50% 0;background-size:125px 102px;text-align:center;text-decoration:none;white-space:nowrap}.govuk-footer__inline-list{margin-top:0;margin-bottom:15px;padding:0}.govuk-footer__meta-custom{margin-bottom:20px}.govuk-footer__inline-list-item{display:inline-block;margin-right:15px;margin-bottom:5px}.govuk-footer__heading{margin-bottom:25px;margin-bottom:40px;padding-bottom:20px;border-bottom:1px solid #bfc1c3}.govuk-footer__navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;-ms-flex-wrap:wrap;flex-wrap:wrap}.govuk-footer__section{display:inline-block;margin-right:15px;margin-bottom:30px;margin-left:15px;vertical-align:top;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.govuk-footer__section:first-child{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.govuk-footer__list{margin:0;padding:0;list-style:none;-webkit-column-gap:30px;-moz-column-gap:30px;column-gap:30px}.govuk-footer__list--columns-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.govuk-footer__list--columns-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.govuk-footer__list-item{margin-bottom:15px;margin-bottom:20px}.govuk-footer__list-item:last-child{margin-bottom:0}.govuk-header{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;border-bottom:10px solid #fff;color:#fff;background:#0b0c0c}.govuk-header__container--full-width{padding:0 15px;border-color:#005ea5}.govuk-header__container--full-width .govuk-header__menu-button{right:15px}.govuk-header__container{position:relative;margin-bottom:-10px;padding-top:10px;border-bottom:10px solid #005ea5}.govuk-header__container:after{content:"";display:block;clear:both}.govuk-header__logotype{margin-right:5px}.govuk-header__logotype-crown{margin-right:1px;fill:currentColor;vertical-align:middle}.govuk-header__logotype-crown-fallback-image{width:36px;height:32px;border:0;vertical-align:middle}.govuk-header__product-name{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;line-height:1.25;display:inline-table;padding-right:10px}.govuk-header__link{text-decoration:none}.govuk-header__link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-header__link:link,.govuk-header__link:visited{color:#fff}.govuk-header__link:hover{text-decoration:underline}.govuk-header__link:focus{color:#0b0c0c}.govuk-header__link--homepage{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;font-size:30px;line-height:30px}.govuk-header__link--homepage:link,.govuk-header__link--homepage:visited{text-decoration:none}.govuk-header__link--homepage:active,.govuk-header__link--homepage:hover{margin-bottom:-1px;border-bottom:1px solid}.govuk-header__link--service-name{display:inline-block;margin-bottom:10px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;font-size:24px;font-size:1.5rem;line-height:1.25}.govuk-header__logo{margin-bottom:10px;padding-right:50px;width:33.33%;padding-right:0;float:left;vertical-align:top}.govuk-header__content{width:66.66%;float:left}.govuk-header__menu-button{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;display:none;position:absolute;top:20px;right:0;margin:0;padding:0;border:0;color:#fff;background:none;top:15px}.govuk-header__menu-button:hover{text-decoration:underline}.govuk-header__menu-button:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0 0,50% 100%,100% 0);clip-path:polygon(0 0,50% 100%,100% 0);border-width:8.66px 5px 0;border-top-color:inherit;content:"";margin-left:5px}.govuk-header__menu-button:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-header__menu-button--open:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(50% 0,0 100%,100% 100%);clip-path:polygon(50% 0,0 100%,100% 100%);border-width:0 5px 8.66px;border-bottom-color:inherit}.govuk-header__navigation{margin-bottom:10px;display:block;margin:0;padding:0;list-style:none}.js-enabled .govuk-header__menu-button,.js-enabled .govuk-header__navigation{display:block;display:none}.js-enabled .govuk-header__navigation--open{display:block}.govuk-header__navigation--end{margin:0;padding:5px 0;text-align:right}.govuk-header__navigation--no-service-name{padding-top:40px}.govuk-header__navigation-item{padding:10px 0;border-bottom:1px solid #2e3133;display:inline-block;margin-right:15px;padding:5px 0;border:0}.govuk-header__navigation-item a{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;white-space:nowrap}.govuk-header__navigation-item--active a:hover,.govuk-header__navigation-item--active a:link,.govuk-header__navigation-item--active a:visited{color:#1d8feb}.govuk-header__navigation-item--active a:focus{color:#0b0c0c}.govuk-header__navigation-item:last-child{margin-right:0}.govuk-header__logotype-crown,.govuk-header__logotype-crown-fallback-image{position:relative;top:-4px}.govuk-header{padding-top:3px}.govuk-inset-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;padding:15px;margin-top:20px;margin-top:30px;margin-bottom:20px;margin-bottom:30px;clear:both;border-left:10px solid #bfc1c3}.govuk-inset-text :first-child{margin-top:0}.govuk-inset-text :last-child,.govuk-inset-text :only-child{margin-bottom:0}.govuk-panel{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;box-sizing:border-box;margin-bottom:15px;padding:35px;border:5px solid transparent;text-align:center}.govuk-panel--confirmation{color:#fff;background:#28a197}.govuk-panel__title{margin-top:0;margin-bottom:30px;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;font-size:48px;font-size:3rem;line-height:1.04167}.govuk-panel__title:last-child{margin-bottom:0}.govuk-panel__body{font-weight:400;font-size:24px;font-size:1.5rem;line-height:1.04167;font-size:36px;font-size:2.25rem;line-height:1.11111}.govuk-panel__body,.govuk-tag{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.govuk-tag{font-weight:700;font-size:14px;font-size:.875rem;font-size:16px;font-size:1rem;line-height:1.25;display:inline-block;padding:4px 8px;padding-bottom:1px;outline:2px solid transparent;outline-offset:-2px;color:#fff;background-color:#005ea5;letter-spacing:1px;text-decoration:none;text-transform:uppercase}.govuk-tag--inactive{background-color:#6f777b}.govuk-phase-banner{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #bfc1c3}.govuk-phase-banner__content{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;display:table;margin:0}.govuk-phase-banner__content__tag{margin-right:10px}.govuk-phase-banner__text{display:table-cell;vertical-align:baseline}.govuk-tabs{color:#0b0c0c;margin-top:5px;margin-bottom:20px;margin-bottom:30px}.govuk-tabs,.govuk-tabs__title{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579}.govuk-tabs__title{margin-bottom:5px}.govuk-tabs__list{margin:0;padding:0;list-style:none}.govuk-tabs__list-item{margin-left:25px}.govuk-tabs__list-item:before{content:"— ";margin-left:-25px;padding-right:5px}.govuk-tabs__tab{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:inline-block;padding-top:10px;padding-bottom:10px}.govuk-tabs__tab:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-tabs__tab:link{color:#005ea5}.govuk-tabs__tab:visited{color:#4c2c92}.govuk-tabs__tab:active,.govuk-tabs__tab:hover{color:#2b8cc4}.govuk-tabs__tab:focus{color:#0b0c0c}.govuk-tabs__tab[aria-current=true]{color:#0b0c0c;text-decoration:none}.govuk-tabs__panel{margin-bottom:30px;margin-bottom:50px}.js-enabled .govuk-tabs__list{border-bottom:1px solid #bfc1c3}.js-enabled .govuk-tabs__list:after{content:"";display:block;clear:both}.js-enabled .govuk-tabs__list-item{margin-left:0}.js-enabled .govuk-tabs__list-item:before{content:none}.js-enabled .govuk-tabs__title{display:none}.js-enabled .govuk-tabs__tab{margin-right:5px;padding-right:20px;padding-left:20px;float:left;color:#0b0c0c;background-color:#f8f8f8;text-align:center;text-decoration:none}.js-enabled .govuk-tabs__tab--selected{margin-top:-5px;margin-bottom:-1px;padding:14px 19px 16px;border:1px solid #bfc1c3;border-bottom:0;color:#0b0c0c;background-color:#fff}.js-enabled .govuk-tabs__tab--selected:focus{background-color:transparent}.js-enabled .govuk-tabs__panel{margin-bottom:0;padding:30px 20px;border:1px solid #bfc1c3;border-top:0}.js-enabled .govuk-tabs__panel--hidden{display:none}.js-enabled .govuk-tabs__panel>:last-child{margin-bottom:0}.govuk-radios__item{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;display:block;position:relative;min-height:40px;margin-bottom:10px;padding:0 0 0 40px;clear:left}.govuk-radios__item:last-child,.govuk-radios__item:last-of-type{margin-bottom:0}.govuk-radios__input{position:absolute;z-index:1;top:0;left:0;width:40px;height:40px;cursor:pointer}.govuk-radios__input:focus{outline:3px solid #ffbf47}.govuk-radios__label{display:inline-block;margin-bottom:0;padding:8px 15px 5px;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.govuk-radios__hint{display:block;padding-right:15px;padding-left:15px}.govuk-radios__input+.govuk-radios__label:before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;width:40px;height:40px;border:2px solid currentColor;border-radius:50%;background:transparent}.govuk-radios__input+.govuk-radios__label:after{content:"";position:absolute;top:10px;left:10px;width:0;height:0;border:10px solid currentColor;border-radius:50%;filter:alpha(opacity=0);background:currentColor}.govuk-radios__input:focus+.govuk-radios__label:before{outline:3px solid transparent;outline-offset:3px;box-shadow:0 0 0 4px #ffbf47}.govuk-radios__input:checked+.govuk-radios__label:after{filter:alpha(opacity=100)}.govuk-radios__input:disabled,.govuk-radios__input:disabled+.govuk-radios__label{cursor:default}.govuk-radios__input:disabled+.govuk-radios__label{filter:alpha(opacity=50)}.govuk-radios--inline:after{content:"";display:block;clear:both}.govuk-radios--inline .govuk-radios__item{margin-right:20px;float:left;clear:none}.govuk-radios--inline.govuk-radios--conditional .govuk-radios__item{margin-right:0;float:none}.govuk-radios__divider{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;width:40px;margin-bottom:10px;text-align:center}.govuk-radios__conditional{margin-bottom:15px;margin-bottom:20px;margin-left:18px;padding-left:33px;border-left:4px solid #bfc1c3}.js-enabled .govuk-radios__conditional--hidden{display:none}.govuk-radios__conditional>:last-child{margin-bottom:0}.govuk-select{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.25;box-sizing:border-box;max-width:100%;height:40px;padding:5px;border:2px solid #0b0c0c}.govuk-select:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-select:focus::-ms-value,.govuk-select option:active,.govuk-select option:checked{color:#fff;background-color:#005ea5}.govuk-select--error{border:4px solid #b10e1e}.govuk-skip-link{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-size:.875rem;line-height:1.14286;font-size:16px;font-size:1rem;line-height:1.25;display:block;padding:10px 15px}.govuk-skip-link:active,.govuk-skip-link:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}.govuk-skip-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-skip-link:active,.govuk-skip-link:focus,.govuk-skip-link:hover,.govuk-skip-link:link,.govuk-skip-link:visited,.govuk-table{color:#0b0c0c}.govuk-table{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;width:100%;margin-bottom:20px;margin-bottom:30px;border-spacing:0;border-collapse:collapse}.govuk-table__header{font-weight:700}.govuk-table__cell,.govuk-table__header{padding:10px 20px 10px 0;border-bottom:1px solid #bfc1c3;text-align:left}.govuk-table__cell--numeric{font-family:ntatabularnumbers,nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400}.govuk-table__cell--numeric,.govuk-table__header--numeric{text-align:right}.govuk-table__cell:last-child,.govuk-table__header:last-child{padding-right:0}.govuk-table__caption{font-weight:700;display:table-caption;text-align:left}.govuk-textarea{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;font-size:19px;font-size:1.1875rem;line-height:1.25;box-sizing:border-box;display:block;width:100%;min-height:40px;margin-bottom:20px;margin-bottom:30px;padding:5px;resize:vertical;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none}.govuk-textarea:focus{outline:3px solid #ffbf47;outline-offset:0}.govuk-textarea--error{border:4px solid #b10e1e}.govuk-warning-text{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;font-size:19px;font-size:1.1875rem;line-height:1.31579;color:#0b0c0c;position:relative;margin-bottom:20px;margin-bottom:30px;padding:10px 0}.govuk-warning-text__assistive{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);border:0;white-space:nowrap}.govuk-warning-text__icon{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;display:inline-block;position:absolute;top:50%;left:0;min-width:32px;min-height:29px;margin-top:-20px;padding-top:3px;border:3px solid #0b0c0c;border-radius:50%;color:#fff;background:#0b0c0c;font-size:1.6em;line-height:29px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.govuk-warning-text__text{display:block;margin-left:-15px;padding-left:65px}.govuk-clearfix:after{content:"";display:block;clear:both}.govuk-visually-hidden{padding:0;border:0}.govuk-visually-hidden,.govuk-visually-hidden-focusable{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.govuk-visually-hidden-focusable:active,.govuk-visually-hidden-focusable:focus{position:static;width:auto;height:auto;margin:inherit;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:inherit}.govuk-\!-display-inline{display:inline!important}.govuk-\!-display-inline-block{display:inline-block!important}.govuk-\!-display-block{display:block!important}.govuk-\!-margin-0{margin:0!important}.govuk-\!-margin-top-0{margin-top:0!important}.govuk-\!-margin-right-0{margin-right:0!important}.govuk-\!-margin-bottom-0{margin-bottom:0!important}.govuk-\!-margin-left-0{margin-left:0!important}.govuk-\!-margin-1{margin:5px!important}.govuk-\!-margin-top-1{margin-top:5px!important}.govuk-\!-margin-right-1{margin-right:5px!important}.govuk-\!-margin-bottom-1{margin-bottom:5px!important}.govuk-\!-margin-left-1{margin-left:5px!important}.govuk-\!-margin-2{margin:10px!important}.govuk-\!-margin-top-2{margin-top:10px!important}.govuk-\!-margin-right-2{margin-right:10px!important}.govuk-\!-margin-bottom-2{margin-bottom:10px!important}.govuk-\!-margin-left-2{margin-left:10px!important}.govuk-\!-margin-3{margin:15px!important}.govuk-\!-margin-top-3{margin-top:15px!important}.govuk-\!-margin-right-3{margin-right:15px!important}.govuk-\!-margin-bottom-3{margin-bottom:15px!important}.govuk-\!-margin-left-3{margin-left:15px!important}.govuk-\!-margin-4{margin:15px!important;margin:20px!important}.govuk-\!-margin-top-4{margin-top:15px!important;margin-top:20px!important}.govuk-\!-margin-right-4{margin-right:15px!important;margin-right:20px!important}.govuk-\!-margin-bottom-4{margin-bottom:15px!important;margin-bottom:20px!important}.govuk-\!-margin-left-4{margin-left:15px!important;margin-left:20px!important}.govuk-\!-margin-5{margin:15px!important;margin:25px!important}.govuk-\!-margin-top-5{margin-top:15px!important;margin-top:25px!important}.govuk-\!-margin-right-5{margin-right:15px!important;margin-right:25px!important}.govuk-\!-margin-bottom-5{margin-bottom:15px!important;margin-bottom:25px!important}.govuk-\!-margin-left-5{margin-left:15px!important;margin-left:25px!important}.govuk-\!-margin-6{margin:20px!important;margin:30px!important}.govuk-\!-margin-top-6{margin-top:20px!important;margin-top:30px!important}.govuk-\!-margin-right-6{margin-right:20px!important;margin-right:30px!important}.govuk-\!-margin-bottom-6{margin-bottom:20px!important;margin-bottom:30px!important}.govuk-\!-margin-left-6{margin-left:20px!important;margin-left:30px!important}.govuk-\!-margin-7{margin:25px!important;margin:40px!important}.govuk-\!-margin-top-7{margin-top:25px!important;margin-top:40px!important}.govuk-\!-margin-right-7{margin-right:25px!important;margin-right:40px!important}.govuk-\!-margin-bottom-7{margin-bottom:25px!important;margin-bottom:40px!important}.govuk-\!-margin-left-7{margin-left:25px!important;margin-left:40px!important}.govuk-\!-margin-8{margin:30px!important;margin:50px!important}.govuk-\!-margin-top-8{margin-top:30px!important;margin-top:50px!important}.govuk-\!-margin-right-8{margin-right:30px!important;margin-right:50px!important}.govuk-\!-margin-bottom-8{margin-bottom:30px!important;margin-bottom:50px!important}.govuk-\!-margin-left-8{margin-left:30px!important;margin-left:50px!important}.govuk-\!-margin-9{margin:40px!important;margin:60px!important}.govuk-\!-margin-top-9{margin-top:40px!important;margin-top:60px!important}.govuk-\!-margin-right-9{margin-right:40px!important;margin-right:60px!important}.govuk-\!-margin-bottom-9{margin-bottom:40px!important;margin-bottom:60px!important}.govuk-\!-margin-left-9{margin-left:40px!important;margin-left:60px!important}.govuk-\!-padding-0{padding:0!important}.govuk-\!-padding-top-0{padding-top:0!important}.govuk-\!-padding-right-0{padding-right:0!important}.govuk-\!-padding-bottom-0{padding-bottom:0!important}.govuk-\!-padding-left-0{padding-left:0!important}.govuk-\!-padding-1{padding:5px!important}.govuk-\!-padding-top-1{padding-top:5px!important}.govuk-\!-padding-right-1{padding-right:5px!important}.govuk-\!-padding-bottom-1{padding-bottom:5px!important}.govuk-\!-padding-left-1{padding-left:5px!important}.govuk-\!-padding-2{padding:10px!important}.govuk-\!-padding-top-2{padding-top:10px!important}.govuk-\!-padding-right-2{padding-right:10px!important}.govuk-\!-padding-bottom-2{padding-bottom:10px!important}.govuk-\!-padding-left-2{padding-left:10px!important}.govuk-\!-padding-3{padding:15px!important}.govuk-\!-padding-top-3{padding-top:15px!important}.govuk-\!-padding-right-3{padding-right:15px!important}.govuk-\!-padding-bottom-3{padding-bottom:15px!important}.govuk-\!-padding-left-3{padding-left:15px!important}.govuk-\!-padding-4{padding:15px!important;padding:20px!important}.govuk-\!-padding-top-4{padding-top:15px!important;padding-top:20px!important}.govuk-\!-padding-right-4{padding-right:15px!important;padding-right:20px!important}.govuk-\!-padding-bottom-4{padding-bottom:15px!important;padding-bottom:20px!important}.govuk-\!-padding-left-4{padding-left:15px!important;padding-left:20px!important}.govuk-\!-padding-5{padding:15px!important;padding:25px!important}.govuk-\!-padding-top-5{padding-top:15px!important;padding-top:25px!important}.govuk-\!-padding-right-5{padding-right:15px!important;padding-right:25px!important}.govuk-\!-padding-bottom-5{padding-bottom:15px!important;padding-bottom:25px!important}.govuk-\!-padding-left-5{padding-left:15px!important;padding-left:25px!important}.govuk-\!-padding-6{padding:20px!important;padding:30px!important}.govuk-\!-padding-top-6{padding-top:20px!important;padding-top:30px!important}.govuk-\!-padding-right-6{padding-right:20px!important;padding-right:30px!important}.govuk-\!-padding-bottom-6{padding-bottom:20px!important;padding-bottom:30px!important}.govuk-\!-padding-left-6{padding-left:20px!important;padding-left:30px!important}.govuk-\!-padding-7{padding:25px!important;padding:40px!important}.govuk-\!-padding-top-7{padding-top:25px!important;padding-top:40px!important}.govuk-\!-padding-right-7{padding-right:25px!important;padding-right:40px!important}.govuk-\!-padding-bottom-7{padding-bottom:25px!important;padding-bottom:40px!important}.govuk-\!-padding-left-7{padding-left:25px!important;padding-left:40px!important}.govuk-\!-padding-8{padding:30px!important;padding:50px!important}.govuk-\!-padding-top-8{padding-top:30px!important;padding-top:50px!important}.govuk-\!-padding-right-8{padding-right:30px!important;padding-right:50px!important}.govuk-\!-padding-bottom-8{padding-bottom:30px!important;padding-bottom:50px!important}.govuk-\!-padding-left-8{padding-left:30px!important;padding-left:50px!important}.govuk-\!-padding-9{padding:40px!important;padding:60px!important}.govuk-\!-padding-top-9{padding-top:40px!important;padding-top:60px!important}.govuk-\!-padding-right-9{padding-right:40px!important;padding-right:60px!important}.govuk-\!-padding-bottom-9{padding-bottom:40px!important;padding-bottom:60px!important}.govuk-\!-padding-left-9{padding-left:40px!important;padding-left:60px!important}.govuk-\!-font-size-80{font-size:53px!important;font-size:3.3125rem!important;line-height:1.03774!important;font-size:80px!important;font-size:5rem!important;line-height:1!important}.govuk-\!-font-size-48{font-size:32px!important;font-size:2rem!important;line-height:1.09375!important;font-size:48px!important;font-size:3rem!important;line-height:1.04167!important}.govuk-\!-font-size-36{font-size:24px!important;font-size:1.5rem!important;line-height:1.04167!important;font-size:36px!important;font-size:2.25rem!important;line-height:1.11111!important}.govuk-\!-font-size-27{font-size:18px!important;font-size:1.125rem!important;font-size:27px!important;font-size:1.6875rem!important;line-height:1.11111!important}.govuk-\!-font-size-24{font-size:18px!important;font-size:1.125rem!important;line-height:1.11111!important;font-size:24px!important;font-size:1.5rem!important;line-height:1.25!important}.govuk-\!-font-size-19{font-size:16px!important;font-size:1rem!important;line-height:1.25!important;font-size:19px!important;font-size:1.1875rem!important;line-height:1.31579!important}.govuk-\!-font-size-16{font-size:14px!important;font-size:.875rem!important;line-height:1.14286!important;font-size:16px!important;font-size:1rem!important;line-height:1.25!important}.govuk-\!-font-size-14{font-size:12px!important;font-size:.75rem!important;line-height:1.25!important;font-size:14px!important;font-size:.875rem!important;line-height:1.42857!important}.govuk-\!-font-weight-regular{font-weight:400!important}.govuk-\!-font-weight-bold{font-weight:700!important}.govuk-\!-width-full{width:100%!important}.govuk-\!-width-three-quarters{width:100%!important;width:75%!important}.govuk-\!-width-two-thirds{width:100%!important;width:66.66%!important}.govuk-\!-width-one-half{width:100%!important;width:50%!important}.govuk-\!-width-one-third{width:100%!important;width:33.33%!important}.govuk-\!-width-one-quarter{width:100%!important;width:25%!important} \ No newline at end of file diff --git a/package/all.js b/package/all.js index 6ff3127c35..1620016c18 100644 --- a/package/all.js +++ b/package/all.js @@ -1236,6 +1236,188 @@ Details.prototype.destroy = function (node) { }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); +function CharacterCount ($module) { + this.$module = $module; + this.$textarea = $module.querySelector('.js-character-count'); +} + +CharacterCount.prototype.defaults = { + characterCountAttribute: 'data-maxlength', + wordCountAttribute: 'data-maxwords' +}; + +// Initialize component +CharacterCount.prototype.init = function () { + // Check for module + var $module = this.$module; + var $textarea = this.$textarea; + if (!$textarea) { + return + } + + // Read options set using dataset ('data-' values) + this.options = this.getDataset($module); + + // Determine the limit attribute (characters or words) + var countAttribute = this.defaults.characterCountAttribute; + if (this.options.maxwords) { + countAttribute = this.defaults.wordCountAttribute; + } + + // Save the element limit + this.maxLength = $module.getAttribute(countAttribute); + + // Check for limit + if (!this.maxLength) { + return + } + + // Generate and reference message + var boundCreateCountMessage = this.createCountMessage.bind(this); + this.countMessage = boundCreateCountMessage(); + + // If there's a maximum length defined and the count message exists + if (this.countMessage) { + // Remove hard limit if set + $module.removeAttribute('maxlength'); + + // Bind event changes to the textarea + var boundChangeEvents = this.bindChangeEvents.bind(this); + boundChangeEvents(); + + // Update count message + var boundUpdateCountMessage = this.updateCountMessage.bind(this); + boundUpdateCountMessage(); + } +}; + +// Read data attributes +CharacterCount.prototype.getDataset = function (element) { + var dataset = {}; + var attributes = element.attributes; + if (attributes) { + for (var i = 0; i < attributes.length; i++) { + var attribute = attributes[i]; + var match = attribute.name.match(/^data-(.+)/); + if (match) { + dataset[match[1]] = attribute.value; + } + } + } + return dataset +}; + +// Counts characters or words in text +CharacterCount.prototype.count = function (text) { + var length; + if (this.options.maxwords) { + var tokens = text.match(/\S+/g) || []; // Matches consecutive non-whitespace chars + length = tokens.length; + } else { + length = text.length; + } + return length +}; + +// Generate count message and bind it to the input +// returns reference to the generated element +CharacterCount.prototype.createCountMessage = function () { + var countElement = this.$textarea; + var elementId = countElement.id; + // Check for existing info count message + var countMessage = document.getElementById(elementId + '-info'); + // If there is no existing info count message we add one right after the field + if (elementId && !countMessage) { + countElement.insertAdjacentHTML('afterend', ''); + this.describedBy = countElement.getAttribute('aria-describedby'); + this.describedByInfo = this.describedBy + ' ' + elementId + '-info'; + countElement.setAttribute('aria-describedby', this.describedByInfo); + countMessage = document.getElementById(elementId + '-info'); + } else { + // If there is an existing info count message we move it right after the field + countElement.insertAdjacentElement('afterend', countMessage); + } + return countMessage +}; + +// Bind input propertychange to the elements and update based on the change +CharacterCount.prototype.bindChangeEvents = function () { + var $textarea = this.$textarea; + $textarea.addEventListener('keyup', this.checkIfValueChanged.bind(this)); + + // Bind focus/blur events to start/stop polling + $textarea.addEventListener('focus', this.handleFocus.bind(this)); + $textarea.addEventListener('blur', this.handleBlur.bind(this)); +}; + +// Speech recognition software such as Dragon NaturallySpeaking will modify the +// fields by directly changing its `value`. These changes don't trigger events +// in JavaScript, so we need to poll to handle when and if they occur. +CharacterCount.prototype.checkIfValueChanged = function () { + if (!this.$textarea.oldValue) this.$textarea.oldValue = ''; + if (this.$textarea.value !== this.$textarea.oldValue) { + this.$textarea.oldValue = this.$textarea.value; + var boundUpdateCountMessage = this.updateCountMessage.bind(this); + boundUpdateCountMessage(); + } +}; + +// Update message box +CharacterCount.prototype.updateCountMessage = function () { + var countElement = this.$textarea; + var options = this.options; + var countMessage = this.countMessage; + + // Determine the remaining number of characters/words + var currentLength = this.count(countElement.value); + var maxLength = this.maxLength; + var remainingNumber = maxLength - currentLength; + + // Set threshold if presented in options + var thresholdPercent = options.threshold ? options.threshold : 0; + var thresholdValue = maxLength * thresholdPercent / 100; + if (thresholdValue > currentLength) { + countMessage.classList.add('govuk-character-count__message--disabled'); + } else { + countMessage.classList.remove('govuk-character-count__message--disabled'); + } + + // Update styles + if (remainingNumber < 0) { + countElement.classList.add('govuk-textarea--error'); + countMessage.classList.remove('govuk-hint'); + countMessage.classList.add('govuk-error-message'); + } else { + countElement.classList.remove('govuk-textarea--error'); + countMessage.classList.remove('govuk-error-message'); + countMessage.classList.add('govuk-hint'); + } + + // Update message + var charVerb = 'remaining'; + var charNoun = 'character'; + var displayNumber = remainingNumber; + if (options.maxwords) { + charNoun = 'word'; + } + charNoun = charNoun + ((remainingNumber === -1 || remainingNumber === 1) ? '' : 's'); + + charVerb = (remainingNumber < 0) ? 'too many' : 'remaining'; + displayNumber = Math.abs(remainingNumber); + + countMessage.innerHTML = 'You have ' + displayNumber + ' ' + charNoun + ' ' + charVerb; +}; + +CharacterCount.prototype.handleFocus = function () { + // Check if value changed on focus + this.valueChecker = setInterval(this.checkIfValueChanged.bind(this), 1000); +}; + +CharacterCount.prototype.handleBlur = function () { + // Cancel value checking on blur + clearInterval(this.valueChecker); +}; + function Checkboxes ($module) { this.$module = $module; this.$inputs = $module.querySelectorAll('input[type="checkbox"]'); @@ -1688,6 +1870,11 @@ function initAll () { new Details($detail).init(); }); + var $characterCount = document.querySelectorAll('[data-module="character-count"]'); + nodeListForEach($characterCount, function ($characterCount) { + new CharacterCount($characterCount).init(); + }); + var $checkboxes = document.querySelectorAll('[data-module="checkboxes"]'); nodeListForEach($checkboxes, function ($checkbox) { new Checkboxes($checkbox).init(); @@ -1715,6 +1902,7 @@ function initAll () { exports.initAll = initAll; exports.Button = Button; exports.Details = Details; +exports.CharacterCount = CharacterCount; exports.Checkboxes = Checkboxes; exports.ErrorSummary = ErrorSummary; exports.Header = Header; diff --git a/package/components/_all.scss b/package/components/_all.scss index 6f1e500dcb..e3cd1a7cbf 100644 --- a/package/components/_all.scss +++ b/package/components/_all.scss @@ -2,6 +2,7 @@ @import "breadcrumbs/breadcrumbs"; @import "button/button"; @import "checkboxes/checkboxes"; +@import "character-count/character-count"; @import "date-input/date-input"; @import "details/details"; @import "error-message/error-message"; diff --git a/package/components/back-link/README.md b/package/components/back-link/README.md index 6703e1bbd8..73227343e5 100644 --- a/package/components/back-link/README.md +++ b/package/components/back-link/README.md @@ -89,11 +89,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -Text or HTML to use within the back link component. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the back link component. If `html` is provided, the `text` argument will be ignored. @@ -101,11 +101,11 @@ If you are using Nunjucks,then macros take the following arguments href -string +string -Yes +Yes -The value of the link href attribute +The value of the link href attribute @@ -113,11 +113,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the anchor tag. +Optional additional classes to add to the anchor tag. @@ -125,11 +125,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the anchor tag. +Any extra HTML attributes (for example data attributes) to add to the anchor tag. diff --git a/package/components/breadcrumbs/README.md b/package/components/breadcrumbs/README.md index 64f99d3f66..3dea93bb9c 100644 --- a/package/components/breadcrumbs/README.md +++ b/package/components/breadcrumbs/README.md @@ -254,11 +254,11 @@ If you are using Nunjucks,then macros take the following arguments items -array +array -Yes +Yes -Array of breadcrumbs item objects. +Array of breadcrumbs item objects. @@ -266,11 +266,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.text (or) items.{}.html -string +string -Yes +Yes -Text or HTML to use within the breadcrumbs item. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the breadcrumbs item. If `html` is provided, the `text` argument will be ignored. @@ -278,11 +278,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.href -string +string -no +no -Link for the breadcrumbs item. If not specified, breadcrumbs item is a normal list item +Link for the breadcrumbs item. If not specified, breadcrumbs item is a normal list item @@ -290,11 +290,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the breadcrumb anchor item. +Any extra HTML attributes (for example data attributes) to add to the breadcrumb anchor item. @@ -302,11 +302,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the breadcrumbs container. +Optional additional classes to add to the breadcrumbs container. @@ -314,11 +314,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the breadcrumbs container. +Any extra HTML attributes (for example data attributes) to add to the breadcrumbs container. diff --git a/package/components/button/README.md b/package/components/button/README.md index c0dbe70d27..ad58b97673 100644 --- a/package/components/button/README.md +++ b/package/components/button/README.md @@ -55,7 +55,7 @@ Buttons are configured to perform an action and they can have a different look. #### Markup - + Link button @@ -74,7 +74,7 @@ Buttons are configured to perform an action and they can have a different look. #### Markup - + Disabled link button @@ -94,7 +94,7 @@ Buttons are configured to perform an action and they can have a different look. #### Markup - + Start now link button @@ -190,11 +190,11 @@ If you are using Nunjucks,then macros take the following arguments element -string +string -No +No -Whether to use an `input`, `button` or `a` element to create the button. In most cases you will not need to set this as it will be configured automatically if you use `href` or `html`. +Whether to use an `input`, `button` or `a` element to create the button. In most cases you will not need to set this as it will be configured automatically if you use `href` or `html`. @@ -202,11 +202,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -Text or HTML for the button or link. If `html` is provided, the `text` argument will be ignored and `element` will be automatically set to `button` unless `href` is also set, or it has already been defined. This argument has no effect if `element` is set to `input`. +Text or HTML for the button or link. If `html` is provided, the `text` argument will be ignored and `element` will be automatically set to `button` unless `href` is also set, or it has already been defined. This argument has no effect if `element` is set to `input`. @@ -214,11 +214,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -Name for the `input` or `button`. This has no effect on `a` elements. +Name for the `input` or `button`. This has no effect on `a` elements. @@ -226,11 +226,11 @@ If you are using Nunjucks,then macros take the following arguments type -string +string -Yes +Yes -Type of `input` or `button` – `button`, `submit` or `reset`. Defaults to `submit`. This has no effect on `a` elements. +Type of `input` or `button` – `button`, `submit` or `reset`. Defaults to `submit`. This has no effect on `a` elements. @@ -238,11 +238,11 @@ If you are using Nunjucks,then macros take the following arguments value -string +string -Yes +Yes -Value for the `button` tag. This has no effect on `a` or `input` elements. +Value for the `button` tag. This has no effect on `a` or `input` elements. @@ -250,11 +250,11 @@ If you are using Nunjucks,then macros take the following arguments disabled -boolean +boolean -No +No -Whether the button should be disabled. For button and input elements, `disabled` and `aria-disabled` attributes will be set automatically. +Whether the button should be disabled. For button and input elements, `disabled` and `aria-disabled` attributes will be set automatically. @@ -262,11 +262,11 @@ If you are using Nunjucks,then macros take the following arguments href -string +string -No +No -The URL that the button should link to. If this is set, `element` will be automatically set to `a` if it has not already been defined. +The URL that the button should link to. If this is set, `element` will be automatically set to `a` if it has not already been defined. @@ -274,11 +274,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes +Optional additional classes @@ -286,11 +286,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the button component. +Any extra HTML attributes (for example data attributes) to add to the button component. diff --git a/package/components/button/template.njk b/package/components/button/template.njk index 0d23be452f..eca0277c8d 100644 --- a/package/components/button/template.njk +++ b/package/components/button/template.njk @@ -21,7 +21,7 @@ {#- Actually create a button... or a link! #} {%- if element == 'a' %} - + {{ params.html | safe if params.html else params.text }} diff --git a/package/components/character-count/README.md b/package/components/character-count/README.md new file mode 100644 index 0000000000..ff8fdbaba3 --- /dev/null +++ b/package/components/character-count/README.md @@ -0,0 +1,497 @@ +# Character count + +## Introduction + +Help users enter text within a limited number of characters + +## Guidance + +Find out when to use the character count component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/character-count). + +## Quick start examples + +### Character count + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/preview) + +#### Markup + +
+ +
+ + + +
+ + + You can enter up to 10 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "name": "more-detail", + "id": "more-detail", + "maxlength": 10, + "label": { + "text": "Can you provide more detail?" + } + }) }} + +### Character count with hint + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-hint/preview) + +#### Markup + +
+ +
+ + + + Don't include personal or financial information, eg your National Insurance number or credit card details. + + + +
+ + + You can enter up to 10 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "name": "with-hint", + "id": "with-hint", + "maxlength": 10, + "label": { + "text": "Can you provide more detail?" + }, + "hint": { + "text": "Don't include personal or financial information, eg your National Insurance number or credit card details." + } + }) }} + +### Character count with default value + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-default-value/preview) + +#### Markup + +
+ +
+ + + +
+ + + You can enter up to 100 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "id": "with-default-value", + "name": "default-value", + "maxlength": 100, + "label": { + "text": "Full address" + }, + "value": "221B Baker Street\nLondon\nNW1 6XE\n" + }) }} + +### Character count with default value exceeding limit + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-default-value-exceeding-limit/preview) + +#### Markup + +
+ +
+ + + + Please do not exceed the maximum allowed limit + + + +
+ + + You can enter up to 10 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "id": "exceeding-characters", + "name": "exceeding", + "maxlength": 10, + "value": "221B Baker Street\nLondon\nNW1 6XE\n", + "label": { + "text": "Full address" + }, + "errorMessage": { + "text": "Please do not exceed the maximum allowed limit" + } + }) }} + +### Character count with custom rows + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-custom-rows/preview) + +#### Markup + +
+ +
+ + + +
+ + + You can enter up to 10 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "id": "custom-rows", + "name": "custom", + "maxlength": 10, + "label": { + "text": "Full address" + }, + "rows": 8 + }) }} + +### Character count with label as page heading + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-label-as-page-heading/preview) + +#### Markup + +
+ +
+

+ + +

+ + +
+ + + You can enter up to 10 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "id": "textarea-with-page-heading", + "name": "address", + "maxlength": 10, + "label": { + "text": "Full address", + "isPageHeading": true + } + }) }} + +### Character count with word count + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-word-count/preview) + +#### Markup + +
+ +
+ + + +
+ + + You can enter up to 10 words + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "id": "word-count", + "name": "word-count", + "maxwords": 10, + "label": { + "text": "Full address" + } + }) }} + +### Character count with threshold + +[Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/character-count/with-threshold/preview) + +#### Markup + +
+ +
+ + + +
+ + + You can enter up to 10 characters + +
+ +#### Macro + + {% from "character-count/macro.njk" import govukCharacterCount %} + + {{ govukCharacterCount({ + "id": "with-threshold", + "name": "with-threshold", + "maxlength": 10, + "threshold": 75, + "label": { + "text": "Full address" + } + }) }} + +## Requirements + +### Build tool configuration + +When compiling the Sass files you'll need to define includePaths to reference the node_modules directory. Below is a sample configuration using gulp + + .pipe(sass({ + includePaths: 'node_modules/' + })) + +### Static asset path configuration + +In order to include the images used in the components, you need to configure your app to show these assets. Below is a sample configuration using Express js: + + app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets'))) + +## Component arguments + +If you are using Nunjucks,then macros take the following arguments + +**If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription
idstringYesThe id of the textarea
describedBystringNoText or element id to add to the `aria-describedby` attribute to provide description for screenreader users.
namestringYesThe name of the textarea, which is submitted with the form data.
rowsstringNoOptional number of textarea rows (default is 5 rows).
valuestringNoOptional initial value of the textarea.
labelobjectYesArguments for the label component. See label component.
hintobjectNoArguments for the hint component (e.g. text). See hint component.
errorMessageobjectNoArguments for the errorMessage component (e.g. text). See errorMessage component.
classesstringNoOptional additional classes to add to the textarea tag.
attributesobjectNoAny extra HTML attributes (for example data attributes) to add to the textarea tag.
+ +**If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).** + +### Setting up Nunjucks views and paths + +Below is an example setup using express configure views: + + nunjucks.configure('node_modules/govuk-frontend/components', { + autoescape: true, + cache: false, + express: app + }) + +## Contribution + +Guidelines can be found at [on our Github repository.](https://github.com/alphagov/govuk-frontend/blob/master/CONTRIBUTING.md "link to contributing guidelines on our github repository") + +## License + +MIT \ No newline at end of file diff --git a/package/components/character-count/_character-count.scss b/package/components/character-count/_character-count.scss new file mode 100644 index 0000000000..b4e399daeb --- /dev/null +++ b/package/components/character-count/_character-count.scss @@ -0,0 +1,31 @@ +@import "../../settings/all"; +@import "../../tools/all"; +@import "../../helpers/all"; + +@import "../error-message/error-message"; +@import "../hint/hint"; +@import "../label/label"; + +@include govuk-exports("govuk/component/character-count") { + .govuk-character-count { + @include govuk-responsive-margin(6, "bottom"); + + .govuk-form-group, + .govuk-textarea { + margin-bottom: govuk-spacing(1); + } + + .govuk-textarea--error { + padding: govuk-spacing(1) - 2; // Stop a "jump" when width of border changes + } + } + + .govuk-character-count__message { + margin-top: 0; + margin-bottom: 0; + } + + .govuk-character-count__message--disabled { + visibility: hidden; + } +} diff --git a/package/components/character-count/character-count.js b/package/components/character-count/character-count.js new file mode 100644 index 0000000000..c0e1261b27 --- /dev/null +++ b/package/components/character-count/character-count.js @@ -0,0 +1,1201 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define('GOVUKFrontend', factory) : + (global.GOVUKFrontend = factory()); +}(this, (function () { 'use strict'; + +(function(undefined) { + +// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Object/defineProperty/detect.js +var detect = ( + // In IE8, defineProperty could only act on DOM elements, so full support + // for the feature requires the ability to set a property on an arbitrary object + 'defineProperty' in Object && (function() { + try { + var a = {}; + Object.defineProperty(a, 'test', {value:42}); + return true; + } catch(e) { + return false + } + }()) +); + +if (detect) return + +// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Object.defineProperty&flags=always +(function (nativeDefineProperty) { + + var supportsAccessors = Object.prototype.hasOwnProperty('__defineGetter__'); + var ERR_ACCESSORS_NOT_SUPPORTED = 'Getters & setters cannot be defined on this javascript engine'; + var ERR_VALUE_ACCESSORS = 'A property cannot both have accessors and be writable or have a value'; + + Object.defineProperty = function defineProperty(object, property, descriptor) { + + // Where native support exists, assume it + if (nativeDefineProperty && (object === window || object === document || object === Element.prototype || object instanceof Element)) { + return nativeDefineProperty(object, property, descriptor); + } + + if (object === null || !(object instanceof Object || typeof object === 'object')) { + throw new TypeError('Object.defineProperty called on non-object'); + } + + if (!(descriptor instanceof Object)) { + throw new TypeError('Property description must be an object'); + } + + var propertyString = String(property); + var hasValueOrWritable = 'value' in descriptor || 'writable' in descriptor; + var getterType = 'get' in descriptor && typeof descriptor.get; + var setterType = 'set' in descriptor && typeof descriptor.set; + + // handle descriptor.get + if (getterType) { + if (getterType !== 'function') { + throw new TypeError('Getter must be a function'); + } + if (!supportsAccessors) { + throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED); + } + if (hasValueOrWritable) { + throw new TypeError(ERR_VALUE_ACCESSORS); + } + Object.__defineGetter__.call(object, propertyString, descriptor.get); + } else { + object[propertyString] = descriptor.value; + } + + // handle descriptor.set + if (setterType) { + if (setterType !== 'function') { + throw new TypeError('Setter must be a function'); + } + if (!supportsAccessors) { + throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED); + } + if (hasValueOrWritable) { + throw new TypeError(ERR_VALUE_ACCESSORS); + } + Object.__defineSetter__.call(object, propertyString, descriptor.set); + } + + // OK to define value unconditionally - if a getter has been specified as well, an error would be thrown above + if ('value' in descriptor) { + object[propertyString] = descriptor.value; + } + + return object; + }; +}(Object.defineProperty)); +}) +.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + // Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Function/prototype/bind/detect.js + var detect = 'bind' in Function.prototype; + + if (detect) return + + // Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Function.prototype.bind&flags=always + Object.defineProperty(Function.prototype, 'bind', { + value: function bind(that) { // .length is 1 + // add necessary es5-shim utilities + var $Array = Array; + var $Object = Object; + var ObjectPrototype = $Object.prototype; + var ArrayPrototype = $Array.prototype; + var Empty = function Empty() {}; + var to_string = ObjectPrototype.toString; + var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + var isCallable; /* inlined from https://npmjs.com/is-callable */ var fnToStr = Function.prototype.toString, tryFunctionObject = function tryFunctionObject(value) { try { fnToStr.call(value); return true; } catch (e) { return false; } }, fnClass = '[object Function]', genClass = '[object GeneratorFunction]'; isCallable = function isCallable(value) { if (typeof value !== 'function') { return false; } if (hasToStringTag) { return tryFunctionObject(value); } var strClass = to_string.call(value); return strClass === fnClass || strClass === genClass; }; + var array_slice = ArrayPrototype.slice; + var array_concat = ArrayPrototype.concat; + var array_push = ArrayPrototype.push; + var max = Math.max; + // /add necessary es5-shim utilities + + // 1. Let Target be the this value. + var target = this; + // 2. If IsCallable(Target) is false, throw a TypeError exception. + if (!isCallable(target)) { + throw new TypeError('Function.prototype.bind called on incompatible ' + target); + } + // 3. Let A be a new (possibly empty) internal list of all of the + // argument values provided after thisArg (arg1, arg2 etc), in order. + // XXX slicedArgs will stand in for "A" if used + var args = array_slice.call(arguments, 1); // for normal call + // 4. Let F be a new native ECMAScript object. + // 11. Set the [[Prototype]] internal property of F to the standard + // built-in Function prototype object as specified in 15.3.3.1. + // 12. Set the [[Call]] internal property of F as described in + // 15.3.4.5.1. + // 13. Set the [[Construct]] internal property of F as described in + // 15.3.4.5.2. + // 14. Set the [[HasInstance]] internal property of F as described in + // 15.3.4.5.3. + var bound; + var binder = function () { + + if (this instanceof bound) { + // 15.3.4.5.2 [[Construct]] + // When the [[Construct]] internal method of a function object, + // F that was created using the bind function is called with a + // list of arguments ExtraArgs, the following steps are taken: + // 1. Let target be the value of F's [[TargetFunction]] + // internal property. + // 2. If target has no [[Construct]] internal method, a + // TypeError exception is thrown. + // 3. Let boundArgs be the value of F's [[BoundArgs]] internal + // property. + // 4. Let args be a new list containing the same values as the + // list boundArgs in the same order followed by the same + // values as the list ExtraArgs in the same order. + // 5. Return the result of calling the [[Construct]] internal + // method of target providing args as the arguments. + + var result = target.apply( + this, + array_concat.call(args, array_slice.call(arguments)) + ); + if ($Object(result) === result) { + return result; + } + return this; + + } else { + // 15.3.4.5.1 [[Call]] + // When the [[Call]] internal method of a function object, F, + // which was created using the bind function is called with a + // this value and a list of arguments ExtraArgs, the following + // steps are taken: + // 1. Let boundArgs be the value of F's [[BoundArgs]] internal + // property. + // 2. Let boundThis be the value of F's [[BoundThis]] internal + // property. + // 3. Let target be the value of F's [[TargetFunction]] internal + // property. + // 4. Let args be a new list containing the same values as the + // list boundArgs in the same order followed by the same + // values as the list ExtraArgs in the same order. + // 5. Return the result of calling the [[Call]] internal method + // of target providing boundThis as the this value and + // providing args as the arguments. + + // equiv: target.call(this, ...boundArgs, ...args) + return target.apply( + that, + array_concat.call(args, array_slice.call(arguments)) + ); + + } + + }; + + // 15. If the [[Class]] internal property of Target is "Function", then + // a. Let L be the length property of Target minus the length of A. + // b. Set the length own property of F to either 0 or L, whichever is + // larger. + // 16. Else set the length own property of F to 0. + + var boundLength = max(0, target.length - args.length); + + // 17. Set the attributes of the length own property of F to the values + // specified in 15.3.5.1. + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + array_push.call(boundArgs, '$' + i); + } + + // XXX Build a dynamic function with desired amount of arguments is the only + // way to set the length property of a function. + // In environments where Content Security Policies enabled (Chrome extensions, + // for ex.) all use of eval or Function costructor throws an exception. + // However in all of these environments Function.prototype.bind exists + // and so this code will never be executed. + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this, arguments); }')(binder); + + if (target.prototype) { + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + // Clean up dangling references. + Empty.prototype = null; + } + + // TODO + // 18. Set the [[Extensible]] internal property of F to true. + + // TODO + // 19. Let thrower be the [[ThrowTypeError]] function Object (13.2.3). + // 20. Call the [[DefineOwnProperty]] internal method of F with + // arguments "caller", PropertyDescriptor {[[Get]]: thrower, [[Set]]: + // thrower, [[Enumerable]]: false, [[Configurable]]: false}, and + // false. + // 21. Call the [[DefineOwnProperty]] internal method of F with + // arguments "arguments", PropertyDescriptor {[[Get]]: thrower, + // [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: false}, + // and false. + + // TODO + // NOTE Function objects created using Function.prototype.bind do not + // have a prototype property or the [[Code]], [[FormalParameters]], and + // [[Scope]] internal properties. + // XXX can't delete prototype in pure-js. + + // 22. Return F. + return bound; + } + }); +}) +.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + +// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Window/detect.js +var detect = ('Window' in this); + +if (detect) return + +// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Window&flags=always +if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) { + (function (global) { + if (global.constructor) { + global.Window = global.constructor; + } else { + (global.Window = global.constructor = new Function('return function Window() {}')()).prototype = this; + } + }(this)); +} + +}) +.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + +// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Document/detect.js +var detect = ("Document" in this); + +if (detect) return + +// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Document&flags=always +if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) { + + if (this.HTMLDocument) { // IE8 + + // HTMLDocument is an extension of Document. If the browser has HTMLDocument but not Document, the former will suffice as an alias for the latter. + this.Document = this.HTMLDocument; + + } else { + + // Create an empty function to act as the missing constructor for the document object, attach the document object as its prototype. The function needs to be anonymous else it is hoisted and causes the feature detect to prematurely pass, preventing the assignments below being made. + this.Document = this.HTMLDocument = document.constructor = (new Function('return function Document() {}')()); + this.Document.prototype = document; + } +} + + +}) +.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + +// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Element/detect.js +var detect = ('Element' in this && 'HTMLElement' in this); + +if (detect) return + +// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Element&flags=always +(function () { + + // IE8 + if (window.Element && !window.HTMLElement) { + window.HTMLElement = window.Element; + return; + } + + // create Element constructor + window.Element = window.HTMLElement = new Function('return function Element() {}')(); + + // generate sandboxed iframe + var vbody = document.appendChild(document.createElement('body')); + var frame = vbody.appendChild(document.createElement('iframe')); + + // use sandboxed iframe to replicate Element functionality + var frameDocument = frame.contentWindow.document; + var prototype = Element.prototype = frameDocument.appendChild(frameDocument.createElement('*')); + var cache = {}; + + // polyfill Element.prototype on an element + var shiv = function (element, deep) { + var + childNodes = element.childNodes || [], + index = -1, + key, value, childNode; + + if (element.nodeType === 1 && element.constructor !== Element) { + element.constructor = Element; + + for (key in cache) { + value = cache[key]; + element[key] = value; + } + } + + while (childNode = deep && childNodes[++index]) { + shiv(childNode, deep); + } + + return element; + }; + + var elements = document.getElementsByTagName('*'); + var nativeCreateElement = document.createElement; + var interval; + var loopLimit = 100; + + prototype.attachEvent('onpropertychange', function (event) { + var + propertyName = event.propertyName, + nonValue = !cache.hasOwnProperty(propertyName), + newValue = prototype[propertyName], + oldValue = cache[propertyName], + index = -1, + element; + + while (element = elements[++index]) { + if (element.nodeType === 1) { + if (nonValue || element[propertyName] === oldValue) { + element[propertyName] = newValue; + } + } + } + + cache[propertyName] = newValue; + }); + + prototype.constructor = Element; + + if (!prototype.hasAttribute) { + // .hasAttribute + prototype.hasAttribute = function hasAttribute(name) { + return this.getAttribute(name) !== null; + }; + } + + // Apply Element prototype to the pre-existing DOM as soon as the body element appears. + function bodyCheck() { + if (!(loopLimit--)) clearTimeout(interval); + if (document.body && !document.body.prototype && /(complete|interactive)/.test(document.readyState)) { + shiv(document, true); + if (interval && document.body.prototype) clearTimeout(interval); + return (!!document.body.prototype); + } + return false; + } + if (!bodyCheck()) { + document.onreadystatechange = bodyCheck; + interval = setInterval(bodyCheck, 25); + } + + // Apply to any new elements created after load + document.createElement = function createElement(nodeName) { + var element = nativeCreateElement(String(nodeName).toLowerCase()); + return shiv(element); + }; + + // remove sandboxed iframe + document.removeChild(vbody); +}()); + +}) +.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + +// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Event/detect.js +var detect = ( + (function(global) { + + if (!('Event' in global)) return false; + if (typeof global.Event === 'function') return true; + + try { + + // In IE 9-11, the Event object exists but cannot be instantiated + new Event('click'); + return true; + } catch(e) { + return false; + } + }(this)) +); + +if (detect) return + +// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Event&flags=always +(function () { + var unlistenableWindowEvents = { + click: 1, + dblclick: 1, + keyup: 1, + keypress: 1, + keydown: 1, + mousedown: 1, + mouseup: 1, + mousemove: 1, + mouseover: 1, + mouseenter: 1, + mouseleave: 1, + mouseout: 1, + storage: 1, + storagecommit: 1, + textinput: 1 + }; + + // This polyfill depends on availability of `document` so will not run in a worker + // However, we asssume there are no browsers with worker support that lack proper + // support for `Event` within the worker + if (typeof document === 'undefined' || typeof window === 'undefined') return; + + function indexOf(array, element) { + var + index = -1, + length = array.length; + + while (++index < length) { + if (index in array && array[index] === element) { + return index; + } + } + + return -1; + } + + var existingProto = (window.Event && window.Event.prototype) || null; + window.Event = Window.prototype.Event = function Event(type, eventInitDict) { + if (!type) { + throw new Error('Not enough arguments'); + } + + var event; + // Shortcut if browser supports createEvent + if ('createEvent' in document) { + event = document.createEvent('Event'); + var bubbles = eventInitDict && eventInitDict.bubbles !== undefined ? eventInitDict.bubbles : false; + var cancelable = eventInitDict && eventInitDict.cancelable !== undefined ? eventInitDict.cancelable : false; + + event.initEvent(type, bubbles, cancelable); + + return event; + } + + event = document.createEventObject(); + + event.type = type; + event.bubbles = eventInitDict && eventInitDict.bubbles !== undefined ? eventInitDict.bubbles : false; + event.cancelable = eventInitDict && eventInitDict.cancelable !== undefined ? eventInitDict.cancelable : false; + + return event; + }; + if (existingProto) { + Object.defineProperty(window.Event, 'prototype', { + configurable: false, + enumerable: false, + writable: true, + value: existingProto + }); + } + + if (!('createEvent' in document)) { + window.addEventListener = Window.prototype.addEventListener = Document.prototype.addEventListener = Element.prototype.addEventListener = function addEventListener() { + var + element = this, + type = arguments[0], + listener = arguments[1]; + + if (element === window && type in unlistenableWindowEvents) { + throw new Error('In IE8 the event: ' + type + ' is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.'); + } + + if (!element._events) { + element._events = {}; + } + + if (!element._events[type]) { + element._events[type] = function (event) { + var + list = element._events[event.type].list, + events = list.slice(), + index = -1, + length = events.length, + eventElement; + + event.preventDefault = function preventDefault() { + if (event.cancelable !== false) { + event.returnValue = false; + } + }; + + event.stopPropagation = function stopPropagation() { + event.cancelBubble = true; + }; + + event.stopImmediatePropagation = function stopImmediatePropagation() { + event.cancelBubble = true; + event.cancelImmediate = true; + }; + + event.currentTarget = element; + event.relatedTarget = event.fromElement || null; + event.target = event.target || event.srcElement || element; + event.timeStamp = new Date().getTime(); + + if (event.clientX) { + event.pageX = event.clientX + document.documentElement.scrollLeft; + event.pageY = event.clientY + document.documentElement.scrollTop; + } + + while (++index < length && !event.cancelImmediate) { + if (index in events) { + eventElement = events[index]; + + if (indexOf(list, eventElement) !== -1 && typeof eventElement === 'function') { + eventElement.call(element, event); + } + } + } + }; + + element._events[type].list = []; + + if (element.attachEvent) { + element.attachEvent('on' + type, element._events[type]); + } + } + + element._events[type].list.push(listener); + }; + + window.removeEventListener = Window.prototype.removeEventListener = Document.prototype.removeEventListener = Element.prototype.removeEventListener = function removeEventListener() { + var + element = this, + type = arguments[0], + listener = arguments[1], + index; + + if (element._events && element._events[type] && element._events[type].list) { + index = indexOf(element._events[type].list, listener); + + if (index !== -1) { + element._events[type].list.splice(index, 1); + + if (!element._events[type].list.length) { + if (element.detachEvent) { + element.detachEvent('on' + type, element._events[type]); + } + delete element._events[type]; + } + } + } + }; + + window.dispatchEvent = Window.prototype.dispatchEvent = Document.prototype.dispatchEvent = Element.prototype.dispatchEvent = function dispatchEvent(event) { + if (!arguments.length) { + throw new Error('Not enough arguments'); + } + + if (!event || typeof event.type !== 'string') { + throw new Error('DOM Events Exception 0'); + } + + var element = this, type = event.type; + + try { + if (!event.bubbles) { + event.cancelBubble = true; + + var cancelBubbleEvent = function (event) { + event.cancelBubble = true; + + (element || window).detachEvent('on' + type, cancelBubbleEvent); + }; + + this.attachEvent('on' + type, cancelBubbleEvent); + } + + this.fireEvent('on' + type, event); + } catch (error) { + event.target = element; + + do { + event.currentTarget = element; + + if ('_events' in element && typeof element._events[type] === 'function') { + element._events[type].call(element, event); + } + + if (typeof element['on' + type] === 'function') { + element['on' + type].call(element, event); + } + + element = element.nodeType === 9 ? element.parentWindow : element.parentNode; + } while (element && !event.cancelBubble); + } + + return true; + }; + + // Add the DOMContentLoaded Event + document.attachEvent('onreadystatechange', function() { + if (document.readyState === 'complete') { + document.dispatchEvent(new Event('DOMContentLoaded', { + bubbles: true + })); + } + }); + } +}()); + +}) +.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + + // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-service/master/packages/polyfill-library/polyfills/DOMTokenList/detect.js + var detect = ( + 'DOMTokenList' in this && (function (x) { + return 'classList' in x ? !x.classList.toggle('x', false) && !x.className : true; + })(document.createElement('x')) + ); + + if (detect) return + + // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/master/packages/polyfill-library/polyfills/DOMTokenList/polyfill.js + (function (global) { + var nativeImpl = "DOMTokenList" in global && global.DOMTokenList; + + if ( + !nativeImpl || + ( + !!document.createElementNS && + !!document.createElementNS('http://www.w3.org/2000/svg', 'svg') && + !(document.createElementNS("http://www.w3.org/2000/svg", "svg").classList instanceof DOMTokenList) + ) + ) { + global.DOMTokenList = (function() { // eslint-disable-line no-unused-vars + var dpSupport = true; + var defineGetter = function (object, name, fn, configurable) { + if (Object.defineProperty) + Object.defineProperty(object, name, { + configurable: false === dpSupport ? true : !!configurable, + get: fn + }); + + else object.__defineGetter__(name, fn); + }; + + /** Ensure the browser allows Object.defineProperty to be used on native JavaScript objects. */ + try { + defineGetter({}, "support"); + } + catch (e) { + dpSupport = false; + } + + + var _DOMTokenList = function (el, prop) { + var that = this; + var tokens = []; + var tokenMap = {}; + var length = 0; + var maxLength = 0; + var addIndexGetter = function (i) { + defineGetter(that, i, function () { + preop(); + return tokens[i]; + }, false); + + }; + var reindex = function () { + + /** Define getter functions for array-like access to the tokenList's contents. */ + if (length >= maxLength) + for (; maxLength < length; ++maxLength) { + addIndexGetter(maxLength); + } + }; + + /** Helper function called at the start of each class method. Internal use only. */ + var preop = function () { + var error; + var i; + var args = arguments; + var rSpace = /\s+/; + + /** Validate the token/s passed to an instance method, if any. */ + if (args.length) + for (i = 0; i < args.length; ++i) + if (rSpace.test(args[i])) { + error = new SyntaxError('String "' + args[i] + '" ' + "contains" + ' an invalid character'); + error.code = 5; + error.name = "InvalidCharacterError"; + throw error; + } + + + /** Split the new value apart by whitespace*/ + if (typeof el[prop] === "object") { + tokens = ("" + el[prop].baseVal).replace(/^\s+|\s+$/g, "").split(rSpace); + } else { + tokens = ("" + el[prop]).replace(/^\s+|\s+$/g, "").split(rSpace); + } + + /** Avoid treating blank strings as single-item token lists */ + if ("" === tokens[0]) tokens = []; + + /** Repopulate the internal token lists */ + tokenMap = {}; + for (i = 0; i < tokens.length; ++i) + tokenMap[tokens[i]] = true; + length = tokens.length; + reindex(); + }; + + /** Populate our internal token list if the targeted attribute of the subject element isn't empty. */ + preop(); + + /** Return the number of tokens in the underlying string. Read-only. */ + defineGetter(that, "length", function () { + preop(); + return length; + }); + + /** Override the default toString/toLocaleString methods to return a space-delimited list of tokens when typecast. */ + that.toLocaleString = + that.toString = function () { + preop(); + return tokens.join(" "); + }; + + that.item = function (idx) { + preop(); + return tokens[idx]; + }; + + that.contains = function (token) { + preop(); + return !!tokenMap[token]; + }; + + that.add = function () { + preop.apply(that, args = arguments); + + for (var args, token, i = 0, l = args.length; i < l; ++i) { + token = args[i]; + if (!tokenMap[token]) { + tokens.push(token); + tokenMap[token] = true; + } + } + + /** Update the targeted attribute of the attached element if the token list's changed. */ + if (length !== tokens.length) { + length = tokens.length >>> 0; + if (typeof el[prop] === "object") { + el[prop].baseVal = tokens.join(" "); + } else { + el[prop] = tokens.join(" "); + } + reindex(); + } + }; + + that.remove = function () { + preop.apply(that, args = arguments); + + /** Build a hash of token names to compare against when recollecting our token list. */ + for (var args, ignore = {}, i = 0, t = []; i < args.length; ++i) { + ignore[args[i]] = true; + delete tokenMap[args[i]]; + } + + /** Run through our tokens list and reassign only those that aren't defined in the hash declared above. */ + for (i = 0; i < tokens.length; ++i) + if (!ignore[tokens[i]]) t.push(tokens[i]); + + tokens = t; + length = t.length >>> 0; + + /** Update the targeted attribute of the attached element. */ + if (typeof el[prop] === "object") { + el[prop].baseVal = tokens.join(" "); + } else { + el[prop] = tokens.join(" "); + } + reindex(); + }; + + that.toggle = function (token, force) { + preop.apply(that, [token]); + + /** Token state's being forced. */ + if (undefined !== force) { + if (force) { + that.add(token); + return true; + } else { + that.remove(token); + return false; + } + } + + /** Token already exists in tokenList. Remove it, and return FALSE. */ + if (tokenMap[token]) { + that.remove(token); + return false; + } + + /** Otherwise, add the token and return TRUE. */ + that.add(token); + return true; + }; + + return that; + }; + + return _DOMTokenList; + }()); + } + + // Add second argument to native DOMTokenList.toggle() if necessary + (function () { + var e = document.createElement('span'); + if (!('classList' in e)) return; + e.classList.toggle('x', false); + if (!e.classList.contains('x')) return; + e.classList.constructor.prototype.toggle = function toggle(token /*, force*/) { + var force = arguments[1]; + if (force === undefined) { + var add = !this.contains(token); + this[add ? 'add' : 'remove'](token); + return add; + } + force = !!force; + this[force ? 'add' : 'remove'](token); + return force; + }; + }()); + + // Add multiple arguments to native DOMTokenList.add() if necessary + (function () { + var e = document.createElement('span'); + if (!('classList' in e)) return; + e.classList.add('a', 'b'); + if (e.classList.contains('b')) return; + var native = e.classList.constructor.prototype.add; + e.classList.constructor.prototype.add = function () { + var args = arguments; + var l = arguments.length; + for (var i = 0; i < l; i++) { + native.call(this, args[i]); + } + }; + }()); + + // Add multiple arguments to native DOMTokenList.remove() if necessary + (function () { + var e = document.createElement('span'); + if (!('classList' in e)) return; + e.classList.add('a'); + e.classList.add('b'); + e.classList.remove('a', 'b'); + if (!e.classList.contains('b')) return; + var native = e.classList.constructor.prototype.remove; + e.classList.constructor.prototype.remove = function () { + var args = arguments; + var l = arguments.length; + for (var i = 0; i < l; i++) { + native.call(this, args[i]); + } + }; + }()); + + }(this)); + +}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +(function(undefined) { + + // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-service/8717a9e04ac7aff99b4980fbedead98036b0929a/packages/polyfill-library/polyfills/Element/prototype/classList/detect.js + var detect = ( + 'document' in this && "classList" in document.documentElement && 'Element' in this && 'classList' in Element.prototype && (function () { + var e = document.createElement('span'); + e.classList.add('a', 'b'); + return e.classList.contains('b'); + }()) + ); + + if (detect) return + + // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/8717a9e04ac7aff99b4980fbedead98036b0929a/packages/polyfill-library/polyfills/Element/prototype/classList/polyfill.js + (function (global) { + var dpSupport = true; + var defineGetter = function (object, name, fn, configurable) { + if (Object.defineProperty) + Object.defineProperty(object, name, { + configurable: false === dpSupport ? true : !!configurable, + get: fn + }); + + else object.__defineGetter__(name, fn); + }; + /** Ensure the browser allows Object.defineProperty to be used on native JavaScript objects. */ + try { + defineGetter({}, "support"); + } + catch (e) { + dpSupport = false; + } + /** Polyfills a property with a DOMTokenList */ + var addProp = function (o, name, attr) { + + defineGetter(o.prototype, name, function () { + var tokenList; + + var THIS = this, + + /** Prevent this from firing twice for some reason. What the hell, IE. */ + gibberishProperty = "__defineGetter__" + "DEFINE_PROPERTY" + name; + if(THIS[gibberishProperty]) return tokenList; + THIS[gibberishProperty] = true; + + /** + * IE8 can't define properties on native JavaScript objects, so we'll use a dumb hack instead. + * + * What this is doing is creating a dummy element ("reflection") inside a detached phantom node ("mirror") + * that serves as the target of Object.defineProperty instead. While we could simply use the subject HTML + * element instead, this would conflict with element types which use indexed properties (such as forms and + * select lists). + */ + if (false === dpSupport) { + + var visage; + var mirror = addProp.mirror || document.createElement("div"); + var reflections = mirror.childNodes; + var l = reflections.length; + + for (var i = 0; i < l; ++i) + if (reflections[i]._R === THIS) { + visage = reflections[i]; + break; + } + + /** Couldn't find an element's reflection inside the mirror. Materialise one. */ + visage || (visage = mirror.appendChild(document.createElement("div"))); + + tokenList = DOMTokenList.call(visage, THIS, attr); + } else tokenList = new DOMTokenList(THIS, attr); + + defineGetter(THIS, name, function () { + return tokenList; + }); + delete THIS[gibberishProperty]; + + return tokenList; + }, true); + }; + + addProp(global.Element, "classList", "className"); + addProp(global.HTMLElement, "classList", "className"); + addProp(global.HTMLLinkElement, "relList", "rel"); + addProp(global.HTMLAnchorElement, "relList", "rel"); + addProp(global.HTMLAreaElement, "relList", "rel"); + }(this)); + +}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); + +function CharacterCount ($module) { + this.$module = $module; + this.$textarea = $module.querySelector('.js-character-count'); +} + +CharacterCount.prototype.defaults = { + characterCountAttribute: 'data-maxlength', + wordCountAttribute: 'data-maxwords' +}; + +// Initialize component +CharacterCount.prototype.init = function () { + // Check for module + var $module = this.$module; + var $textarea = this.$textarea; + if (!$textarea) { + return + } + + // Read options set using dataset ('data-' values) + this.options = this.getDataset($module); + + // Determine the limit attribute (characters or words) + var countAttribute = this.defaults.characterCountAttribute; + if (this.options.maxwords) { + countAttribute = this.defaults.wordCountAttribute; + } + + // Save the element limit + this.maxLength = $module.getAttribute(countAttribute); + + // Check for limit + if (!this.maxLength) { + return + } + + // Generate and reference message + var boundCreateCountMessage = this.createCountMessage.bind(this); + this.countMessage = boundCreateCountMessage(); + + // If there's a maximum length defined and the count message exists + if (this.countMessage) { + // Remove hard limit if set + $module.removeAttribute('maxlength'); + + // Bind event changes to the textarea + var boundChangeEvents = this.bindChangeEvents.bind(this); + boundChangeEvents(); + + // Update count message + var boundUpdateCountMessage = this.updateCountMessage.bind(this); + boundUpdateCountMessage(); + } +}; + +// Read data attributes +CharacterCount.prototype.getDataset = function (element) { + var dataset = {}; + var attributes = element.attributes; + if (attributes) { + for (var i = 0; i < attributes.length; i++) { + var attribute = attributes[i]; + var match = attribute.name.match(/^data-(.+)/); + if (match) { + dataset[match[1]] = attribute.value; + } + } + } + return dataset +}; + +// Counts characters or words in text +CharacterCount.prototype.count = function (text) { + var length; + if (this.options.maxwords) { + var tokens = text.match(/\S+/g) || []; // Matches consecutive non-whitespace chars + length = tokens.length; + } else { + length = text.length; + } + return length +}; + +// Generate count message and bind it to the input +// returns reference to the generated element +CharacterCount.prototype.createCountMessage = function () { + var countElement = this.$textarea; + var elementId = countElement.id; + // Check for existing info count message + var countMessage = document.getElementById(elementId + '-info'); + // If there is no existing info count message we add one right after the field + if (elementId && !countMessage) { + countElement.insertAdjacentHTML('afterend', ''); + this.describedBy = countElement.getAttribute('aria-describedby'); + this.describedByInfo = this.describedBy + ' ' + elementId + '-info'; + countElement.setAttribute('aria-describedby', this.describedByInfo); + countMessage = document.getElementById(elementId + '-info'); + } else { + // If there is an existing info count message we move it right after the field + countElement.insertAdjacentElement('afterend', countMessage); + } + return countMessage +}; + +// Bind input propertychange to the elements and update based on the change +CharacterCount.prototype.bindChangeEvents = function () { + var $textarea = this.$textarea; + $textarea.addEventListener('keyup', this.checkIfValueChanged.bind(this)); + + // Bind focus/blur events to start/stop polling + $textarea.addEventListener('focus', this.handleFocus.bind(this)); + $textarea.addEventListener('blur', this.handleBlur.bind(this)); +}; + +// Speech recognition software such as Dragon NaturallySpeaking will modify the +// fields by directly changing its `value`. These changes don't trigger events +// in JavaScript, so we need to poll to handle when and if they occur. +CharacterCount.prototype.checkIfValueChanged = function () { + if (!this.$textarea.oldValue) this.$textarea.oldValue = ''; + if (this.$textarea.value !== this.$textarea.oldValue) { + this.$textarea.oldValue = this.$textarea.value; + var boundUpdateCountMessage = this.updateCountMessage.bind(this); + boundUpdateCountMessage(); + } +}; + +// Update message box +CharacterCount.prototype.updateCountMessage = function () { + var countElement = this.$textarea; + var options = this.options; + var countMessage = this.countMessage; + + // Determine the remaining number of characters/words + var currentLength = this.count(countElement.value); + var maxLength = this.maxLength; + var remainingNumber = maxLength - currentLength; + + // Set threshold if presented in options + var thresholdPercent = options.threshold ? options.threshold : 0; + var thresholdValue = maxLength * thresholdPercent / 100; + if (thresholdValue > currentLength) { + countMessage.classList.add('govuk-character-count__message--disabled'); + } else { + countMessage.classList.remove('govuk-character-count__message--disabled'); + } + + // Update styles + if (remainingNumber < 0) { + countElement.classList.add('govuk-textarea--error'); + countMessage.classList.remove('govuk-hint'); + countMessage.classList.add('govuk-error-message'); + } else { + countElement.classList.remove('govuk-textarea--error'); + countMessage.classList.remove('govuk-error-message'); + countMessage.classList.add('govuk-hint'); + } + + // Update message + var charVerb = 'remaining'; + var charNoun = 'character'; + var displayNumber = remainingNumber; + if (options.maxwords) { + charNoun = 'word'; + } + charNoun = charNoun + ((remainingNumber === -1 || remainingNumber === 1) ? '' : 's'); + + charVerb = (remainingNumber < 0) ? 'too many' : 'remaining'; + displayNumber = Math.abs(remainingNumber); + + countMessage.innerHTML = 'You have ' + displayNumber + ' ' + charNoun + ' ' + charVerb; +}; + +CharacterCount.prototype.handleFocus = function () { + // Check if value changed on focus + this.valueChecker = setInterval(this.checkIfValueChanged.bind(this), 1000); +}; + +CharacterCount.prototype.handleBlur = function () { + // Cancel value checking on blur + clearInterval(this.valueChecker); +}; + +return CharacterCount; + +}))); diff --git a/package/components/character-count/macro-options.json b/package/components/character-count/macro-options.json new file mode 100644 index 0000000000..8537a99620 --- /dev/null +++ b/package/components/character-count/macro-options.json @@ -0,0 +1,83 @@ +[ + { + "name": "id", + "type": "string", + "required": true, + "description": "The id of the textarea." + }, + { + "name": "describedBy", + "type": "string", + "required": false, + "description": "Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users." + }, + { + "name": "name", + "type": "string", + "required": true, + "description": "The name of the textarea, which is submitted with the form data." + }, + { + "name": "rows", + "type": "string", + "required": false, + "description": "Optional number of textarea rows (default is 5 rows)." + }, + { + "name": "value", + "type": "string", + "required": false, + "description": "Optional initial value of the textarea." + }, + { + "name": "maxlength", + "type": "string", + "required": true, + "description": "If `maxwords` is set, this is not required. The maximum number of characters. If `maxwords` is provided, the `maxlength` argument will be ignored." + }, + { + "name": "maxwords", + "type": "string", + "required": true, + "description": "If `maxlength` is set, this is not required. The maximum number of words. If `maxwords` is provided, the `maxlength` argument will be ignored." + }, + { + "name": "threshold", + "type": "string", + "required": true, + "description": "The percentage value of the limit at which point the count message is displayed. If this attribute is set, the count message will be hidden by default." + }, + { + "name": "label", + "type": "object", + "required": true, + "description": "Options for the label component.", + "isComponent": true + }, + { + "name": "hint", + "type": "object", + "required": false, + "description": "Options for the hint component.", + "isComponent": true + }, + { + "name": "errorMessage", + "type": "object", + "required": false, + "description": "Options for the errorMessage component (e.g. text).", + "isComponent": true + }, + { + "name": "classes", + "type": "string", + "required": false, + "description": "Classes to add to the textarea." + }, + { + "name": "attributes", + "type": "object", + "required": false, + "description": "HTML attributes (for example data attributes) to add to the textarea." + } +] \ No newline at end of file diff --git a/package/components/character-count/macro.njk b/package/components/character-count/macro.njk new file mode 100644 index 0000000000..b8455729f7 --- /dev/null +++ b/package/components/character-count/macro.njk @@ -0,0 +1,3 @@ +{% macro govukCharacterCount(params) %} + {%- include "./template.njk" -%} +{% endmacro %} diff --git a/package/components/character-count/template.njk b/package/components/character-count/template.njk new file mode 100644 index 0000000000..7a3650a9cf --- /dev/null +++ b/package/components/character-count/template.njk @@ -0,0 +1,32 @@ +{% from "../error-message/macro.njk" import govukErrorMessage -%} +{% from "../hint/macro.njk" import govukHint %} +{% from "../label/macro.njk" import govukLabel %} +{% from "../textarea/macro.njk" import govukTextarea %} + +
+ {{ govukTextarea({ + id: params.id, + name: params.name, + describedBy: params.id + '-info', + rows: params.rows, + value: params.value, + classes: 'js-character-count ' + (' govuk-textarea--error' if params.errorMessage) + (params.classes if params.classes), + label: { + html: params.label.html, + text: params.label.text, + classes: params.label.classes, + isPageHeading: params.label.isPageHeading, + attributes: params.label.attributes, + for: params.id + }, + hint: params.hint, + errorMessage: params.errorMessage, + attributes: params.attributes + }) }} + + You can enter up to {{ params.maxlength or params.maxwords }} {{'words' if params.maxwords else 'characters' }} + +
diff --git a/package/components/checkboxes/README.md b/package/components/checkboxes/README.md index 85ce60b67a..e41c7a0636 100644 --- a/package/components/checkboxes/README.md +++ b/package/components/checkboxes/README.md @@ -721,11 +721,11 @@ If you are using Nunjucks,then macros take the following arguments fieldset -object +object -No +No -Arguments for the fieldset component (e.g. legend). See fieldset component. +Arguments for the fieldset component (e.g. legend). See fieldset component. @@ -733,11 +733,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Arguments for the hint component (e.g. text). See hint component. +Arguments for the hint component (e.g. text). See hint component. @@ -745,11 +745,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Arguments for the errorMessage component (e.g. text). See errorMessage component. +Arguments for the errorMessage component (e.g. text). See errorMessage component. @@ -757,11 +757,11 @@ If you are using Nunjucks,then macros take the following arguments idPrefix -string +string -No +No -String to prefix id for each checkbox item if no id is specified on each item. If`idPrefix` is not passed, fallback to using the name attribute instead. +String to prefix id for each checkbox item if no id is specified on each item. If`idPrefix` is not passed, fallback to using the name attribute instead. @@ -769,11 +769,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -Name attribute for each checkbox item. +Name attribute for each checkbox item. @@ -781,11 +781,11 @@ If you are using Nunjucks,then macros take the following arguments items -array +array -Yes +Yes -Array of checkbox items objects. +Array of checkbox items objects. @@ -793,11 +793,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.text (or) items.{}.html -string +string -Yes +Yes -Text or HTML to use within each checkbox item label. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within each checkbox item label. If `html` is provided, the `text` argument will be ignored. @@ -805,11 +805,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.id -string +string -No +No -Specific id attribute for the checkbox item. If ommited, then `idPrefix` string will be applied. +Specific id attribute for the checkbox item. If ommited, then `idPrefix` string will be applied. @@ -817,11 +817,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.name -string +string -Yes +Yes -Specific name for the checkbox item. If ommited, then component global `name` string will be applied. +Specific name for the checkbox item. If ommited, then component global `name` string will be applied. @@ -829,11 +829,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.value -string +string -Yes +Yes -Value for the checkbox input. +Value for the checkbox input. @@ -841,11 +841,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.label -object +object -No +No -Provide additional attributes and classes to each checkbox item label. See [label](../label/README.md#component-arguments) component for more details. +Provide additional attributes and classes to each checkbox item label. See [label](../label/README.md#component-arguments) component for more details. @@ -853,11 +853,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.hint -object +object -No +No -Provide optional hint to each checkbox item. See `hint` component for more details. +Provide optional hint to each checkbox item. See `hint` component for more details. @@ -865,11 +865,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.checked -boolean +boolean -No +No -If true, checkbox will be checked. +If true, checkbox will be checked. @@ -877,11 +877,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.conditional -boolean +boolean -No +No -If true, content provided will be revealed when the item is checked. +If true, content provided will be revealed when the item is checked. @@ -889,11 +889,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.conditional.html -boolean +boolean -No +No -Provide content for the conditional reveal. +Provide content for the conditional reveal. @@ -901,11 +901,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.disabled -boolean +boolean -No +No -If true, checkbox will be disabled. +If true, checkbox will be disabled. @@ -913,11 +913,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the checkbox input tag. +Any extra HTML attributes (for example data attributes) to add to the checkbox input tag. @@ -925,11 +925,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the checkboxes container. +Optional additional classes to add to the checkboxes container. @@ -937,11 +937,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the checkboxes container. +Any extra HTML attributes (for example data attributes) to add to the checkboxes container. diff --git a/package/components/date-input/README.md b/package/components/date-input/README.md index 7a7f85f11b..686510b0ad 100644 --- a/package/components/date-input/README.md +++ b/package/components/date-input/README.md @@ -579,11 +579,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -No +No -Optional id. This is used for the main component and to compose id attribute for each item. +Optional id. This is used for the main component and to compose id attribute for each item. @@ -591,11 +591,11 @@ If you are using Nunjucks,then macros take the following arguments namePrefix -string +string -No +No -Optional prefix. This is used to prefix each `item.name` using `-`. +Optional prefix. This is used to prefix each `item.name` using `-`. @@ -603,11 +603,11 @@ If you are using Nunjucks,then macros take the following arguments items -array +array -Yes +Yes -An array of input objects with name, value and optional classes +An array of input objects with name, value and optional classes @@ -615,11 +615,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.id -string +string -No +No -Optional item-specific id. If provided, it will be used instead of the generated id. +Optional item-specific id. If provided, it will be used instead of the generated id. @@ -627,11 +627,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.name -array +array -Yes +Yes -Item-specific name attribute. +Item-specific name attribute. @@ -639,11 +639,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.value -string +string -No +No -Optional item-specific value attribute. If provided, it will be used as the initial value of the input. +Optional item-specific value attribute. If provided, it will be used as the initial value of the input. @@ -651,11 +651,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.label -string +string -No +No -Optional item-specific label text. If provided, this will be used instead of the items.{}.name. +Optional item-specific label text. If provided, this will be used instead of the items.{}.name. @@ -663,11 +663,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Optional hint. See hint component. +Optional hint. See hint component. @@ -675,11 +675,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Optional error message. See errorMessage component. +Optional error message. See errorMessage component. @@ -687,11 +687,11 @@ If you are using Nunjucks,then macros take the following arguments fieldset -object +object -No +No -Arguments for the fieldset component (e.g. legend). See fieldset component. +Arguments for the fieldset component (e.g. legend). See fieldset component. @@ -699,11 +699,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the date-input container. +Optional additional classes to add to the date-input container. @@ -711,11 +711,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the date-input container. +Any extra HTML attributes (for example data attributes) to add to the date-input container. diff --git a/package/components/details/README.md b/package/components/details/README.md index 2eea89b1d7..163d0a3f05 100644 --- a/package/components/details/README.md +++ b/package/components/details/README.md @@ -144,11 +144,11 @@ If you are using Nunjucks,then macros take the following arguments summaryText (or) summaryHtml -string +string -Yes +Yes -Text or HTML to use within the summary element (the visible part of the details element). If `summaryHtml` is provided, the `summaryText` argument will be ignored. +Text or HTML to use within the summary element (the visible part of the details element). If `summaryHtml` is provided, the `summaryText` argument will be ignored. @@ -156,11 +156,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -Text or HTML to use within the disclosed part of the details element. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the disclosed part of the details element. If `html` is provided, the `text` argument will be ignored. @@ -168,11 +168,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -No +No -Optional id to add to the details element. +Optional id to add to the details element. @@ -180,11 +180,11 @@ If you are using Nunjucks,then macros take the following arguments open -boolean +boolean -No +No -If true, details element will be expanded. +If true, details element will be expanded. @@ -192,11 +192,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the details element. +Optional additional classes to add to the details element. @@ -204,11 +204,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the details element. +Any extra HTML attributes (for example data attributes) to add to the details element. diff --git a/package/components/error-message/README.md b/package/components/error-message/README.md index 475557c8ba..055d41f1f7 100644 --- a/package/components/error-message/README.md +++ b/package/components/error-message/README.md @@ -74,11 +74,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -No +No -Text to use within the error message. If `html` is provided, the `text` argument will be ignored. +Text to use within the error message. If `html` is provided, the `text` argument will be ignored. @@ -86,11 +86,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -No +No -Optional id attribute to add to the error message span tag. +Optional id attribute to add to the error message span tag. @@ -98,11 +98,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the error message span tag. +Optional additional classes to add to the error message span tag. @@ -110,11 +110,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the error message span tag +Any extra HTML attributes (for example data attributes) to add to the error message span tag diff --git a/package/components/error-summary/README.md b/package/components/error-summary/README.md index 845aa1ac8b..170b054023 100644 --- a/package/components/error-summary/README.md +++ b/package/components/error-summary/README.md @@ -110,11 +110,11 @@ If you are using Nunjucks,then macros take the following arguments titleText (or) titleHtml -string +string -Yes +Yes -Text or HTML to use for the heading of the error summary block. If `titleHtml` is provided, the `titleText` argument will be ignored. +Text or HTML to use for the heading of the error summary block. If `titleHtml` is provided, the `titleText` argument will be ignored. @@ -122,11 +122,11 @@ If you are using Nunjucks,then macros take the following arguments descriptionText (or) descriptionHtml -string +string -No +No -Optional text or HTML description of the errors. If `descriptionhtml` is provided, the `descriptionText` argument will be ignored. +Optional text or HTML description of the errors. If `descriptionhtml` is provided, the `descriptionText` argument will be ignored. @@ -134,11 +134,11 @@ If you are using Nunjucks,then macros take the following arguments errorList -object +object -Yes +Yes -Contains an array of error link items and all their available arguments. +Contains an array of error link items and all their available arguments. @@ -146,11 +146,11 @@ If you are using Nunjucks,then macros take the following arguments errorList.{}.href -string +string -No +No -Href attribute for the error link item. If provided item will be an anchor. +Href attribute for the error link item. If provided item will be an anchor. @@ -158,11 +158,11 @@ If you are using Nunjucks,then macros take the following arguments errorList.{}.text (or) errorList.{}.html -string +string -Yes +Yes -Text or HTML for the error link item. If `html` is provided, the `text` argument will be ignored. +Text or HTML for the error link item. If `html` is provided, the `text` argument will be ignored. @@ -170,11 +170,11 @@ If you are using Nunjucks,then macros take the following arguments errorList.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the error link anchor. +Any extra HTML attributes (for example data attributes) to add to the error link anchor. @@ -182,11 +182,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the error-summary container. +Optional additional classes to add to the error-summary container. @@ -194,11 +194,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the error-summary container. +Any extra HTML attributes (for example data attributes) to add to the error-summary container. diff --git a/package/components/fieldset/README.md b/package/components/fieldset/README.md index 8d6fa177e2..f2133dafbb 100644 --- a/package/components/fieldset/README.md +++ b/package/components/fieldset/README.md @@ -108,11 +108,11 @@ If you are using Nunjucks,then macros take the following arguments describedBy -string +string -No +No -Text or element id to add to the `aria-describedby` attribute to provide description of the group of fields for screenreader users. +Text or element id to add to the `aria-describedby` attribute to provide description of the group of fields for screenreader users. @@ -120,11 +120,11 @@ If you are using Nunjucks,then macros take the following arguments legend -object +object -No +No -Arguments for the legend +Arguments for the legend @@ -132,11 +132,11 @@ If you are using Nunjucks,then macros take the following arguments legend.{}.text (or) legend.{}.html -string +string -No +No -Legend text or HTML. If `html` is provided, the `text` argument will be ignored. +Legend text or HTML. If `html` is provided, the `text` argument will be ignored. @@ -144,11 +144,11 @@ If you are using Nunjucks,then macros take the following arguments legend.{}.classes -string +string -No +No -Optional additional classes to add to the legend container. +Optional additional classes to add to the legend container. @@ -156,11 +156,11 @@ If you are using Nunjucks,then macros take the following arguments legend.{}.isPageHeading -boolean +boolean -No +No -Whether the legend also acts as the heading for the page. +Whether the legend also acts as the heading for the page. @@ -168,11 +168,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the fieldset container. +Optional additional classes to add to the fieldset container. @@ -180,11 +180,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the fieldset container. +Any extra HTML attributes (for example data attributes) to add to the fieldset container. diff --git a/package/components/file-upload/README.md b/package/components/file-upload/README.md index 2c245cfce4..08d6f39fd1 100644 --- a/package/components/file-upload/README.md +++ b/package/components/file-upload/README.md @@ -215,11 +215,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -The name of the input, which is submitted with the form data. +The name of the input, which is submitted with the form data. @@ -227,11 +227,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -Yes +Yes -The id of the input +The id of the input @@ -239,11 +239,11 @@ If you are using Nunjucks,then macros take the following arguments value -string +string -No +No -Optional initial value of the input +Optional initial value of the input @@ -251,11 +251,11 @@ If you are using Nunjucks,then macros take the following arguments label -object +object -Yes +Yes -Arguments for the label component. See label component. +Arguments for the label component. See label component. @@ -263,11 +263,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Arguments for the hint component (e.g. text). See hint component. +Arguments for the hint component (e.g. text). See hint component. @@ -275,11 +275,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Arguments for the errorMessage component (e.g. text). See errorMessage component. +Arguments for the errorMessage component (e.g. text). See errorMessage component. @@ -287,11 +287,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the input tag. +Optional additional classes to add to the input tag. @@ -299,11 +299,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example accept or data attributes) to add to the input tag. +Any extra HTML attributes (for example accept or data attributes) to add to the input tag. diff --git a/package/components/footer/README.md b/package/components/footer/README.md index 924c8d49c5..f14f67315c 100644 --- a/package/components/footer/README.md +++ b/package/components/footer/README.md @@ -107,11 +107,11 @@ If you are using Nunjucks,then macros take the following arguments meta -object +object -No +No -Object containing parameters for the meta navigation. +Object containing parameters for the meta navigation. @@ -119,11 +119,11 @@ If you are using Nunjucks,then macros take the following arguments meta.text -string +string -No +No -Text to add to the meta section of the footer, which will appear below any links specified using meta.items. If meta.html is specified, this option is ignored. +Text to add to the meta section of the footer, which will appear below any links specified using meta.items. If meta.html is specified, this option is ignored. @@ -131,11 +131,11 @@ If you are using Nunjucks,then macros take the following arguments meta.html -string +string -No +No -HTML to add to the meta section of the footer, which will appear below any links specified using meta.items. If you do not need to use HTML, use meta.text instead. +HTML to add to the meta section of the footer, which will appear below any links specified using meta.items. If you do not need to use HTML, use meta.text instead. @@ -143,11 +143,11 @@ If you are using Nunjucks,then macros take the following arguments meta.items -array +array -No +No -Array of items for use in the meta section of the footer. +Array of items for use in the meta section of the footer. @@ -155,11 +155,11 @@ If you are using Nunjucks,then macros take the following arguments meta.items.{}.text -string +string -No +No -List item text in the meta section of the footer. +List item text in the meta section of the footer. @@ -167,11 +167,11 @@ If you are using Nunjucks,then macros take the following arguments meta.items.{}.href -string +string -No +No -List item href attribute in the meta section of the footer. +List item href attribute in the meta section of the footer. @@ -179,11 +179,11 @@ If you are using Nunjucks,then macros take the following arguments meta.items.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the anchor in the footer meta section. +Any extra HTML attributes (for example data attributes) to add to the anchor in the footer meta section. @@ -191,11 +191,11 @@ If you are using Nunjucks,then macros take the following arguments navigation -array +array -No +No -Array of items for use in the navigation section of the footer. +Array of items for use in the navigation section of the footer. @@ -203,11 +203,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.{}.title -string +string -No +No -Title for a section +Title for a section @@ -215,11 +215,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.{}.columns -integer +integer -No +No -Amount of columns to display items in navigation section of the footer. +Amount of columns to display items in navigation section of the footer. @@ -227,11 +227,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.items -array +array -No +No -Array of items to display in the list in navigation section of the footer. +Array of items to display in the list in navigation section of the footer. @@ -239,11 +239,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.items.{}.text -string +string -No +No -List item text in the navigation section of the footer. +List item text in the navigation section of the footer. @@ -251,11 +251,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.items.{}.href -string +string -No +No -List item href attribute in the navigation section of the footer. Both `text` and `href` attributes need to be present to create a link. +List item href attribute in the navigation section of the footer. Both `text` and `href` attributes need to be present to create a link. @@ -263,11 +263,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.items.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the anchor in the footer navigation section. +Any extra HTML attributes (for example data attributes) to add to the anchor in the footer navigation section. @@ -275,11 +275,11 @@ If you are using Nunjucks,then macros take the following arguments containerClasses -string +string -No +No -Classes that can be added to the inner container, useful if you want to make the footer full width. +Classes that can be added to the inner container, useful if you want to make the footer full width. @@ -287,11 +287,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the footer component container. +Optional additional classes to add to the footer component container. @@ -299,11 +299,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the footer component container. +Any extra HTML attributes (for example data attributes) to add to the footer component container. diff --git a/package/components/header/README.md b/package/components/header/README.md index 9745f28c39..59d3399e25 100644 --- a/package/components/header/README.md +++ b/package/components/header/README.md @@ -367,11 +367,11 @@ If you are using Nunjucks,then macros take the following arguments homepageUrl -string +string -No +No -The url of the homepage. Defaults to / +The url of the homepage. Defaults to / @@ -379,11 +379,11 @@ If you are using Nunjucks,then macros take the following arguments assetsPath -string +string -No +No -The public path for the assets folder. If not provided it defaults to /assets/images +The public path for the assets folder. If not provided it defaults to /assets/images @@ -391,11 +391,11 @@ If you are using Nunjucks,then macros take the following arguments productName -string +string -No +No -Header title that is placed next to GOV.UK. Used for product names (i.e. Pay, Verify) +Header title that is placed next to GOV.UK. Used for product names (i.e. Pay, Verify) @@ -403,11 +403,11 @@ If you are using Nunjucks,then macros take the following arguments serviceName -string +string -No +No -Header title that is placed next to GOV.UK. Used for product names (i.e. Pay, Verify) +Header title that is placed next to GOV.UK. Used for product names (i.e. Pay, Verify) @@ -415,11 +415,11 @@ If you are using Nunjucks,then macros take the following arguments serviceUrl -string +string -No +No -Url for the service name anchor. +Url for the service name anchor. @@ -427,11 +427,11 @@ If you are using Nunjucks,then macros take the following arguments navigation -array +array -No +No -An array of navigation item objects. +An array of navigation item objects. @@ -439,11 +439,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.{}.text -string +string -No +No -Text of the navigation item. +Text of the navigation item. @@ -451,11 +451,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.{}.href -string +string -No +No -Url of the navigation item anchor. Both `href` and `text` attributes for navigation items need to be provided to create an item. +Url of the navigation item anchor. Both `href` and `text` attributes for navigation items need to be provided to create an item. @@ -463,11 +463,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.{}.active -boolean +boolean -No +No -Flag to mark the navigation item as active or not. +Flag to mark the navigation item as active or not. @@ -475,11 +475,11 @@ If you are using Nunjucks,then macros take the following arguments navigation.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the navigation item anchor. +Any extra HTML attributes (for example data attributes) to add to the navigation item anchor. @@ -487,11 +487,11 @@ If you are using Nunjucks,then macros take the following arguments navigationClasses -string +string -No +No -Optional classes that can be added to the navigation section of the header. +Optional classes that can be added to the navigation section of the header. @@ -499,11 +499,11 @@ If you are using Nunjucks,then macros take the following arguments containerClasses -string +string -No +No -Optional classes that can be added to the container, useful if you want to make the header fixed width. +Optional classes that can be added to the container, useful if you want to make the header fixed width. @@ -511,11 +511,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the header container. +Optional additional classes to add to the header container. @@ -523,11 +523,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the header container. +Any extra HTML attributes (for example data attributes) to add to the header container. diff --git a/package/components/header/_header.scss b/package/components/header/_header.scss index 751e21c70b..1fff41de08 100644 --- a/package/components/header/_header.scss +++ b/package/components/header/_header.scss @@ -60,6 +60,8 @@ .govuk-header__product-name { @include govuk-font($size: 24); + display: inline-table; + padding-right: govuk-spacing(2); } .govuk-header__link { diff --git a/package/components/hint/README.md b/package/components/hint/README.md index 1d601a474a..c316d70813 100644 --- a/package/components/hint/README.md +++ b/package/components/hint/README.md @@ -92,11 +92,11 @@ If you are using Nunjucks,then macros take the following arguments text or (html) html -string +string -Yes +Yes -Text or HTML to use within the hint. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the hint. If `html` is provided, the `text` argument will be ignored. @@ -104,11 +104,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -Yes +Yes -Optional id attribute o add to the hint span tag. +Optional id attribute o add to the hint span tag. @@ -116,11 +116,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the hint span tag. +Optional additional classes to add to the hint span tag. @@ -128,11 +128,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the hint span tag. +Any extra HTML attributes (for example data attributes) to add to the hint span tag. diff --git a/package/components/input/README.md b/package/components/input/README.md index 7bbeb5ddab..b7269d0127 100644 --- a/package/components/input/README.md +++ b/package/components/input/README.md @@ -423,11 +423,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -Yes +Yes -The id of the input. +The id of the input. @@ -435,11 +435,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -The name of the input, which is submitted with the form data. +The name of the input, which is submitted with the form data. @@ -447,11 +447,11 @@ If you are using Nunjucks,then macros take the following arguments type -string +string -No +No -Type of input control to render. Defaults to "text". +Type of input control to render. Defaults to "text". @@ -459,11 +459,11 @@ If you are using Nunjucks,then macros take the following arguments value -string +string -No +No -Optional initial value of the input. +Optional initial value of the input. @@ -471,11 +471,11 @@ If you are using Nunjucks,then macros take the following arguments label -object +object -No +No -Arguments for the label component. See label component. +Arguments for the label component. See label component. @@ -483,11 +483,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Arguments for the hint component (e.g. text). See hint component. +Arguments for the hint component (e.g. text). See hint component. @@ -495,11 +495,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Arguments for the errorMessage component (e.g. text). See errorMessage component. +Arguments for the errorMessage component (e.g. text). See errorMessage component. @@ -507,11 +507,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes add to the input component. +Optional additional classes add to the input component. @@ -519,11 +519,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the input component. +Any extra HTML attributes (for example data attributes) to add to the input component. diff --git a/package/components/inset-text/README.md b/package/components/inset-text/README.md index 5e617b0cc6..3674f75c19 100644 --- a/package/components/inset-text/README.md +++ b/package/components/inset-text/README.md @@ -88,11 +88,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -Text or HTML to use within the inset text. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the inset text. If `html` is provided, the `text` argument will be ignored. @@ -100,11 +100,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -No +No -Optional id attribute to add to the inset text container. +Optional id attribute to add to the inset text container. @@ -112,11 +112,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the inset text container. +Optional additional classes to add to the inset text container. @@ -124,11 +124,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the inset text container. +Any extra HTML attributes (for example data attributes) to add to the inset text container. diff --git a/package/components/label/README.md b/package/components/label/README.md index 0c15554e57..38ad8977d7 100644 --- a/package/components/label/README.md +++ b/package/components/label/README.md @@ -112,11 +112,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -Text or HTML to use within the label. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the label. If `html` is provided, the `text` argument will be ignored. @@ -124,11 +124,11 @@ If you are using Nunjucks,then macros take the following arguments for -string +string -Yes +Yes -The value of the for attribute, the id of the input the label is associated with. +The value of the for attribute, the id of the input the label is associated with. @@ -136,11 +136,11 @@ If you are using Nunjucks,then macros take the following arguments isPageHeading -boolean +boolean -No +No -Whether the label also acts as the heading for the page. +Whether the label also acts as the heading for the page. @@ -148,11 +148,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the label tag. +Optional additional classes to add to the label tag. @@ -160,11 +160,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the label tag. +Any extra HTML attributes (for example data attributes) to add to the label tag. diff --git a/package/components/panel/README.md b/package/components/panel/README.md index de2b155e18..03ed82c7e9 100644 --- a/package/components/panel/README.md +++ b/package/components/panel/README.md @@ -109,11 +109,11 @@ If you are using Nunjucks,then macros take the following arguments titleText (or) titleHtml -string +string -Yes +Yes -Text or HTML for the panel title. If `titleHtml` is provided, the `titleText` argument is ignored. +Text or HTML for the panel title. If `titleHtml` is provided, the `titleText` argument is ignored. @@ -121,11 +121,11 @@ If you are using Nunjucks,then macros take the following arguments headingLevel -number +number -no +no -Optional heading level, from 1 to 6\. Default is 2. +Optional heading level, from 1 to 6\. Default is 2. @@ -133,11 +133,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -No +No -Text or HTML for the panel content. If `html` is provided, the `text` argument is ignored. +Text or HTML for the panel content. If `html` is provided, the `text` argument is ignored. @@ -145,11 +145,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the panel container. +Optional additional classes to add to the panel container. @@ -157,11 +157,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the panel container. +Any extra HTML attributes (for example data attributes) to add to the panel container. diff --git a/package/components/phase-banner/README.md b/package/components/phase-banner/README.md index 20d24a45e7..809814d028 100644 --- a/package/components/phase-banner/README.md +++ b/package/components/phase-banner/README.md @@ -83,11 +83,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -HTML to use for the phase-banner message. If `html` is provided, the `text` argument will be ignored. +HTML to use for the phase-banner message. If `html` is provided, the `text` argument will be ignored. @@ -95,11 +95,11 @@ If you are using Nunjucks,then macros take the following arguments tag -object +object -No +No -Arguments for the tag object. See tag component. +Arguments for the tag object. See tag component. @@ -107,11 +107,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the phase banner container. +Optional additional classes to add to the phase banner container. @@ -119,11 +119,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the phase banner container. +Any extra HTML attributes (for example data attributes) to add to the phase banner container. diff --git a/package/components/radios/README.md b/package/components/radios/README.md index b8b483f7c6..cc26f8dbf9 100644 --- a/package/components/radios/README.md +++ b/package/components/radios/README.md @@ -681,11 +681,11 @@ If you are using Nunjucks,then macros take the following arguments fieldset -object +object -No +No -Arguments for the fieldset component (e.g. legend). See fieldset component. +Arguments for the fieldset component (e.g. legend). See fieldset component. @@ -693,11 +693,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Arguments for the hint component (e.g. text). See hint component. +Arguments for the hint component (e.g. text). See hint component. @@ -705,11 +705,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Arguments for the errorMessage component (e.g. text). See errorMessage component. +Arguments for the errorMessage component (e.g. text). See errorMessage component. @@ -717,11 +717,11 @@ If you are using Nunjucks,then macros take the following arguments idPrefix -string +string -No +No -String to prefix id for each radio item if no id is specified on each item. If`idPrefix` is not passed, fallback to using the name attribute instead. +String to prefix id for each radio item if no id is specified on each item. If`idPrefix` is not passed, fallback to using the name attribute instead. @@ -729,11 +729,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -Name attribute for each radio item. +Name attribute for each radio item. @@ -741,11 +741,11 @@ If you are using Nunjucks,then macros take the following arguments items -array +array -Yes +Yes -Array of checkbox items objects. +Array of checkbox items objects. @@ -753,11 +753,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.text (or) items.{}.html -string +string -Yes +Yes -Text or HTML to use within each radio item label. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within each radio item label. If `html` is provided, the `text` argument will be ignored. @@ -765,11 +765,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.id -string +string -No +No -Specific id attribute for the radio item. If ommited, then `idPrefix` string will be applied. +Specific id attribute for the radio item. If ommited, then `idPrefix` string will be applied. @@ -777,11 +777,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.name -string +string -Yes +Yes -Specific name for the radio item. If ommited, then component global `name` string will be applied. +Specific name for the radio item. If ommited, then component global `name` string will be applied. @@ -789,11 +789,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.value -string +string -Yes +Yes -Value for the radio input. +Value for the radio input. @@ -801,11 +801,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.label -object +object -No +No -Provide additional attributes and classes to each radio item label. See [label](../label/README.md#component-arguments) component for more details. +Provide additional attributes and classes to each radio item label. See [label](../label/README.md#component-arguments) component for more details. @@ -813,11 +813,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.hint -object +object -No +No -Provide optional hint to each radio item. See `hint` component for more details. +Provide optional hint to each radio item. See `hint` component for more details. @@ -825,11 +825,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.divider -string +string -No +No -Optional divider text to separate radio items, for example the text "or". +Optional divider text to separate radio items, for example the text "or". @@ -837,11 +837,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.checked -boolean +boolean -No +No -If true, radio will be checked. +If true, radio will be checked. @@ -849,11 +849,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.conditional -boolean +boolean -No +No -If true, content provided will be revealed when the item is checked. +If true, content provided will be revealed when the item is checked. @@ -861,11 +861,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.conditional.html -boolean +boolean -No +No -Provide content for the conditional reveal. +Provide content for the conditional reveal. @@ -873,11 +873,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.disabled -boolean +boolean -No +No -If true, radio will be disabled. +If true, radio will be disabled. @@ -885,11 +885,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the radio input tag. +Any extra HTML attributes (for example data attributes) to add to the radio input tag. @@ -897,11 +897,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the radios container. +Optional additional classes to add to the radios container. @@ -909,11 +909,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the radios container. +Any extra HTML attributes (for example data attributes) to add to the radios container. diff --git a/package/components/radios/_radios.scss b/package/components/radios/_radios.scss index feaf51c5a0..ca8f03e867 100644 --- a/package/components/radios/_radios.scss +++ b/package/components/radios/_radios.scss @@ -156,6 +156,7 @@ .govuk-radios__divider { $govuk-divider-size: $govuk-radios-size !default; @include govuk-font($size: 19); + @include govuk-text-colour; width: $govuk-divider-size; margin-bottom: govuk-spacing(2); text-align: center; diff --git a/package/components/select/README.md b/package/components/select/README.md index 40e33734da..63f44b6a7c 100644 --- a/package/components/select/README.md +++ b/package/components/select/README.md @@ -273,11 +273,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -Yes +Yes -Id for each select box +Id for each select box @@ -285,11 +285,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -Name property for the select. +Name property for the select. @@ -297,11 +297,11 @@ If you are using Nunjucks,then macros take the following arguments items -array +array -Yes +Yes -Array of option items for the select. +Array of option items for the select. @@ -309,11 +309,11 @@ If you are using Nunjucks,then macros take the following arguments item.value -string +string -No +No -Value for the option item. +Value for the option item. @@ -321,11 +321,11 @@ If you are using Nunjucks,then macros take the following arguments item.text -string +string -Yes +Yes -Text for the option item. +Text for the option item. @@ -333,11 +333,11 @@ If you are using Nunjucks,then macros take the following arguments item.selected -boolean +boolean -No +No -Sets the option as the selected. +Sets the option as the selected. @@ -345,11 +345,11 @@ If you are using Nunjucks,then macros take the following arguments item.disabled -boolean +boolean -No +No -Sets the option item as disabled. +Sets the option item as disabled. @@ -357,11 +357,11 @@ If you are using Nunjucks,then macros take the following arguments item.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to the select option tag. +Any extra HTML attributes (for example data attributes) to the select option tag. @@ -369,11 +369,11 @@ If you are using Nunjucks,then macros take the following arguments label -object +object -No +No -Optional label text or HTML by specifying value for either text or html keys. See label component. +Optional label text or HTML by specifying value for either text or html keys. See label component. @@ -381,11 +381,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Arguments for the hint component (e.g. text). See hint component. +Arguments for the hint component (e.g. text). See hint component. @@ -393,11 +393,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Arguments for the errorMessage component (e.g. text). See errorMessage component. +Arguments for the errorMessage component (e.g. text). See errorMessage component. @@ -405,11 +405,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the select component. +Optional additional classes to add to the select component. @@ -417,11 +417,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the select component. +Any extra HTML attributes (for example data attributes) to add to the select component. diff --git a/package/components/select/_select.scss b/package/components/select/_select.scss index 0f4c285297..acca14d67f 100644 --- a/package/components/select/_select.scss +++ b/package/components/select/_select.scss @@ -12,8 +12,8 @@ @include govuk-focusable; box-sizing: border-box; // should this be global? + max-width: 100%; height: 40px; - padding: govuk-spacing(1); // was 5px 4px 4px - size of it should be adjusted to match other form elements border: $govuk-border-width-form-element solid $govuk-input-border-colour; } diff --git a/package/components/skip-link/README.md b/package/components/skip-link/README.md index d99fc2c313..ce8382143f 100644 --- a/package/components/skip-link/README.md +++ b/package/components/skip-link/README.md @@ -73,11 +73,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -No +No -Text or HTML to use within the skip link. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within the skip link. If `html` is provided, the `text` argument will be ignored. @@ -85,11 +85,11 @@ If you are using Nunjucks,then macros take the following arguments href -string +string -Yes +Yes -The value of the skip link href attribute. Defaults to #content +The value of the skip link href attribute. Defaults to #content @@ -97,11 +97,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the skip link. +Optional additional classes to add to the skip link. @@ -109,11 +109,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the skip link. +Any extra HTML attributes (for example data attributes) to add to the skip link. diff --git a/package/components/table/README.md b/package/components/table/README.md index 25eacd0b41..fbf204ea17 100644 --- a/package/components/table/README.md +++ b/package/components/table/README.md @@ -384,11 +384,11 @@ If you are using Nunjucks,then macros take the following arguments rows -array +array -Yes +Yes -Array of table rows and cells. +Array of table rows and cells. @@ -396,11 +396,11 @@ If you are using Nunjucks,then macros take the following arguments rows.[].text (or) rows.[].html -string +string -Yes +Yes -Text or HTML for cells in table rows. If `html` is specified, the `text` argument will be ignored. +Text or HTML for cells in table rows. If `html` is specified, the `text` argument will be ignored. @@ -408,11 +408,11 @@ If you are using Nunjucks,then macros take the following arguments rows.[].format -string +string -No +No -Specify format of a cell. Currently we only use "numeric". +Specify format of a cell. Currently we only use "numeric". @@ -420,11 +420,11 @@ If you are using Nunjucks,then macros take the following arguments rows.[].colspan -number +number -No +No -Specify how many columns a cell extends. +Specify how many columns a cell extends. @@ -432,11 +432,11 @@ If you are using Nunjucks,then macros take the following arguments rows.[].rowspan -number +number -No +No -Specify how many rows a cell extends. +Specify how many rows a cell extends. @@ -444,11 +444,11 @@ If you are using Nunjucks,then macros take the following arguments head -array +array -No +No -Optional array of table head cells. +Optional array of table head cells. @@ -456,11 +456,11 @@ If you are using Nunjucks,then macros take the following arguments head.[].text or head.[].html -array +array -No +No -Optional array of table head cells. If `html` is specified, the `text` argument will be ignored. +Optional array of table head cells. If `html` is specified, the `text` argument will be ignored. @@ -468,11 +468,11 @@ If you are using Nunjucks,then macros take the following arguments head.[].colspan -number +number -No +No -Specify how many columns a cell extends. +Specify how many columns a cell extends. @@ -480,11 +480,11 @@ If you are using Nunjucks,then macros take the following arguments head.[].rowspan -number +number -No +No -Specify how many rows a cell extends. +Specify how many rows a cell extends. @@ -492,11 +492,11 @@ If you are using Nunjucks,then macros take the following arguments head.[].format -string +string -No +No -Specify format of a cell. Currently we only use "numeric". +Specify format of a cell. Currently we only use "numeric". @@ -504,11 +504,11 @@ If you are using Nunjucks,then macros take the following arguments caption -string +string -No +No -Optional caption text. +Optional caption text. @@ -516,11 +516,11 @@ If you are using Nunjucks,then macros take the following arguments captionClasses -string +string -No +No -Optional classes for caption text size. Class should correspond to the available typography heading classes. +Optional classes for caption text size. Class should correspond to the available typography heading classes. @@ -528,11 +528,11 @@ If you are using Nunjucks,then macros take the following arguments firstCellIsHeader -boolean +boolean -No +No -If set to true, first cell in table row will be a TH instead of a TD. +If set to true, first cell in table row will be a TH instead of a TD. @@ -540,11 +540,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the table container. +Optional additional classes to add to the table container. @@ -552,11 +552,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the table container. +Any extra HTML attributes (for example data attributes) to add to the table container. diff --git a/package/components/table/macro-options.json b/package/components/table/macro-options.json index 8faee421a1..fd3b227081 100644 --- a/package/components/table/macro-options.json +++ b/package/components/table/macro-options.json @@ -23,6 +23,12 @@ "required": false, "description": "Specify format of a cell. Currently we only use \"numeric\"." }, + { + "name": "classes", + "type": "string", + "required": false, + "description": "Classes to add to the table row cell." + }, { "name": "colspan", "type": "integer", @@ -61,6 +67,12 @@ "required": false, "description": "Specify format of a cell. Currently we only use \"numeric\"." }, + { + "name": "classes", + "type": "string", + "required": false, + "description": "Classes to add to the table head cell." + }, { "name": "colspan", "type": "integer", diff --git a/package/components/table/template.njk b/package/components/table/template.njk index 626ba35a81..727c49cdb0 100644 --- a/package/components/table/template.njk +++ b/package/components/table/template.njk @@ -9,7 +9,8 @@ {% for item in params.head %} {{ item.html |safe if item.html else item.text }} {% endfor %} @@ -24,11 +25,14 @@ {{ cell.html | safe if cell.html else cell.text }} {% elseif loop.first %} {{ cell.html | safe if cell.html else cell.text }} {% else %} - {{ cell.html | safe if cell.html else cell.text }} {% endif %} diff --git a/package/components/tabs/README.md b/package/components/tabs/README.md index c7b0c16238..974974e21a 100644 --- a/package/components/tabs/README.md +++ b/package/components/tabs/README.md @@ -258,11 +258,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -No +No -Optional id +Optional id @@ -270,11 +270,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes +Optional additional classes @@ -282,11 +282,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the tabs container +Any extra HTML attributes (for example data attributes) to add to the tabs container @@ -294,11 +294,11 @@ If you are using Nunjucks,then macros take the following arguments idPrefix -string +string -No +No -String to prefix id for each tab item if no id is specified on each item +String to prefix id for each tab item if no id is specified on each item @@ -306,11 +306,11 @@ If you are using Nunjucks,then macros take the following arguments items -array +array -Yes +Yes -Array of tab items +Array of tab items @@ -318,11 +318,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.id -string +string -Yes +Yes -Specific id attribute for the tab item. If ommited, then `idPrefix` string will be applied. +Specific id attribute for the tab item. If ommited, then `idPrefix` string will be applied. @@ -330,11 +330,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.label -string +string -Yes +Yes -The text label of a tab item +The text label of a tab item @@ -342,11 +342,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the tab item anchor. +Any extra HTML attributes (for example data attributes) to add to the tab item anchor. @@ -354,11 +354,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.panel.text (or) items.{}.panel.html -string +string -No +No -Text or HTML to use within each tab panel. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within each tab panel. If `html` is provided, the `text` argument will be ignored. @@ -366,11 +366,11 @@ If you are using Nunjucks,then macros take the following arguments items.{}.panel.attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the tab panel. +Any extra HTML attributes (for example data attributes) to add to the tab panel. diff --git a/package/components/tag/README.md b/package/components/tag/README.md index bf6f8fab1a..a9dca2dac9 100644 --- a/package/components/tag/README.md +++ b/package/components/tag/README.md @@ -93,11 +93,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -No +No -Text or HTML to use within for the tag component. If `html` is provided, the `text` argument will be ignored. +Text or HTML to use within for the tag component. If `html` is provided, the `text` argument will be ignored. @@ -105,11 +105,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the tag container. +Optional additional classes to add to the tag container. @@ -117,11 +117,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the tag container. +Any extra HTML attributes (for example data attributes) to add to the tag container. diff --git a/package/components/textarea/README.md b/package/components/textarea/README.md index 4dfbdaa5b3..57e311fd32 100644 --- a/package/components/textarea/README.md +++ b/package/components/textarea/README.md @@ -209,11 +209,11 @@ If you are using Nunjucks,then macros take the following arguments id -string +string -Yes +Yes -The id of the textarea +The id of the textarea @@ -221,11 +221,11 @@ If you are using Nunjucks,then macros take the following arguments describedBy -string +string -No +No -Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users. +Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users. @@ -233,11 +233,11 @@ If you are using Nunjucks,then macros take the following arguments name -string +string -Yes +Yes -The name of the textarea, which is submitted with the form data. +The name of the textarea, which is submitted with the form data. @@ -245,11 +245,11 @@ If you are using Nunjucks,then macros take the following arguments rows -string +string -No +No -Optional number of textarea rows (default is 5 rows). +Optional number of textarea rows (default is 5 rows). @@ -257,11 +257,11 @@ If you are using Nunjucks,then macros take the following arguments value -string +string -No +No -Optional initial value of the textarea. +Optional initial value of the textarea. @@ -269,11 +269,11 @@ If you are using Nunjucks,then macros take the following arguments label -object +object -Yes +Yes -Arguments for the label component. See label component. +Arguments for the label component. See label component. @@ -281,11 +281,11 @@ If you are using Nunjucks,then macros take the following arguments hint -object +object -No +No -Arguments for the hint component (e.g. text). See hint component. +Arguments for the hint component (e.g. text). See hint component. @@ -293,11 +293,11 @@ If you are using Nunjucks,then macros take the following arguments errorMessage -object +object -No +No -Arguments for the errorMessage component (e.g. text). See errorMessage component. +Arguments for the errorMessage component (e.g. text). See errorMessage component. @@ -305,11 +305,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the textarea tag. +Optional additional classes to add to the textarea tag. @@ -317,11 +317,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the textarea tag. +Any extra HTML attributes (for example data attributes) to add to the textarea tag. diff --git a/package/components/warning-text/README.md b/package/components/warning-text/README.md index 3e5e9e0e12..0640c36559 100644 --- a/package/components/warning-text/README.md +++ b/package/components/warning-text/README.md @@ -79,11 +79,11 @@ If you are using Nunjucks,then macros take the following arguments text (or) html -string +string -Yes +Yes -Text or HTML for the warning text content. If `html` is provided, the `text` argument is ignored. +Text or HTML for the warning text content. If `html` is provided, the `text` argument is ignored. @@ -91,11 +91,11 @@ If you are using Nunjucks,then macros take the following arguments iconFallbackText -string +string -Yes +Yes -The fallback text for the icon +The fallback text for the icon @@ -103,11 +103,11 @@ If you are using Nunjucks,then macros take the following arguments classes -string +string -No +No -Optional additional classes to add to the warning-text container. +Optional additional classes to add to the warning-text container. @@ -115,11 +115,11 @@ If you are using Nunjucks,then macros take the following arguments attributes -object +object -No +No -Any extra HTML attributes (for example data attributes) to add to the warning-text container. +Any extra HTML attributes (for example data attributes) to add to the warning-text container. diff --git a/package/package.json b/package/package.json index e5c61d7b5d..3bb000fd1c 100644 --- a/package/package.json +++ b/package/package.json @@ -1,7 +1,7 @@ { "name": "govuk-frontend", "description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.", - "version": "2.1.0", + "version": "2.2.0", "main": "all.js", "sass": "all.scss", "engines": {