PluginProbe
NHS Blocks / trunk
NHS Blocks vtrunk
1.4.1 1.4.0 trunk 1.0.0 1.0.1 1.0.4 1.1.0 1.1.1 1.1.3 1.1.4 1.1.4.1 1.1.5 1.1.6 1.1.7 1.1.8 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.10 1.3.11 1.3.12 All 47 releases
nhsblocks / style.css

style.css in NHS Blocks trunk, at style.css

8,332 lines 196.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @charset "UTF-8";
2 /*********************************************************************************************
3 Plugin Name: NHS Blocks
4 Plugin URI: http://www.leadershipacademy.nhs.uk/
5 Author: Tony Blacker, NHS Leadership Academy
6 License: GNU General Public License v3 or later
7 License URI: http://www.gnu.org/licenses/gpl-3.0.html
8 Text Domain: nhsblocks
9 Tags: NHS, NHS Digital, NHS Frontend, National Health Service, Leadership Academy
10 Description: Gutenberg native custom blocks companion plugin for the NHS Nightingale theme (can also be standalone).
11 Version: 1.4.1
12
13 **********************************************************************************************/
14 /* stylelint-disable color-no-hex */
15 /* stylelint-enable color-no-hex */
16 /* stylelint-disable string-quotes, order/properties-alphabetical-order */
17 /* stylelint-disable indentation */
18 /* stylelint-disable color-no-hex */
19 /* ==========================================================================
20 GENERIC / #BOX-SIZING
21 ========================================================================== */
22 /**
23 * Set the global `box-sizing` state to `border-box`.
24 *
25 * https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
26 * http://paulirish.com/2012/box-sizing-border-box-ftw
27 */
28 html {
29 -moz-box-sizing: border-box;
30 -webkit-box-sizing: border-box;
31 box-sizing: border-box;
32 }
33
34 *, *:before, *:after {
35 -moz-box-sizing: inherit;
36 -webkit-box-sizing: inherit;
37 box-sizing: inherit;
38 }
39
40 /* ==========================================================================
41 ELEMENTS / #LINKS
42 ========================================================================== */
43 /**
44 * Our basic `<a>` elements only need very minimal styling.
45 * It uses the @mixin nhsuk-link-style-default within tools/links.
46 * Anything more opinionated (e.g. buttons, calls-to-action, etc.) will need a
47 * class defining in the Components layer.
48 *
49 * 1. Outputs full link URL for print.
50 * 2. Point unit used for print.
51 */
52 a {
53 color: #005eb8;
54 }
55 a:visited {
56 color: #330072;
57 }
58 a:hover {
59 color: #7c2855;
60 text-decoration: none;
61 }
62 a:focus {
63 background-color: #ffeb3b;
64 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
65 color: #212b32;
66 outline: 4px solid transparent;
67 text-decoration: none;
68 }
69 a:focus:hover {
70 text-decoration: none;
71 }
72 a:focus:visited {
73 color: #212b32;
74 }
75 a:focus .nhsuk-icon {
76 fill: #212b32;
77 }
78 a:active {
79 color: #002f5c;
80 }
81 @media print {
82 a:after {
83 color: #212b32;
84 content: " (Link: " attr(href) ")"; /* [1] */
85 font-size: 14pt; /* [2] */
86 }
87 }
88
89 .nhsuk-link--no-visited-state:link {
90 color: #005eb8;
91 }
92 .nhsuk-link--no-visited-state:visited {
93 color: #005eb8;
94 }
95 .nhsuk-link--no-visited-state:hover {
96 color: #7c2855;
97 }
98 .nhsuk-link--no-visited-state:active {
99 color: #002f5c;
100 }
101 .nhsuk-link--no-visited-state:focus {
102 color: #212b32;
103 }
104
105 /* ==========================================================================
106 OBJECTS / #GRID
107 ========================================================================== */
108 .nhsuk-grid-row:after {
109 clear: both;
110 content: "";
111 display: block;
112 }
113 .nhsuk-grid-row {
114 margin-left: -16px;
115 margin-right: -16px;
116 }
117
118 .nhsuk-grid-column-one-quarter {
119 box-sizing: border-box;
120 padding: 0 16px;
121 }
122 @media (min-width: 48.0625em) {
123 .nhsuk-grid-column-one-quarter {
124 float: left;
125 width: 25%;
126 }
127 }
128
129 .nhsuk-grid-column-one-third {
130 box-sizing: border-box;
131 padding: 0 16px;
132 }
133 @media (min-width: 48.0625em) {
134 .nhsuk-grid-column-one-third {
135 float: left;
136 width: 33.3333%;
137 }
138 }
139
140 .nhsuk-grid-column-one-half {
141 box-sizing: border-box;
142 padding: 0 16px;
143 }
144 @media (min-width: 48.0625em) {
145 .nhsuk-grid-column-one-half {
146 float: left;
147 width: 50%;
148 }
149 }
150
151 .nhsuk-grid-column-two-thirds {
152 box-sizing: border-box;
153 padding: 0 16px;
154 }
155 @media (min-width: 48.0625em) {
156 .nhsuk-grid-column-two-thirds {
157 float: left;
158 width: 66.6666%;
159 }
160 }
161
162 .nhsuk-grid-column-three-quarters {
163 box-sizing: border-box;
164 padding: 0 16px;
165 }
166 @media (min-width: 48.0625em) {
167 .nhsuk-grid-column-three-quarters {
168 float: left;
169 width: 75%;
170 }
171 }
172
173 .nhsuk-grid-column-full {
174 box-sizing: border-box;
175 padding: 0 16px;
176 }
177 @media (min-width: 48.0625em) {
178 .nhsuk-grid-column-full {
179 float: left;
180 width: 100%;
181 }
182 }
183
184 /* ==========================================================================
185 OBJECTS / #MAIN-WRAPPER
186 ========================================================================== */
187 /**
188 * Page wrapper for the grid system
189 *
190 * Usage:
191 * <div class="nhsuk-width-container">
192 * <div class="nhsuk-main-wrapper">
193 * <!-- Wrapper for the main content of your page which applies padding
194 * to the top / bottom -->
195 * </div>
196 * </div>
197 *
198 * Original code taken from GDS (Government Digital Service)
199 * https://github.com/alphagov/govuk-frontend
200 *
201 * 1. In IE11 the `main` element can be used, but is not recognized –
202 * meaning it's not defined in IE's default style sheet,
203 * so it uses CSS initial value, which is inline.
204 */
205 .nhsuk-main-wrapper {
206 padding-top: 40px;
207 }
208 @media (min-width: 40.0625em) {
209 .nhsuk-main-wrapper {
210 padding-top: 48px;
211 }
212 }
213 .nhsuk-main-wrapper {
214 padding-bottom: 40px;
215 }
216 @media (min-width: 40.0625em) {
217 .nhsuk-main-wrapper {
218 padding-bottom: 48px;
219 }
220 }
221 .nhsuk-main-wrapper > *:first-child {
222 margin-top: 0;
223 }
224 .nhsuk-main-wrapper > *:last-child {
225 margin-bottom: 0;
226 }
227 .nhsuk-main-wrapper {
228 display: block; /* [1] */
229 }
230
231 .nhsuk-main-wrapper--l {
232 padding-top: 48px;
233 }
234 @media (min-width: 40.0625em) {
235 .nhsuk-main-wrapper--l {
236 padding-top: 56px;
237 }
238 }
239
240 .nhsuk-main-wrapper--s {
241 padding-bottom: 24px;
242 }
243 @media (min-width: 40.0625em) {
244 .nhsuk-main-wrapper--s {
245 padding-bottom: 32px;
246 }
247 }
248 .nhsuk-main-wrapper--s {
249 padding-top: 24px;
250 }
251 @media (min-width: 40.0625em) {
252 .nhsuk-main-wrapper--s {
253 padding-top: 32px;
254 }
255 }
256
257 /* ==========================================================================
258 OBJECTS / #WIDTH-CONTAINER
259 ========================================================================== */
260 /**
261 * Page width for the grid system
262 *
263 * Original code taken from GDS (Government Digital Service)
264 * https://github.com/alphagov/govuk-frontend
265 *
266 * 1. On mobile, add half width gutters
267 * 2. Limit the width of the container to the page width
268 * 3. From desktop, add full width gutters
269 * 4. As soon as the viewport is greater than the width of the page plus the
270 * gutters, just centre the content instead of adding gutters.
271 * 5. Full width container, spanning the entire width of the viewport
272 */
273 .nhsuk-width-container {
274 margin: 0 16px; /* [1] */
275 max-width: 960px; /* [2] */
276 }
277 @media (min-width: 48.0625em) {
278 .nhsuk-width-container {
279 margin: 0 32px; /* [3] */
280 }
281 }
282 .nhsuk-width-container {
283 /* [4] */
284 }
285 @media (min-width: 1024px) {
286 .nhsuk-width-container {
287 margin: 0 auto;
288 }
289 }
290
291 .nhsuk-width-container-fluid {
292 margin: 0 16px;
293 max-width: 100%; /* [5] */
294 }
295 @media (min-width: 48.0625em) {
296 .nhsuk-width-container-fluid {
297 margin: 0 32px; /* [3] */
298 }
299 }
300
301 /* ==========================================================================
302 STYLES / #ICONS
303 ========================================================================== */
304 .nhsuk-icon {
305 height: 34px;
306 width: 34px;
307 }
308
309 .nhsuk-icon__search {
310 fill: #005eb8;
311 }
312
313 .nhsuk-icon__chevron-left {
314 fill: #005eb8;
315 }
316
317 .nhsuk-icon__chevron-right {
318 fill: #005eb8;
319 }
320
321 .nhsuk-icon__close {
322 fill: #005eb8;
323 }
324
325 .nhsuk-icon__cross {
326 fill: #d5281b;
327 }
328
329 .nhsuk-icon__tick {
330 stroke: #007f3b;
331 }
332
333 .nhsuk-icon__arrow-right {
334 fill: #005eb8;
335 }
336
337 .nhsuk-icon__arrow-left {
338 fill: #005eb8;
339 }
340
341 .nhsuk-icon__arrow-right-circle {
342 fill: #007f3b;
343 }
344
345 .nhsuk-icon__chevron-down {
346 fill: #ffffff;
347 height: 24px;
348 position: absolute;
349 right: 4px;
350 transform: rotate(90deg);
351 width: 24px;
352 }
353
354 .nhsuk-icon__chevron-up {
355 fill: #005eb8;
356 }
357 .nhsuk-icon__chevron-up path {
358 fill: #ffffff;
359 }
360
361 .nhsuk-icon__emdash path {
362 fill: #aeb7bd;
363 }
364
365 .nhsuk-icon__plus {
366 fill: #005eb8;
367 }
368
369 .nhsuk-icon__minus {
370 fill: #005eb8;
371 }
372
373 .nhsuk-icon--size-25 {
374 height: 42.5px;
375 width: 42.5px;
376 }
377
378 .nhsuk-icon--size-50 {
379 height: 51px;
380 width: 51px;
381 }
382
383 .nhsuk-icon--size-75 {
384 height: 59.5px;
385 width: 59.5px;
386 }
387
388 .nhsuk-icon--size-100 {
389 height: 68px;
390 width: 68px;
391 }
392
393 /* ==========================================================================
394 STYLES / #LISTS
395 ========================================================================== */
396 /**
397 * 1. 'Random number' used to align ul and ol left with content.
398 * 2. 'Random number' used to give sufficient spacing between text and icon.
399 * 3. 'Random number' used to align icon and text.
400 */
401 ol, ul, .nhsuk-list {
402 font-size: 16px;
403 font-size: 1rem;
404 line-height: 1.5;
405 }
406 @media (min-width: 40.0625em) {
407 ol, ul, .nhsuk-list {
408 font-size: 19px;
409 font-size: 1.1875rem;
410 line-height: 1.47368;
411 }
412 }
413 @media print {
414 ol, ul, .nhsuk-list {
415 font-size: 14pt;
416 line-height: 1.15;
417 }
418 }
419 ol, ul, .nhsuk-list {
420 margin-bottom: 16px;
421 }
422 @media (min-width: 40.0625em) {
423 ol, ul, .nhsuk-list {
424 margin-bottom: 24px;
425 }
426 }
427 ol, ul, .nhsuk-list {
428 list-style-type: none;
429 margin-top: 0;
430 padding-left: 0;
431 }
432 ol ol, ul ol, ol ul, ul ul, .nhsuk-list ol, .nhsuk-list ul, ol .nhsuk-list, ul .nhsuk-list, .nhsuk-list .nhsuk-list {
433 margin-top: 8px;
434 }
435 @media (min-width: 40.0625em) {
436 ol ol, ul ol, ol ul, ul ul, .nhsuk-list ol, .nhsuk-list ul, ol .nhsuk-list, ul .nhsuk-list, .nhsuk-list .nhsuk-list {
437 margin-top: 8px;
438 }
439 }
440 ol ol, ul ol, ol ul, ul ul, .nhsuk-list ol, .nhsuk-list ul, ol .nhsuk-list, ul .nhsuk-list, .nhsuk-list .nhsuk-list {
441 margin-bottom: 0;
442 }
443
444 ol > li, ul > li, .nhsuk-list > li {
445 margin-bottom: 8px;
446 }
447 @media (min-width: 40.0625em) {
448 ol > li, ul > li, .nhsuk-list > li {
449 margin-bottom: 8px;
450 }
451 }
452 ol > li:last-child, ul > li:last-child, .nhsuk-list > li:last-child {
453 margin-bottom: 0;
454 }
455
456 ul, .nhsuk-list--bullet {
457 list-style-type: disc;
458 padding-left: 20px; /* [1] */
459 }
460
461 ol, .nhsuk-list--number {
462 list-style-type: decimal;
463 padding-left: 20px; /* [1] */
464 }
465
466 .nhsuk-list--tick,
467 .nhsuk-list--cross {
468 list-style: none;
469 margin-top: 0;
470 padding-left: 40px; /* [2] */
471 position: relative;
472 }
473 .nhsuk-list--tick svg,
474 .nhsuk-list--cross svg {
475 left: -4px; /* [3] */
476 margin-top: -5px; /* [3] */
477 position: absolute;
478 }
479
480 /* ==========================================================================
481 STYLES / #TYPOGRAPHY
482 ========================================================================== */
483 /* Headings */
484 h1,
485 .nhsuk-heading-xl {
486 font-size: 32px;
487 font-size: 2rem;
488 line-height: 1.25;
489 }
490 @media (min-width: 40.0625em) {
491 h1,
492 .nhsuk-heading-xl {
493 font-size: 48px;
494 font-size: 3rem;
495 line-height: 1.16667;
496 }
497 }
498 @media print {
499 h1,
500 .nhsuk-heading-xl {
501 font-size: 32pt;
502 line-height: 1.15;
503 }
504 }
505 h1,
506 .nhsuk-heading-xl {
507 display: block;
508 font-weight: 600;
509 margin-top: 0;
510 margin-bottom: 40px;
511 }
512 @media (min-width: 40.0625em) {
513 h1,
514 .nhsuk-heading-xl {
515 margin-bottom: 48px;
516 }
517 }
518
519 h2,
520 .nhsuk-heading-l {
521 font-size: 24px;
522 font-size: 1.5rem;
523 line-height: 1.33333;
524 }
525 @media (min-width: 40.0625em) {
526 h2,
527 .nhsuk-heading-l {
528 font-size: 32px;
529 font-size: 2rem;
530 line-height: 1.25;
531 }
532 }
533 @media print {
534 h2,
535 .nhsuk-heading-l {
536 font-size: 24pt;
537 line-height: 1.05;
538 }
539 }
540 h2,
541 .nhsuk-heading-l {
542 display: block;
543 font-weight: 600;
544 margin-top: 0;
545 margin-bottom: 16px;
546 }
547 @media (min-width: 40.0625em) {
548 h2,
549 .nhsuk-heading-l {
550 margin-bottom: 24px;
551 }
552 }
553
554 h3,
555 .nhsuk-heading-m,
556 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
557 font-size: 20px;
558 font-size: 1.25rem;
559 line-height: 1.4;
560 }
561 @media (min-width: 40.0625em) {
562 h3,
563 .nhsuk-heading-m,
564 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
565 font-size: 24px;
566 font-size: 1.5rem;
567 line-height: 1.33333;
568 }
569 }
570 @media print {
571 h3,
572 .nhsuk-heading-m,
573 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
574 font-size: 18pt;
575 line-height: 1.15;
576 }
577 }
578 h3,
579 .nhsuk-heading-m,
580 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
581 display: block;
582 font-weight: 600;
583 margin-top: 0;
584 margin-bottom: 16px;
585 }
586 @media (min-width: 40.0625em) {
587 h3,
588 .nhsuk-heading-m,
589 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
590 margin-bottom: 24px;
591 }
592 }
593
594 h4,
595 .nhsuk-heading-s {
596 font-size: 18px;
597 font-size: 1.125rem;
598 line-height: 1.55556;
599 }
600 @media (min-width: 40.0625em) {
601 h4,
602 .nhsuk-heading-s {
603 font-size: 22px;
604 font-size: 1.375rem;
605 line-height: 1.45455;
606 }
607 }
608 @media print {
609 h4,
610 .nhsuk-heading-s {
611 font-size: 18pt;
612 line-height: 1.15;
613 }
614 }
615 h4,
616 .nhsuk-heading-s {
617 display: block;
618 font-weight: 600;
619 margin-top: 0;
620 margin-bottom: 16px;
621 }
622 @media (min-width: 40.0625em) {
623 h4,
624 .nhsuk-heading-s {
625 margin-bottom: 24px;
626 }
627 }
628
629 h5,
630 .nhsuk-heading-xs {
631 font-size: 16px;
632 font-size: 1rem;
633 line-height: 1.5;
634 }
635 @media (min-width: 40.0625em) {
636 h5,
637 .nhsuk-heading-xs {
638 font-size: 19px;
639 font-size: 1.1875rem;
640 line-height: 1.47368;
641 }
642 }
643 @media print {
644 h5,
645 .nhsuk-heading-xs {
646 font-size: 14pt;
647 line-height: 1.15;
648 }
649 }
650 h5,
651 .nhsuk-heading-xs {
652 display: block;
653 font-weight: 600;
654 margin-top: 0;
655 margin-bottom: 16px;
656 }
657 @media (min-width: 40.0625em) {
658 h5,
659 .nhsuk-heading-xs {
660 margin-bottom: 24px;
661 }
662 }
663
664 h6,
665 .nhsuk-heading-xxs {
666 font-size: 16px;
667 font-size: 1rem;
668 line-height: 1.5;
669 }
670 @media (min-width: 40.0625em) {
671 h6,
672 .nhsuk-heading-xxs {
673 font-size: 19px;
674 font-size: 1.1875rem;
675 line-height: 1.47368;
676 }
677 }
678 @media print {
679 h6,
680 .nhsuk-heading-xxs {
681 font-size: 14pt;
682 line-height: 1.15;
683 }
684 }
685 h6,
686 .nhsuk-heading-xxs {
687 display: block;
688 font-weight: 600;
689 margin-top: 0;
690 margin-bottom: 16px;
691 }
692 @media (min-width: 40.0625em) {
693 h6,
694 .nhsuk-heading-xxs {
695 margin-bottom: 24px;
696 }
697 }
698
699 /* Captions to be used inside headings */
700 .nhsuk-caption-xl {
701 font-weight: 400;
702 font-size: 24px;
703 font-size: 1.5rem;
704 line-height: 1.33333;
705 }
706 @media (min-width: 40.0625em) {
707 .nhsuk-caption-xl {
708 font-size: 32px;
709 font-size: 2rem;
710 line-height: 1.25;
711 }
712 }
713 @media print {
714 .nhsuk-caption-xl {
715 font-size: 24pt;
716 line-height: 1.05;
717 }
718 }
719 .nhsuk-caption-xl {
720 color: #4c6272;
721 display: block;
722 margin-bottom: 4px;
723 }
724
725 .nhsuk-caption-l {
726 font-weight: 400;
727 font-size: 20px;
728 font-size: 1.25rem;
729 line-height: 1.4;
730 }
731 @media (min-width: 40.0625em) {
732 .nhsuk-caption-l {
733 font-size: 24px;
734 font-size: 1.5rem;
735 line-height: 1.33333;
736 }
737 }
738 @media print {
739 .nhsuk-caption-l {
740 font-size: 18pt;
741 line-height: 1.15;
742 }
743 }
744 .nhsuk-caption-l {
745 color: #4c6272;
746 display: block;
747 margin-bottom: 4px;
748 }
749
750 .nhsuk-caption-m {
751 font-weight: 400;
752 font-size: 16px;
753 font-size: 1rem;
754 line-height: 1.5;
755 }
756 @media (min-width: 40.0625em) {
757 .nhsuk-caption-m {
758 font-size: 19px;
759 font-size: 1.1875rem;
760 line-height: 1.47368;
761 }
762 }
763 @media print {
764 .nhsuk-caption-m {
765 font-size: 14pt;
766 line-height: 1.15;
767 }
768 }
769 .nhsuk-caption-m {
770 color: #4c6272;
771 display: block;
772 }
773
774 .nhsuk-caption--bottom {
775 margin-bottom: 0;
776 margin-top: 4px;
777 }
778
779 /* Body (paragraphs) */
780 .nhsuk-body-l {
781 font-size: 20px;
782 font-size: 1.25rem;
783 line-height: 1.4;
784 }
785 @media (min-width: 40.0625em) {
786 .nhsuk-body-l {
787 font-size: 24px;
788 font-size: 1.5rem;
789 line-height: 1.33333;
790 }
791 }
792 @media print {
793 .nhsuk-body-l {
794 font-size: 18pt;
795 line-height: 1.15;
796 }
797 }
798 .nhsuk-body-l {
799 display: block;
800 margin-top: 0;
801 margin-bottom: 24px;
802 }
803 @media (min-width: 40.0625em) {
804 .nhsuk-body-l {
805 margin-bottom: 32px;
806 }
807 }
808
809 address, p,
810 .nhsuk-body-m {
811 font-size: 16px;
812 font-size: 1rem;
813 line-height: 1.5;
814 }
815 @media (min-width: 40.0625em) {
816 address, p,
817 .nhsuk-body-m {
818 font-size: 19px;
819 font-size: 1.1875rem;
820 line-height: 1.47368;
821 }
822 }
823 @media print {
824 address, p,
825 .nhsuk-body-m {
826 font-size: 14pt;
827 line-height: 1.15;
828 }
829 }
830 address, p,
831 .nhsuk-body-m {
832 display: block;
833 margin-top: 0;
834 margin-bottom: 16px;
835 }
836 @media (min-width: 40.0625em) {
837 address, p,
838 .nhsuk-body-m {
839 margin-bottom: 24px;
840 }
841 }
842
843 p,
844 .nhsuk-body-m {
845 color: inherit;
846 }
847
848 .nhsuk-body-s {
849 font-size: 14px;
850 font-size: 0.875rem;
851 line-height: 1.71429;
852 }
853 @media (min-width: 40.0625em) {
854 .nhsuk-body-s {
855 font-size: 16px;
856 font-size: 1rem;
857 line-height: 1.5;
858 }
859 }
860 @media print {
861 .nhsuk-body-s {
862 font-size: 14pt;
863 line-height: 1.2;
864 }
865 }
866 .nhsuk-body-s {
867 display: block;
868 margin-top: 0;
869 margin-bottom: 16px;
870 }
871 @media (min-width: 40.0625em) {
872 .nhsuk-body-s {
873 margin-bottom: 24px;
874 }
875 }
876
877 address {
878 font-style: normal;
879 }
880
881 /**
882 * Lede text
883 *
884 * 1. Apply lede text styling to p and ul within the lede element
885 * 2. Reduces the spacing between the page heading and the lede text
886 */
887 .nhsuk-lede-text {
888 font-weight: 400;
889 font-size: 20px;
890 font-size: 1.25rem;
891 line-height: 1.4;
892 }
893 @media (min-width: 40.0625em) {
894 .nhsuk-lede-text {
895 font-size: 24px;
896 font-size: 1.5rem;
897 line-height: 1.33333;
898 }
899 }
900 @media print {
901 .nhsuk-lede-text {
902 font-size: 18pt;
903 line-height: 1.15;
904 }
905 }
906 .nhsuk-lede-text {
907 margin-bottom: 40px;
908 }
909 @media (min-width: 40.0625em) {
910 .nhsuk-lede-text {
911 margin-bottom: 48px;
912 }
913 }
914 .nhsuk-lede-text {
915 /* [1] */
916 }
917 .nhsuk-lede-text p,
918 .nhsuk-lede-text ul {
919 font-weight: 400;
920 font-size: 20px;
921 font-size: 1.25rem;
922 line-height: 1.4;
923 }
924 @media (min-width: 40.0625em) {
925 .nhsuk-lede-text p,
926 .nhsuk-lede-text ul {
927 font-size: 24px;
928 font-size: 1.5rem;
929 line-height: 1.33333;
930 }
931 }
932 @media print {
933 .nhsuk-lede-text p,
934 .nhsuk-lede-text ul {
935 font-size: 18pt;
936 line-height: 1.15;
937 }
938 }
939
940 .nhsuk-lede-text--small {
941 font-weight: 400;
942 font-size: 16px;
943 font-size: 1rem;
944 line-height: 1.5;
945 }
946 @media (min-width: 40.0625em) {
947 .nhsuk-lede-text--small {
948 font-size: 19px;
949 font-size: 1.1875rem;
950 line-height: 1.47368;
951 }
952 }
953 @media print {
954 .nhsuk-lede-text--small {
955 font-size: 14pt;
956 line-height: 1.15;
957 }
958 }
959 .nhsuk-lede-text--small {
960 margin-bottom: 24px;
961 }
962 @media (min-width: 40.0625em) {
963 .nhsuk-lede-text--small {
964 margin-bottom: 32px;
965 }
966 }
967
968 /* [2] */
969 h1 + .nhsuk-lede-text,
970 h1 + .nhsuk-lede-text--small {
971 margin-top: -8px;
972 }
973
974 /**
975 * Contextual adjustments
976 *
977 * Add top padding to headings that appear directly after paragraphs.
978 *
979 * 1. Removes the padding-top because of the lede-text's increased margin-bottom
980 *
981 * Original code taken from GDS (Government Digital Service)
982 * https://github.com/alphagov/nhsuk-frontend
983 */
984 .nhsuk-body-l + h2,
985 .nhsuk-body-l + .nhsuk-heading-l {
986 padding-top: 4px;
987 }
988 @media (min-width: 40.0625em) {
989 .nhsuk-body-l + h2,
990 .nhsuk-body-l + .nhsuk-heading-l {
991 padding-top: 8px;
992 }
993 }
994
995 p + h2,
996 .nhsuk-body-m + h2, address + h2,
997 p + .nhsuk-heading-l,
998 .nhsuk-body-m + .nhsuk-heading-l,
999 address + .nhsuk-heading-l,
1000 .nhsuk-body-s + h2,
1001 .nhsuk-body-s + .nhsuk-heading-l,
1002 .nhsuk-list + h2,
1003 ul + h2,
1004 ol + h2,
1005 .nhsuk-list + .nhsuk-heading-l,
1006 ul + .nhsuk-heading-l,
1007 ol + .nhsuk-heading-l {
1008 padding-top: 16px;
1009 }
1010 @media (min-width: 40.0625em) {
1011 p + h2,
1012 .nhsuk-body-m + h2, address + h2,
1013 p + .nhsuk-heading-l,
1014 .nhsuk-body-m + .nhsuk-heading-l,
1015 address + .nhsuk-heading-l,
1016 .nhsuk-body-s + h2,
1017 .nhsuk-body-s + .nhsuk-heading-l,
1018 .nhsuk-list + h2,
1019 ul + h2,
1020 ol + h2,
1021 .nhsuk-list + .nhsuk-heading-l,
1022 ul + .nhsuk-heading-l,
1023 ol + .nhsuk-heading-l {
1024 padding-top: 24px;
1025 }
1026 }
1027
1028 p + h3,
1029 .nhsuk-body-m + h3, address + h3,
1030 p + .nhsuk-heading-m,
1031 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content p + h2,
1032 .nhsuk-body-m + .nhsuk-heading-m,
1033 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-body-m + h2,
1034 address + .nhsuk-heading-m,
1035 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content address + h2,
1036 .nhsuk-body-s + h3,
1037 .nhsuk-body-s + .nhsuk-heading-m,
1038 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-body-s + h2,
1039 .nhsuk-list + h3,
1040 ul + h3,
1041 ol + h3,
1042 .nhsuk-list + .nhsuk-heading-m,
1043 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-list + h2,
1044 ul + .nhsuk-heading-m,
1045 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content ul + h2,
1046 ol + .nhsuk-heading-m,
1047 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content ol + h2,
1048 p + h4,
1049 .nhsuk-body-m + h4,
1050 address + h4,
1051 p + .nhsuk-heading-s,
1052 .nhsuk-body-m + .nhsuk-heading-s,
1053 address + .nhsuk-heading-s,
1054 .nhsuk-body-s + h4,
1055 .nhsuk-body-s + .nhsuk-heading-s,
1056 .nhsuk-list + h4,
1057 ul + h4,
1058 ol + h4,
1059 .nhsuk-list + .nhsuk-heading-s,
1060 ul + .nhsuk-heading-s,
1061 ol + .nhsuk-heading-s {
1062 padding-top: 4px;
1063 }
1064 @media (min-width: 40.0625em) {
1065 p + h3,
1066 .nhsuk-body-m + h3, address + h3,
1067 p + .nhsuk-heading-m,
1068 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content p + h2,
1069 .nhsuk-body-m + .nhsuk-heading-m,
1070 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-body-m + h2,
1071 address + .nhsuk-heading-m,
1072 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content address + h2,
1073 .nhsuk-body-s + h3,
1074 .nhsuk-body-s + .nhsuk-heading-m,
1075 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-body-s + h2,
1076 .nhsuk-list + h3,
1077 ul + h3,
1078 ol + h3,
1079 .nhsuk-list + .nhsuk-heading-m,
1080 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-list + h2,
1081 ul + .nhsuk-heading-m,
1082 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content ul + h2,
1083 ol + .nhsuk-heading-m,
1084 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content ol + h2,
1085 p + h4,
1086 .nhsuk-body-m + h4,
1087 address + h4,
1088 p + .nhsuk-heading-s,
1089 .nhsuk-body-m + .nhsuk-heading-s,
1090 address + .nhsuk-heading-s,
1091 .nhsuk-body-s + h4,
1092 .nhsuk-body-s + .nhsuk-heading-s,
1093 .nhsuk-list + h4,
1094 ul + h4,
1095 ol + h4,
1096 .nhsuk-list + .nhsuk-heading-s,
1097 ul + .nhsuk-heading-s,
1098 ol + .nhsuk-heading-s {
1099 padding-top: 8px;
1100 }
1101 }
1102
1103 /* [1] */
1104 .nhsuk-lede-text + h2,
1105 .nhsuk-lede-text + .nhsuk-heading-l {
1106 padding-top: 0;
1107 }
1108
1109 /* Font weight for <strong> and <b> */
1110 strong,
1111 b {
1112 font-weight: 600;
1113 }
1114
1115 /* ==========================================================================
1116 UTILITIES / #CLEARFIX
1117 ========================================================================== */
1118 /**
1119 * Automatically clear an elements
1120 * child elements
1121 *
1122 * Usage: class="nhsuk-u-clear"
1123 * See tools/mixins
1124 */
1125 .nhsuk-u-clear:after {
1126 clear: both;
1127 content: "";
1128 display: block;
1129 }
1130
1131 /* ==========================================================================
1132 UTILITIES / #GRID
1133 ========================================================================== */
1134 /**
1135 * Force grid widths on all screen sizes
1136 * By default all grid elements will go to 100% width
1137 * on screen sizes below tablet, these utilities can force
1138 * custom widths on all screen sizes
1139 *
1140 * Usage: class="nhsuk-u-one-half"
1141 */
1142 /* stylelint-disable declaration-no-important */
1143 .nhsuk-u-one-half {
1144 float: left;
1145 width: 50% !important;
1146 }
1147
1148 .nhsuk-u-one-third {
1149 float: left;
1150 width: 33.3333333333% !important;
1151 }
1152
1153 .nhsuk-u-two-thirds {
1154 float: left;
1155 width: 66.6666666667% !important;
1156 }
1157
1158 .nhsuk-u-one-quarter {
1159 float: left;
1160 width: 25% !important;
1161 }
1162
1163 .nhsuk-u-three-quarters {
1164 float: left;
1165 width: 75% !important;
1166 }
1167
1168 /**
1169 * Force grid widths on screen sizes on tablet
1170 * and above
1171 *
1172 * By default all grid elements will go to 100% width
1173 * on every screen size, these utilities can force
1174 * custom widths on screen sizes on tablet
1175 * and above
1176 *
1177 * Usage: class="nhsuk-u-one-half-tablet"
1178 */
1179 .nhsuk-u-one-half-tablet {
1180 width: 100% !important;
1181 }
1182 @media (min-width: 40.0625em) {
1183 .nhsuk-u-one-half-tablet {
1184 float: left;
1185 width: 50% !important;
1186 }
1187 }
1188
1189 .nhsuk-u-one-third-tablet {
1190 width: 100% !important;
1191 }
1192 @media (min-width: 40.0625em) {
1193 .nhsuk-u-one-third-tablet {
1194 float: left;
1195 width: 33.3333333333% !important;
1196 }
1197 }
1198
1199 .nhsuk-u-two-thirds-tablet {
1200 width: 100% !important;
1201 }
1202 @media (min-width: 40.0625em) {
1203 .nhsuk-u-two-thirds-tablet {
1204 float: left;
1205 width: 66.6666666667% !important;
1206 }
1207 }
1208
1209 .nhsuk-u-one-quarter-tablet {
1210 width: 100% !important;
1211 }
1212 @media (min-width: 40.0625em) {
1213 .nhsuk-u-one-quarter-tablet {
1214 float: left;
1215 width: 25% !important;
1216 }
1217 }
1218
1219 .nhsuk-u-three-quarters-tablet {
1220 width: 100% !important;
1221 }
1222 @media (min-width: 40.0625em) {
1223 .nhsuk-u-three-quarters-tablet {
1224 float: left;
1225 width: 75% !important;
1226 }
1227 }
1228
1229 /* ==========================================================================
1230 UTILITIES / #LINK-NOWRAP
1231 ========================================================================== */
1232 /**
1233 * Prevent long anchor links from line breaking
1234 * on smaller screens
1235 *
1236 * Usage: class="nhsuk-u-nowrap"
1237 */
1238 @media (max-width: 40.0525em) {
1239 .nhsuk-u-nowrap {
1240 white-space: nowrap;
1241 }
1242 }
1243
1244 /* ==========================================================================
1245 UTILITIES / #READING-WIDTH
1246 ========================================================================== */
1247 /**
1248 * Reading width mixin, add a maximum width
1249 * to large pieces of content
1250 *
1251 * Usage: class="nhsuk-u-reading-width"
1252 * See tools/mixins
1253 */
1254 .nhsuk-u-reading-width {
1255 max-width: 44em;
1256 }
1257
1258 .nhsuk-u-margin-0 {
1259 margin: 0 !important;
1260 }
1261 @media (min-width: 40.0625em) {
1262 .nhsuk-u-margin-0 {
1263 margin: 0 !important;
1264 }
1265 }
1266
1267 .nhsuk-u-margin-top-0 {
1268 margin-top: 0 !important;
1269 }
1270 @media (min-width: 40.0625em) {
1271 .nhsuk-u-margin-top-0 {
1272 margin-top: 0 !important;
1273 }
1274 }
1275
1276 .nhsuk-u-margin-right-0 {
1277 margin-right: 0 !important;
1278 }
1279 @media (min-width: 40.0625em) {
1280 .nhsuk-u-margin-right-0 {
1281 margin-right: 0 !important;
1282 }
1283 }
1284
1285 .nhsuk-u-margin-bottom-0 {
1286 margin-bottom: 0 !important;
1287 }
1288 @media (min-width: 40.0625em) {
1289 .nhsuk-u-margin-bottom-0 {
1290 margin-bottom: 0 !important;
1291 }
1292 }
1293
1294 .nhsuk-u-margin-left-0 {
1295 margin-left: 0 !important;
1296 }
1297 @media (min-width: 40.0625em) {
1298 .nhsuk-u-margin-left-0 {
1299 margin-left: 0 !important;
1300 }
1301 }
1302
1303 .nhsuk-u-margin-1 {
1304 margin: 4px !important;
1305 }
1306 @media (min-width: 40.0625em) {
1307 .nhsuk-u-margin-1 {
1308 margin: 4px !important;
1309 }
1310 }
1311
1312 .nhsuk-u-margin-top-1 {
1313 margin-top: 4px !important;
1314 }
1315 @media (min-width: 40.0625em) {
1316 .nhsuk-u-margin-top-1 {
1317 margin-top: 4px !important;
1318 }
1319 }
1320
1321 .nhsuk-u-margin-right-1 {
1322 margin-right: 4px !important;
1323 }
1324 @media (min-width: 40.0625em) {
1325 .nhsuk-u-margin-right-1 {
1326 margin-right: 4px !important;
1327 }
1328 }
1329
1330 .nhsuk-u-margin-bottom-1 {
1331 margin-bottom: 4px !important;
1332 }
1333 @media (min-width: 40.0625em) {
1334 .nhsuk-u-margin-bottom-1 {
1335 margin-bottom: 4px !important;
1336 }
1337 }
1338
1339 .nhsuk-u-margin-left-1 {
1340 margin-left: 4px !important;
1341 }
1342 @media (min-width: 40.0625em) {
1343 .nhsuk-u-margin-left-1 {
1344 margin-left: 4px !important;
1345 }
1346 }
1347
1348 .nhsuk-u-margin-2 {
1349 margin: 8px !important;
1350 }
1351 @media (min-width: 40.0625em) {
1352 .nhsuk-u-margin-2 {
1353 margin: 8px !important;
1354 }
1355 }
1356
1357 .nhsuk-u-margin-top-2 {
1358 margin-top: 8px !important;
1359 }
1360 @media (min-width: 40.0625em) {
1361 .nhsuk-u-margin-top-2 {
1362 margin-top: 8px !important;
1363 }
1364 }
1365
1366 .nhsuk-u-margin-right-2 {
1367 margin-right: 8px !important;
1368 }
1369 @media (min-width: 40.0625em) {
1370 .nhsuk-u-margin-right-2 {
1371 margin-right: 8px !important;
1372 }
1373 }
1374
1375 .nhsuk-u-margin-bottom-2 {
1376 margin-bottom: 8px !important;
1377 }
1378 @media (min-width: 40.0625em) {
1379 .nhsuk-u-margin-bottom-2 {
1380 margin-bottom: 8px !important;
1381 }
1382 }
1383
1384 .nhsuk-u-margin-left-2 {
1385 margin-left: 8px !important;
1386 }
1387 @media (min-width: 40.0625em) {
1388 .nhsuk-u-margin-left-2 {
1389 margin-left: 8px !important;
1390 }
1391 }
1392
1393 .nhsuk-u-margin-3 {
1394 margin: 8px !important;
1395 }
1396 @media (min-width: 40.0625em) {
1397 .nhsuk-u-margin-3 {
1398 margin: 16px !important;
1399 }
1400 }
1401
1402 .nhsuk-u-margin-top-3 {
1403 margin-top: 8px !important;
1404 }
1405 @media (min-width: 40.0625em) {
1406 .nhsuk-u-margin-top-3 {
1407 margin-top: 16px !important;
1408 }
1409 }
1410
1411 .nhsuk-u-margin-right-3 {
1412 margin-right: 8px !important;
1413 }
1414 @media (min-width: 40.0625em) {
1415 .nhsuk-u-margin-right-3 {
1416 margin-right: 16px !important;
1417 }
1418 }
1419
1420 .nhsuk-u-margin-bottom-3 {
1421 margin-bottom: 8px !important;
1422 }
1423 @media (min-width: 40.0625em) {
1424 .nhsuk-u-margin-bottom-3 {
1425 margin-bottom: 16px !important;
1426 }
1427 }
1428
1429 .nhsuk-u-margin-left-3 {
1430 margin-left: 8px !important;
1431 }
1432 @media (min-width: 40.0625em) {
1433 .nhsuk-u-margin-left-3 {
1434 margin-left: 16px !important;
1435 }
1436 }
1437
1438 .nhsuk-u-margin-4 {
1439 margin: 16px !important;
1440 }
1441 @media (min-width: 40.0625em) {
1442 .nhsuk-u-margin-4 {
1443 margin: 24px !important;
1444 }
1445 }
1446
1447 .nhsuk-u-margin-top-4 {
1448 margin-top: 16px !important;
1449 }
1450 @media (min-width: 40.0625em) {
1451 .nhsuk-u-margin-top-4 {
1452 margin-top: 24px !important;
1453 }
1454 }
1455
1456 .nhsuk-u-margin-right-4 {
1457 margin-right: 16px !important;
1458 }
1459 @media (min-width: 40.0625em) {
1460 .nhsuk-u-margin-right-4 {
1461 margin-right: 24px !important;
1462 }
1463 }
1464
1465 .nhsuk-u-margin-bottom-4 {
1466 margin-bottom: 16px !important;
1467 }
1468 @media (min-width: 40.0625em) {
1469 .nhsuk-u-margin-bottom-4 {
1470 margin-bottom: 24px !important;
1471 }
1472 }
1473
1474 .nhsuk-u-margin-left-4 {
1475 margin-left: 16px !important;
1476 }
1477 @media (min-width: 40.0625em) {
1478 .nhsuk-u-margin-left-4 {
1479 margin-left: 24px !important;
1480 }
1481 }
1482
1483 .nhsuk-u-margin-5 {
1484 margin: 24px !important;
1485 }
1486 @media (min-width: 40.0625em) {
1487 .nhsuk-u-margin-5 {
1488 margin: 32px !important;
1489 }
1490 }
1491
1492 .nhsuk-u-margin-top-5 {
1493 margin-top: 24px !important;
1494 }
1495 @media (min-width: 40.0625em) {
1496 .nhsuk-u-margin-top-5 {
1497 margin-top: 32px !important;
1498 }
1499 }
1500
1501 .nhsuk-u-margin-right-5 {
1502 margin-right: 24px !important;
1503 }
1504 @media (min-width: 40.0625em) {
1505 .nhsuk-u-margin-right-5 {
1506 margin-right: 32px !important;
1507 }
1508 }
1509
1510 .nhsuk-u-margin-bottom-5 {
1511 margin-bottom: 24px !important;
1512 }
1513 @media (min-width: 40.0625em) {
1514 .nhsuk-u-margin-bottom-5 {
1515 margin-bottom: 32px !important;
1516 }
1517 }
1518
1519 .nhsuk-u-margin-left-5 {
1520 margin-left: 24px !important;
1521 }
1522 @media (min-width: 40.0625em) {
1523 .nhsuk-u-margin-left-5 {
1524 margin-left: 32px !important;
1525 }
1526 }
1527
1528 .nhsuk-u-margin-6 {
1529 margin: 32px !important;
1530 }
1531 @media (min-width: 40.0625em) {
1532 .nhsuk-u-margin-6 {
1533 margin: 40px !important;
1534 }
1535 }
1536
1537 .nhsuk-u-margin-top-6 {
1538 margin-top: 32px !important;
1539 }
1540 @media (min-width: 40.0625em) {
1541 .nhsuk-u-margin-top-6 {
1542 margin-top: 40px !important;
1543 }
1544 }
1545
1546 .nhsuk-u-margin-right-6 {
1547 margin-right: 32px !important;
1548 }
1549 @media (min-width: 40.0625em) {
1550 .nhsuk-u-margin-right-6 {
1551 margin-right: 40px !important;
1552 }
1553 }
1554
1555 .nhsuk-u-margin-bottom-6 {
1556 margin-bottom: 32px !important;
1557 }
1558 @media (min-width: 40.0625em) {
1559 .nhsuk-u-margin-bottom-6 {
1560 margin-bottom: 40px !important;
1561 }
1562 }
1563
1564 .nhsuk-u-margin-left-6 {
1565 margin-left: 32px !important;
1566 }
1567 @media (min-width: 40.0625em) {
1568 .nhsuk-u-margin-left-6 {
1569 margin-left: 40px !important;
1570 }
1571 }
1572
1573 .nhsuk-u-margin-7 {
1574 margin: 40px !important;
1575 }
1576 @media (min-width: 40.0625em) {
1577 .nhsuk-u-margin-7 {
1578 margin: 48px !important;
1579 }
1580 }
1581
1582 .nhsuk-u-margin-top-7 {
1583 margin-top: 40px !important;
1584 }
1585 @media (min-width: 40.0625em) {
1586 .nhsuk-u-margin-top-7 {
1587 margin-top: 48px !important;
1588 }
1589 }
1590
1591 .nhsuk-u-margin-right-7 {
1592 margin-right: 40px !important;
1593 }
1594 @media (min-width: 40.0625em) {
1595 .nhsuk-u-margin-right-7 {
1596 margin-right: 48px !important;
1597 }
1598 }
1599
1600 .nhsuk-u-margin-bottom-7 {
1601 margin-bottom: 40px !important;
1602 }
1603 @media (min-width: 40.0625em) {
1604 .nhsuk-u-margin-bottom-7 {
1605 margin-bottom: 48px !important;
1606 }
1607 }
1608
1609 .nhsuk-u-margin-left-7 {
1610 margin-left: 40px !important;
1611 }
1612 @media (min-width: 40.0625em) {
1613 .nhsuk-u-margin-left-7 {
1614 margin-left: 48px !important;
1615 }
1616 }
1617
1618 .nhsuk-u-margin-8 {
1619 margin: 48px !important;
1620 }
1621 @media (min-width: 40.0625em) {
1622 .nhsuk-u-margin-8 {
1623 margin: 56px !important;
1624 }
1625 }
1626
1627 .nhsuk-u-margin-top-8 {
1628 margin-top: 48px !important;
1629 }
1630 @media (min-width: 40.0625em) {
1631 .nhsuk-u-margin-top-8 {
1632 margin-top: 56px !important;
1633 }
1634 }
1635
1636 .nhsuk-u-margin-right-8 {
1637 margin-right: 48px !important;
1638 }
1639 @media (min-width: 40.0625em) {
1640 .nhsuk-u-margin-right-8 {
1641 margin-right: 56px !important;
1642 }
1643 }
1644
1645 .nhsuk-u-margin-bottom-8 {
1646 margin-bottom: 48px !important;
1647 }
1648 @media (min-width: 40.0625em) {
1649 .nhsuk-u-margin-bottom-8 {
1650 margin-bottom: 56px !important;
1651 }
1652 }
1653
1654 .nhsuk-u-margin-left-8 {
1655 margin-left: 48px !important;
1656 }
1657 @media (min-width: 40.0625em) {
1658 .nhsuk-u-margin-left-8 {
1659 margin-left: 56px !important;
1660 }
1661 }
1662
1663 .nhsuk-u-margin-9 {
1664 margin: 56px !important;
1665 }
1666 @media (min-width: 40.0625em) {
1667 .nhsuk-u-margin-9 {
1668 margin: 64px !important;
1669 }
1670 }
1671
1672 .nhsuk-u-margin-top-9 {
1673 margin-top: 56px !important;
1674 }
1675 @media (min-width: 40.0625em) {
1676 .nhsuk-u-margin-top-9 {
1677 margin-top: 64px !important;
1678 }
1679 }
1680
1681 .nhsuk-u-margin-right-9 {
1682 margin-right: 56px !important;
1683 }
1684 @media (min-width: 40.0625em) {
1685 .nhsuk-u-margin-right-9 {
1686 margin-right: 64px !important;
1687 }
1688 }
1689
1690 .nhsuk-u-margin-bottom-9 {
1691 margin-bottom: 56px !important;
1692 }
1693 @media (min-width: 40.0625em) {
1694 .nhsuk-u-margin-bottom-9 {
1695 margin-bottom: 64px !important;
1696 }
1697 }
1698
1699 .nhsuk-u-margin-left-9 {
1700 margin-left: 56px !important;
1701 }
1702 @media (min-width: 40.0625em) {
1703 .nhsuk-u-margin-left-9 {
1704 margin-left: 64px !important;
1705 }
1706 }
1707
1708 .nhsuk-u-padding-0 {
1709 padding: 0 !important;
1710 }
1711 @media (min-width: 40.0625em) {
1712 .nhsuk-u-padding-0 {
1713 padding: 0 !important;
1714 }
1715 }
1716
1717 .nhsuk-u-padding-top-0 {
1718 padding-top: 0 !important;
1719 }
1720 @media (min-width: 40.0625em) {
1721 .nhsuk-u-padding-top-0 {
1722 padding-top: 0 !important;
1723 }
1724 }
1725
1726 .nhsuk-u-padding-right-0 {
1727 padding-right: 0 !important;
1728 }
1729 @media (min-width: 40.0625em) {
1730 .nhsuk-u-padding-right-0 {
1731 padding-right: 0 !important;
1732 }
1733 }
1734
1735 .nhsuk-u-padding-bottom-0 {
1736 padding-bottom: 0 !important;
1737 }
1738 @media (min-width: 40.0625em) {
1739 .nhsuk-u-padding-bottom-0 {
1740 padding-bottom: 0 !important;
1741 }
1742 }
1743
1744 .nhsuk-u-padding-left-0 {
1745 padding-left: 0 !important;
1746 }
1747 @media (min-width: 40.0625em) {
1748 .nhsuk-u-padding-left-0 {
1749 padding-left: 0 !important;
1750 }
1751 }
1752
1753 .nhsuk-u-padding-1 {
1754 padding: 4px !important;
1755 }
1756 @media (min-width: 40.0625em) {
1757 .nhsuk-u-padding-1 {
1758 padding: 4px !important;
1759 }
1760 }
1761
1762 .nhsuk-u-padding-top-1 {
1763 padding-top: 4px !important;
1764 }
1765 @media (min-width: 40.0625em) {
1766 .nhsuk-u-padding-top-1 {
1767 padding-top: 4px !important;
1768 }
1769 }
1770
1771 .nhsuk-u-padding-right-1 {
1772 padding-right: 4px !important;
1773 }
1774 @media (min-width: 40.0625em) {
1775 .nhsuk-u-padding-right-1 {
1776 padding-right: 4px !important;
1777 }
1778 }
1779
1780 .nhsuk-u-padding-bottom-1 {
1781 padding-bottom: 4px !important;
1782 }
1783 @media (min-width: 40.0625em) {
1784 .nhsuk-u-padding-bottom-1 {
1785 padding-bottom: 4px !important;
1786 }
1787 }
1788
1789 .nhsuk-u-padding-left-1 {
1790 padding-left: 4px !important;
1791 }
1792 @media (min-width: 40.0625em) {
1793 .nhsuk-u-padding-left-1 {
1794 padding-left: 4px !important;
1795 }
1796 }
1797
1798 .nhsuk-u-padding-2 {
1799 padding: 8px !important;
1800 }
1801 @media (min-width: 40.0625em) {
1802 .nhsuk-u-padding-2 {
1803 padding: 8px !important;
1804 }
1805 }
1806
1807 .nhsuk-u-padding-top-2 {
1808 padding-top: 8px !important;
1809 }
1810 @media (min-width: 40.0625em) {
1811 .nhsuk-u-padding-top-2 {
1812 padding-top: 8px !important;
1813 }
1814 }
1815
1816 .nhsuk-u-padding-right-2 {
1817 padding-right: 8px !important;
1818 }
1819 @media (min-width: 40.0625em) {
1820 .nhsuk-u-padding-right-2 {
1821 padding-right: 8px !important;
1822 }
1823 }
1824
1825 .nhsuk-u-padding-bottom-2 {
1826 padding-bottom: 8px !important;
1827 }
1828 @media (min-width: 40.0625em) {
1829 .nhsuk-u-padding-bottom-2 {
1830 padding-bottom: 8px !important;
1831 }
1832 }
1833
1834 .nhsuk-u-padding-left-2 {
1835 padding-left: 8px !important;
1836 }
1837 @media (min-width: 40.0625em) {
1838 .nhsuk-u-padding-left-2 {
1839 padding-left: 8px !important;
1840 }
1841 }
1842
1843 .nhsuk-u-padding-3 {
1844 padding: 8px !important;
1845 }
1846 @media (min-width: 40.0625em) {
1847 .nhsuk-u-padding-3 {
1848 padding: 16px !important;
1849 }
1850 }
1851
1852 .nhsuk-u-padding-top-3 {
1853 padding-top: 8px !important;
1854 }
1855 @media (min-width: 40.0625em) {
1856 .nhsuk-u-padding-top-3 {
1857 padding-top: 16px !important;
1858 }
1859 }
1860
1861 .nhsuk-u-padding-right-3 {
1862 padding-right: 8px !important;
1863 }
1864 @media (min-width: 40.0625em) {
1865 .nhsuk-u-padding-right-3 {
1866 padding-right: 16px !important;
1867 }
1868 }
1869
1870 .nhsuk-u-padding-bottom-3 {
1871 padding-bottom: 8px !important;
1872 }
1873 @media (min-width: 40.0625em) {
1874 .nhsuk-u-padding-bottom-3 {
1875 padding-bottom: 16px !important;
1876 }
1877 }
1878
1879 .nhsuk-u-padding-left-3 {
1880 padding-left: 8px !important;
1881 }
1882 @media (min-width: 40.0625em) {
1883 .nhsuk-u-padding-left-3 {
1884 padding-left: 16px !important;
1885 }
1886 }
1887
1888 .nhsuk-u-padding-4 {
1889 padding: 16px !important;
1890 }
1891 @media (min-width: 40.0625em) {
1892 .nhsuk-u-padding-4 {
1893 padding: 24px !important;
1894 }
1895 }
1896
1897 .nhsuk-u-padding-top-4 {
1898 padding-top: 16px !important;
1899 }
1900 @media (min-width: 40.0625em) {
1901 .nhsuk-u-padding-top-4 {
1902 padding-top: 24px !important;
1903 }
1904 }
1905
1906 .nhsuk-u-padding-right-4 {
1907 padding-right: 16px !important;
1908 }
1909 @media (min-width: 40.0625em) {
1910 .nhsuk-u-padding-right-4 {
1911 padding-right: 24px !important;
1912 }
1913 }
1914
1915 .nhsuk-u-padding-bottom-4 {
1916 padding-bottom: 16px !important;
1917 }
1918 @media (min-width: 40.0625em) {
1919 .nhsuk-u-padding-bottom-4 {
1920 padding-bottom: 24px !important;
1921 }
1922 }
1923
1924 .nhsuk-u-padding-left-4 {
1925 padding-left: 16px !important;
1926 }
1927 @media (min-width: 40.0625em) {
1928 .nhsuk-u-padding-left-4 {
1929 padding-left: 24px !important;
1930 }
1931 }
1932
1933 .nhsuk-u-padding-5 {
1934 padding: 24px !important;
1935 }
1936 @media (min-width: 40.0625em) {
1937 .nhsuk-u-padding-5 {
1938 padding: 32px !important;
1939 }
1940 }
1941
1942 .nhsuk-u-padding-top-5 {
1943 padding-top: 24px !important;
1944 }
1945 @media (min-width: 40.0625em) {
1946 .nhsuk-u-padding-top-5 {
1947 padding-top: 32px !important;
1948 }
1949 }
1950
1951 .nhsuk-u-padding-right-5 {
1952 padding-right: 24px !important;
1953 }
1954 @media (min-width: 40.0625em) {
1955 .nhsuk-u-padding-right-5 {
1956 padding-right: 32px !important;
1957 }
1958 }
1959
1960 .nhsuk-u-padding-bottom-5 {
1961 padding-bottom: 24px !important;
1962 }
1963 @media (min-width: 40.0625em) {
1964 .nhsuk-u-padding-bottom-5 {
1965 padding-bottom: 32px !important;
1966 }
1967 }
1968
1969 .nhsuk-u-padding-left-5 {
1970 padding-left: 24px !important;
1971 }
1972 @media (min-width: 40.0625em) {
1973 .nhsuk-u-padding-left-5 {
1974 padding-left: 32px !important;
1975 }
1976 }
1977
1978 .nhsuk-u-padding-6 {
1979 padding: 32px !important;
1980 }
1981 @media (min-width: 40.0625em) {
1982 .nhsuk-u-padding-6 {
1983 padding: 40px !important;
1984 }
1985 }
1986
1987 .nhsuk-u-padding-top-6 {
1988 padding-top: 32px !important;
1989 }
1990 @media (min-width: 40.0625em) {
1991 .nhsuk-u-padding-top-6 {
1992 padding-top: 40px !important;
1993 }
1994 }
1995
1996 .nhsuk-u-padding-right-6 {
1997 padding-right: 32px !important;
1998 }
1999 @media (min-width: 40.0625em) {
2000 .nhsuk-u-padding-right-6 {
2001 padding-right: 40px !important;
2002 }
2003 }
2004
2005 .nhsuk-u-padding-bottom-6 {
2006 padding-bottom: 32px !important;
2007 }
2008 @media (min-width: 40.0625em) {
2009 .nhsuk-u-padding-bottom-6 {
2010 padding-bottom: 40px !important;
2011 }
2012 }
2013
2014 .nhsuk-u-padding-left-6 {
2015 padding-left: 32px !important;
2016 }
2017 @media (min-width: 40.0625em) {
2018 .nhsuk-u-padding-left-6 {
2019 padding-left: 40px !important;
2020 }
2021 }
2022
2023 .nhsuk-u-padding-7 {
2024 padding: 40px !important;
2025 }
2026 @media (min-width: 40.0625em) {
2027 .nhsuk-u-padding-7 {
2028 padding: 48px !important;
2029 }
2030 }
2031
2032 .nhsuk-u-padding-top-7 {
2033 padding-top: 40px !important;
2034 }
2035 @media (min-width: 40.0625em) {
2036 .nhsuk-u-padding-top-7 {
2037 padding-top: 48px !important;
2038 }
2039 }
2040
2041 .nhsuk-u-padding-right-7 {
2042 padding-right: 40px !important;
2043 }
2044 @media (min-width: 40.0625em) {
2045 .nhsuk-u-padding-right-7 {
2046 padding-right: 48px !important;
2047 }
2048 }
2049
2050 .nhsuk-u-padding-bottom-7 {
2051 padding-bottom: 40px !important;
2052 }
2053 @media (min-width: 40.0625em) {
2054 .nhsuk-u-padding-bottom-7 {
2055 padding-bottom: 48px !important;
2056 }
2057 }
2058
2059 .nhsuk-u-padding-left-7 {
2060 padding-left: 40px !important;
2061 }
2062 @media (min-width: 40.0625em) {
2063 .nhsuk-u-padding-left-7 {
2064 padding-left: 48px !important;
2065 }
2066 }
2067
2068 .nhsuk-u-padding-8 {
2069 padding: 48px !important;
2070 }
2071 @media (min-width: 40.0625em) {
2072 .nhsuk-u-padding-8 {
2073 padding: 56px !important;
2074 }
2075 }
2076
2077 .nhsuk-u-padding-top-8 {
2078 padding-top: 48px !important;
2079 }
2080 @media (min-width: 40.0625em) {
2081 .nhsuk-u-padding-top-8 {
2082 padding-top: 56px !important;
2083 }
2084 }
2085
2086 .nhsuk-u-padding-right-8 {
2087 padding-right: 48px !important;
2088 }
2089 @media (min-width: 40.0625em) {
2090 .nhsuk-u-padding-right-8 {
2091 padding-right: 56px !important;
2092 }
2093 }
2094
2095 .nhsuk-u-padding-bottom-8 {
2096 padding-bottom: 48px !important;
2097 }
2098 @media (min-width: 40.0625em) {
2099 .nhsuk-u-padding-bottom-8 {
2100 padding-bottom: 56px !important;
2101 }
2102 }
2103
2104 .nhsuk-u-padding-left-8 {
2105 padding-left: 48px !important;
2106 }
2107 @media (min-width: 40.0625em) {
2108 .nhsuk-u-padding-left-8 {
2109 padding-left: 56px !important;
2110 }
2111 }
2112
2113 .nhsuk-u-padding-9 {
2114 padding: 56px !important;
2115 }
2116 @media (min-width: 40.0625em) {
2117 .nhsuk-u-padding-9 {
2118 padding: 64px !important;
2119 }
2120 }
2121
2122 .nhsuk-u-padding-top-9 {
2123 padding-top: 56px !important;
2124 }
2125 @media (min-width: 40.0625em) {
2126 .nhsuk-u-padding-top-9 {
2127 padding-top: 64px !important;
2128 }
2129 }
2130
2131 .nhsuk-u-padding-right-9 {
2132 padding-right: 56px !important;
2133 }
2134 @media (min-width: 40.0625em) {
2135 .nhsuk-u-padding-right-9 {
2136 padding-right: 64px !important;
2137 }
2138 }
2139
2140 .nhsuk-u-padding-bottom-9 {
2141 padding-bottom: 56px !important;
2142 }
2143 @media (min-width: 40.0625em) {
2144 .nhsuk-u-padding-bottom-9 {
2145 padding-bottom: 64px !important;
2146 }
2147 }
2148
2149 .nhsuk-u-padding-left-9 {
2150 padding-left: 56px !important;
2151 }
2152 @media (min-width: 40.0625em) {
2153 .nhsuk-u-padding-left-9 {
2154 padding-left: 64px !important;
2155 }
2156 }
2157
2158 /* ==========================================================================
2159 UTILITIES / #TYPOGRAPHY
2160 ========================================================================== */
2161 /**
2162 * Font size and line height
2163 *
2164 * Generate typography override classes for each responsive font map in the
2165 * typography scale eg .nhsuk-u-font-size-48
2166 *
2167 * Original code taken from GDS (Government Digital Service)
2168 * https://github.com/alphagov/govuk-frontend
2169 */
2170 .nhsuk-u-font-size-64 {
2171 font-size: 48px !important;
2172 font-size: 3rem !important;
2173 line-height: 1.16667 !important;
2174 }
2175 @media (min-width: 40.0625em) {
2176 .nhsuk-u-font-size-64 {
2177 font-size: 64px !important;
2178 font-size: 4rem !important;
2179 line-height: 1.125 !important;
2180 }
2181 }
2182 @media print {
2183 .nhsuk-u-font-size-64 {
2184 font-size: 53pt !important;
2185 line-height: 1.1 !important;
2186 }
2187 }
2188
2189 .nhsuk-u-font-size-48 {
2190 font-size: 32px !important;
2191 font-size: 2rem !important;
2192 line-height: 1.25 !important;
2193 }
2194 @media (min-width: 40.0625em) {
2195 .nhsuk-u-font-size-48 {
2196 font-size: 48px !important;
2197 font-size: 3rem !important;
2198 line-height: 1.16667 !important;
2199 }
2200 }
2201 @media print {
2202 .nhsuk-u-font-size-48 {
2203 font-size: 32pt !important;
2204 line-height: 1.15 !important;
2205 }
2206 }
2207
2208 .nhsuk-u-font-size-32 {
2209 font-size: 24px !important;
2210 font-size: 1.5rem !important;
2211 line-height: 1.33333 !important;
2212 }
2213 @media (min-width: 40.0625em) {
2214 .nhsuk-u-font-size-32 {
2215 font-size: 32px !important;
2216 font-size: 2rem !important;
2217 line-height: 1.25 !important;
2218 }
2219 }
2220 @media print {
2221 .nhsuk-u-font-size-32 {
2222 font-size: 24pt !important;
2223 line-height: 1.05 !important;
2224 }
2225 }
2226
2227 .nhsuk-u-font-size-24 {
2228 font-size: 20px !important;
2229 font-size: 1.25rem !important;
2230 line-height: 1.4 !important;
2231 }
2232 @media (min-width: 40.0625em) {
2233 .nhsuk-u-font-size-24 {
2234 font-size: 24px !important;
2235 font-size: 1.5rem !important;
2236 line-height: 1.33333 !important;
2237 }
2238 }
2239 @media print {
2240 .nhsuk-u-font-size-24 {
2241 font-size: 18pt !important;
2242 line-height: 1.15 !important;
2243 }
2244 }
2245
2246 .nhsuk-u-font-size-22 {
2247 font-size: 18px !important;
2248 font-size: 1.125rem !important;
2249 line-height: 1.55556 !important;
2250 }
2251 @media (min-width: 40.0625em) {
2252 .nhsuk-u-font-size-22 {
2253 font-size: 22px !important;
2254 font-size: 1.375rem !important;
2255 line-height: 1.45455 !important;
2256 }
2257 }
2258 @media print {
2259 .nhsuk-u-font-size-22 {
2260 font-size: 18pt !important;
2261 line-height: 1.15 !important;
2262 }
2263 }
2264
2265 .nhsuk-u-font-size-19 {
2266 font-size: 16px !important;
2267 font-size: 1rem !important;
2268 line-height: 1.5 !important;
2269 }
2270 @media (min-width: 40.0625em) {
2271 .nhsuk-u-font-size-19 {
2272 font-size: 19px !important;
2273 font-size: 1.1875rem !important;
2274 line-height: 1.47368 !important;
2275 }
2276 }
2277 @media print {
2278 .nhsuk-u-font-size-19 {
2279 font-size: 14pt !important;
2280 line-height: 1.15 !important;
2281 }
2282 }
2283
2284 .nhsuk-u-font-size-16 {
2285 font-size: 14px !important;
2286 font-size: 0.875rem !important;
2287 line-height: 1.71429 !important;
2288 }
2289 @media (min-width: 40.0625em) {
2290 .nhsuk-u-font-size-16 {
2291 font-size: 16px !important;
2292 font-size: 1rem !important;
2293 line-height: 1.5 !important;
2294 }
2295 }
2296 @media print {
2297 .nhsuk-u-font-size-16 {
2298 font-size: 14pt !important;
2299 line-height: 1.2 !important;
2300 }
2301 }
2302
2303 .nhsuk-u-font-size-14 {
2304 font-size: 12px !important;
2305 font-size: 0.75rem !important;
2306 line-height: 1.66667 !important;
2307 }
2308 @media (min-width: 40.0625em) {
2309 .nhsuk-u-font-size-14 {
2310 font-size: 14px !important;
2311 font-size: 0.875rem !important;
2312 line-height: 1.71429 !important;
2313 }
2314 }
2315 @media print {
2316 .nhsuk-u-font-size-14 {
2317 font-size: 12pt !important;
2318 line-height: 1.2 !important;
2319 }
2320 }
2321
2322 /* Weights
2323 ========================================================================== */
2324 /**
2325 * Generate font weight override classes for normal and bold
2326 * eg .nhsuk-u-font-weight-normal
2327 */
2328 .nhsuk-u-font-weight-normal {
2329 font-weight: 400 !important;
2330 }
2331
2332 .nhsuk-u-font-weight-bold {
2333 font-weight: 600 !important;
2334 }
2335
2336 /* Colours
2337 ========================================================================== */
2338 /**
2339 * Secondary text colour $nhsuk-secondary-text-color
2340 * eg <p class="nhsuk-u-secondary-text-color">Published on: 15 March 2018</p>
2341 */
2342 .nhsuk-u-secondary-text-color {
2343 color: #4c6272 !important; /* stylelint-disable-line declaration-no-important */
2344 }
2345
2346 /* ==========================================================================
2347 UTILITIES / #VISUALLY-HIDDEN
2348 ========================================================================== */
2349 /**
2350 * Hide elements visually but keep it in the DOM
2351 *
2352 * Usage: class="nhsuk-u-visually-hidden"
2353 * See tools/mixins
2354 */
2355 .nhsuk-u-visually-hidden {
2356 border: 0;
2357 clip: rect(0 0 0 0);
2358 -webkit-clip-path: inset(50%);
2359 clip-path: inset(50%);
2360 height: 1px;
2361 margin: 0;
2362 overflow: hidden;
2363 padding: 0;
2364 position: absolute;
2365 white-space: nowrap;
2366 width: 1px;
2367 }
2368
2369 /* ==========================================================================
2370 UTILITIES / #WIDTH
2371 ========================================================================== */
2372 /**
2373 * Original code taken from GDS (Government Digital Service)
2374 * https://github.com/alphagov/govuk-frontend
2375 * Force element widths on all screen sizes
2376 *
2377 * Usage: class="nhsuk-u-width-full"
2378 */
2379 /* stylelint-disable declaration-no-important */
2380 .nhsuk-u-width-full {
2381 width: 100% !important;
2382 }
2383
2384 .nhsuk-u-width-three-quarters {
2385 width: 100% !important;
2386 }
2387 @media (min-width: 40.0625em) {
2388 .nhsuk-u-width-three-quarters {
2389 width: 75% !important;
2390 }
2391 }
2392
2393 .nhsuk-u-width-two-thirds {
2394 width: 100% !important;
2395 }
2396 @media (min-width: 40.0625em) {
2397 .nhsuk-u-width-two-thirds {
2398 width: 66.66% !important;
2399 }
2400 }
2401
2402 .nhsuk-u-width-one-half {
2403 width: 100% !important;
2404 }
2405 @media (min-width: 40.0625em) {
2406 .nhsuk-u-width-one-half {
2407 width: 50% !important;
2408 }
2409 }
2410
2411 .nhsuk-u-width-one-third {
2412 width: 100% !important;
2413 }
2414 @media (min-width: 40.0625em) {
2415 .nhsuk-u-width-one-third {
2416 width: 33.33% !important;
2417 }
2418 }
2419
2420 .nhsuk-u-width-one-quarter {
2421 width: 100% !important;
2422 }
2423 @media (min-width: 40.0625em) {
2424 .nhsuk-u-width-one-quarter {
2425 width: 25% !important;
2426 }
2427 }
2428
2429 /* ==========================================================================
2430 COMPONENTS/ #ACTION-LINK
2431 ========================================================================== */
2432 /**
2433 * 1. Display is inline-block so the top and bottom margins/paddings are
2434 * respected.
2435 * 2. 'Random number' is used to properly have sufficient space between icon
2436 * and text.
2437 * 3. Position is relative so the arrow icon can display absolute.
2438 * 4. Text decoration none used to override default <a> styling.
2439 * 5. Box shadow 8px used instead of the default 4px.
2440 * 6. Text decoration underline used to override default <a> styling.
2441 */
2442 .nhsuk-action-link {
2443 margin-bottom: 32px;
2444 }
2445 @media (min-width: 40.0625em) {
2446 .nhsuk-action-link {
2447 margin-bottom: 40px;
2448 }
2449 }
2450
2451 .nhsuk-action-link__link {
2452 font-weight: 400;
2453 font-size: 18px;
2454 font-size: 1.125rem;
2455 line-height: 1.55556;
2456 }
2457 @media (min-width: 40.0625em) {
2458 .nhsuk-action-link__link {
2459 font-size: 22px;
2460 font-size: 1.375rem;
2461 line-height: 1.45455;
2462 }
2463 }
2464 @media print {
2465 .nhsuk-action-link__link {
2466 font-size: 18pt;
2467 line-height: 1.15;
2468 }
2469 }
2470 .nhsuk-action-link__link {
2471 display: inline-block; /* [1] */
2472 font-weight: 600;
2473 padding-left: 38px; /* [2] */
2474 position: relative; /* [3] */
2475 text-decoration: none; /* [4] */
2476 }
2477 .nhsuk-action-link__link:hover .nhsuk-action-link__text {
2478 text-decoration: underline; /* [6] */
2479 }
2480 .nhsuk-action-link__link:focus {
2481 background-color: #ffeb3b;
2482 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
2483 color: #212b32;
2484 outline: 4px solid transparent;
2485 text-decoration: none;
2486 }
2487 .nhsuk-action-link__link:focus:hover .nhsuk-action-link__text {
2488 color: #212b32;
2489 text-decoration: none;
2490 }
2491 @media (max-width: 40.0525em) {
2492 .nhsuk-action-link__link {
2493 padding-left: 26px; /* [2] */
2494 }
2495 }
2496 @media print {
2497 .nhsuk-action-link__link {
2498 color: #212b32;
2499 }
2500 .nhsuk-action-link__link:visited {
2501 color: #212b32;
2502 }
2503 }
2504 @media print {
2505 .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle {
2506 color: #212b32;
2507 fill: #212b32;
2508 }
2509 .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle:active, .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle:focus, .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle:visited {
2510 color: #212b32;
2511 }
2512 }
2513 .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle {
2514 fill: #007f3b;
2515 height: 36px;
2516 left: -3px;
2517 position: absolute;
2518 top: -2px;
2519 width: 36px;
2520 }
2521 @media (max-width: 40.0525em) {
2522 .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle {
2523 height: 24px;
2524 left: -2px;
2525 margin-bottom: 0;
2526 top: 2px;
2527 width: 24px;
2528 }
2529 }
2530
2531 /* ==========================================================================
2532 COMPONENTS/ #BACK-LINK
2533 ========================================================================== */
2534 /**
2535 * 1. Allow space for the arrow.
2536 * 2. Align the icon with the start of the back link.
2537 * 3. Align the icon with the middle of the text.
2538 */
2539 .nhsuk-back-link {
2540 margin-bottom: 16px;
2541 }
2542
2543 .nhsuk-back-link__link {
2544 font-size: 14px;
2545 font-size: 0.875rem;
2546 line-height: 1.71429;
2547 }
2548 @media (min-width: 40.0625em) {
2549 .nhsuk-back-link__link {
2550 font-size: 16px;
2551 font-size: 1rem;
2552 line-height: 1.5;
2553 }
2554 }
2555 @media print {
2556 .nhsuk-back-link__link {
2557 font-size: 14pt;
2558 line-height: 1.2;
2559 }
2560 }
2561 .nhsuk-back-link__link {
2562 color: #005eb8;
2563 }
2564 .nhsuk-back-link__link:visited {
2565 color: #330072;
2566 }
2567 .nhsuk-back-link__link:hover {
2568 color: #7c2855;
2569 text-decoration: none;
2570 }
2571 .nhsuk-back-link__link:focus {
2572 background-color: #ffeb3b;
2573 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
2574 color: #212b32;
2575 outline: 4px solid transparent;
2576 text-decoration: none;
2577 }
2578 .nhsuk-back-link__link:focus:hover {
2579 text-decoration: none;
2580 }
2581 .nhsuk-back-link__link:focus:visited {
2582 color: #212b32;
2583 }
2584 .nhsuk-back-link__link:focus .nhsuk-icon {
2585 fill: #212b32;
2586 }
2587 .nhsuk-back-link__link:active {
2588 color: #002f5c;
2589 }
2590 .nhsuk-back-link__link {
2591 background: none;
2592 border: 0;
2593 cursor: pointer;
2594 display: inline-block;
2595 padding: 0 0 0 16px; /* 1 */
2596 position: relative;
2597 text-decoration: none;
2598 }
2599 .nhsuk-back-link__link .nhsuk-icon__chevron-left {
2600 height: 24px;
2601 left: -8px; /* 2 */
2602 position: absolute;
2603 top: -1px; /* 3 */
2604 width: 24px;
2605 }
2606 .nhsuk-back-link__link:visited {
2607 color: #005eb8;
2608 }
2609 .nhsuk-back-link__link:hover {
2610 color: #7c2855;
2611 text-decoration: underline;
2612 }
2613 .nhsuk-back-link__link:hover .nhsuk-icon__chevron-left {
2614 fill: #7c2855;
2615 }
2616 .nhsuk-back-link__link:focus .nhsuk-icon__chevron-left {
2617 fill: #212b32;
2618 }
2619
2620 /* ==========================================================================
2621 COMPONENTS / #BREADCRUMB
2622 ========================================================================== */
2623 /**
2624 * 1. Hide the breadcrumb on print stylesheets.
2625 * 2. Bespoke spacing numbers used as there is no 20px
2626 * spacing mapped in settings/spacing.
2627 * 3. Don't show the full breadcrumb below tablet size.
2628 * 4. Typography sizing mixin, see core/tools/_typography
2629 * 5. and core/settings/_typography for size maps.
2630 * 5. .. but show a back to index page link.
2631 */
2632 @media print {
2633 .nhsuk-breadcrumb {
2634 display: none;
2635 }
2636 }
2637 .nhsuk-breadcrumb {
2638 /* [1] */
2639 padding-bottom: 16px;
2640 padding-top: 20px; /* [2] */
2641 }
2642 .nhsuk-breadcrumb + .nhsuk-width-container .nhsuk-main-wrapper {
2643 padding-top: 0;
2644 }
2645
2646 @media (max-width: 40.0525em) {
2647 .nhsuk-breadcrumb__list {
2648 display: none; /* [3] */
2649 }
2650 }
2651 .nhsuk-breadcrumb__list {
2652 list-style: none;
2653 margin: 0;
2654 padding: 0;
2655 }
2656
2657 .nhsuk-breadcrumb__item {
2658 font-weight: 400;
2659 font-size: 14px;
2660 font-size: 0.875rem;
2661 line-height: 1.71429;
2662 }
2663 @media (min-width: 40.0625em) {
2664 .nhsuk-breadcrumb__item {
2665 font-size: 16px;
2666 font-size: 1rem;
2667 line-height: 1.5;
2668 }
2669 }
2670 @media print {
2671 .nhsuk-breadcrumb__item {
2672 font-size: 14pt;
2673 line-height: 1.2;
2674 }
2675 }
2676 .nhsuk-breadcrumb__item {
2677 /* [4] */
2678 display: inline-block;
2679 margin-bottom: 0;
2680 }
2681 .nhsuk-breadcrumb__item:not(:last-child):after {
2682 background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__chevron-right' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' height='18' width='18' viewBox='0 0 24 24' aria-hidden='true'%3E%3Cpath d='M15.5 12a1 1 0 0 1-.29.71l-5 5a1 1 0 0 1-1.42-1.42l4.3-4.29-4.3-4.29a1 1 0 0 1 1.42-1.42l5 5a1 1 0 0 1 .29.71z'%3E%3C/path%3E%3C/svg%3E") right 0 top 4px no-repeat;
2683 content: "";
2684 display: inline-block;
2685 height: 18px;
2686 margin-left: 10px;
2687 margin-right: 2px;
2688 width: 18px;
2689 }
2690
2691 .nhsuk-breadcrumb__link:visited {
2692 color: #005eb8;
2693 }
2694 .nhsuk-breadcrumb__link:visited:hover {
2695 color: #7c2855;
2696 }
2697 .nhsuk-breadcrumb__link:focus:hover {
2698 color: #212b32;
2699 }
2700
2701 .nhsuk-breadcrumb__back {
2702 font-weight: 400;
2703 font-size: 14px;
2704 font-size: 0.875rem;
2705 line-height: 1.71429;
2706 }
2707 @media (min-width: 40.0625em) {
2708 .nhsuk-breadcrumb__back {
2709 font-size: 16px;
2710 font-size: 1rem;
2711 line-height: 1.5;
2712 }
2713 }
2714 @media print {
2715 .nhsuk-breadcrumb__back {
2716 font-size: 14pt;
2717 line-height: 1.2;
2718 }
2719 }
2720 .nhsuk-breadcrumb__back {
2721 /* [4] */
2722 margin: 0;
2723 padding-left: 16px;
2724 position: relative;
2725 }
2726 @media (min-width: 40.0625em) {
2727 .nhsuk-breadcrumb__back {
2728 display: none; /* [5] */
2729 }
2730 }
2731 .nhsuk-breadcrumb__back:before {
2732 background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__chevron-left' xmlns='http://www.w3.org/2000/svg' fill='%23005eb8' height='24' width='24' viewBox='8 0 24 24' aria-hidden='true'%3E%3Cpath d='M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
2733 content: "";
2734 display: inline-block;
2735 height: 18px;
2736 left: 0;
2737 position: absolute;
2738 top: 0;
2739 width: 10px;
2740 }
2741
2742 .nhsuk-breadcrumb__backlink:visited {
2743 color: #005eb8;
2744 }
2745 .nhsuk-breadcrumb__backlink:visited:hover {
2746 color: #7c2855;
2747 }
2748
2749 /* ==========================================================================
2750 COMPONENTS/ #BUTTON
2751 ========================================================================== */
2752 /**
2753 * 1. Ensure that any global link styles are overridden.
2754 * 2. Fix unwanted button padding in Firefox.
2755 * 3. Use a pseudo element to expand the click target area to include the
2756 * button's shadow as well, in case users try to click it.
2757 */
2758 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2759 font-weight: 400;
2760 font-size: 16px;
2761 font-size: 1rem;
2762 line-height: 1.5;
2763 }
2764 @media (min-width: 40.0625em) {
2765 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2766 font-size: 19px;
2767 font-size: 1.1875rem;
2768 line-height: 1.47368;
2769 }
2770 }
2771 @media print {
2772 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2773 font-size: 14pt;
2774 line-height: 1.15;
2775 }
2776 }
2777 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2778 margin-bottom: 28px;
2779 }
2780 @media (min-width: 40.0625em) {
2781 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2782 margin-bottom: 36px;
2783 }
2784 }
2785 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2786 -webkit-appearance: none;
2787 background-color: #007f3b;
2788 border: 2px solid transparent;
2789 border-radius: 4px;
2790 box-shadow: 0 4px 0 rgb(0, 63.5, 29.5);
2791 box-sizing: border-box;
2792 color: #ffffff;
2793 cursor: pointer;
2794 display: inline-block;
2795 font-weight: 600;
2796 margin-top: 0;
2797 padding: 12px 16px;
2798 position: relative;
2799 text-align: center;
2800 vertical-align: top;
2801 width: auto;
2802 }
2803 @media (max-width: 40.0525em) {
2804 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2805 padding: 8px 16px;
2806 }
2807 }
2808 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2809 /* 2 */
2810 }
2811 .nhsuk-button:link, .wp-block-button__link:link, .wp-block-file__button:link, .wp-block-file a.wp-block-file__button:link, .nhsuk-button:visited, .wp-block-button__link:visited, .wp-block-file__button:visited, .wp-block-file a.wp-block-file__button:visited, .nhsuk-button:active, .wp-block-button__link:active, .wp-block-file__button:active, .wp-block-file a.wp-block-file__button:active, .nhsuk-button:hover, .wp-block-button__link:hover, .wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:hover {
2812 color: #ffffff;
2813 text-decoration: none;
2814 }
2815 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2816 /* 3 */
2817 }
2818 .nhsuk-button::-moz-focus-inner, .wp-block-button__link::-moz-focus-inner, .wp-block-file__button::-moz-focus-inner, .wp-block-file a.wp-block-file__button::-moz-focus-inner, .wp-block-file a.wp-block-file__button:active::-moz-focus-inner, .wp-block-file a.wp-block-file__button:focus::-moz-focus-inner, .wp-block-file a.wp-block-file__button:hover::-moz-focus-inner, .wp-block-file a.wp-block-file__button:visited::-moz-focus-inner {
2819 border: 0;
2820 padding: 0;
2821 }
2822 .nhsuk-button:hover, .wp-block-button__link:hover, .wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:hover {
2823 background-color: rgb(0, 101.6, 47.2);
2824 }
2825 .nhsuk-button:focus, .wp-block-button__link:focus, .wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:focus {
2826 background: #ffeb3b;
2827 box-shadow: 0 4px 0 #212b32;
2828 color: #212b32;
2829 outline: 4px solid transparent;
2830 }
2831 .nhsuk-button:focus:visited, .wp-block-button__link:focus:visited, .wp-block-file__button:focus:visited {
2832 color: #212b32;
2833 }
2834 .nhsuk-button:focus:visited:active, .wp-block-button__link:focus:visited:active, .wp-block-file__button:focus:visited:active {
2835 color: #ffffff;
2836 }
2837 .nhsuk-button:active, .wp-block-button__link:active, .wp-block-file__button:active, .wp-block-file a.wp-block-file__button:active {
2838 background: rgb(0, 63.5, 29.5);
2839 box-shadow: none;
2840 color: #ffffff;
2841 top: 4px;
2842 }
2843 .nhsuk-button, .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
2844 /* 4 */
2845 }
2846 .nhsuk-button::before, .wp-block-button__link::before, .wp-block-file__button::before, .wp-block-file a.wp-block-file__button::before, .wp-block-file a.wp-block-file__button:active::before, .wp-block-file a.wp-block-file__button:focus::before, .wp-block-file a.wp-block-file__button:hover::before, .wp-block-file a.wp-block-file__button:visited::before {
2847 background: transparent;
2848 bottom: -6px;
2849 content: "";
2850 display: block;
2851 left: -2px;
2852 position: absolute;
2853 right: -2px;
2854 top: -2px;
2855 }
2856 .nhsuk-button:active::before, .wp-block-button__link:active::before, .wp-block-file__button:active::before {
2857 top: -6px;
2858 }
2859
2860 /**
2861 * Button variations
2862 */
2863 .nhsuk-button--secondary, .nhsuk-button.is-style-secondary, .is-style-secondary.wp-block-button__link, .is-style-secondary.wp-block-file__button, .wp-block-file a.is-style-secondary.wp-block-file__button {
2864 background-color: #4c6272;
2865 box-shadow: 0 4px 0 #263139;
2866 }
2867 .nhsuk-button--secondary:hover, .nhsuk-button.is-style-secondary:hover, .is-style-secondary.wp-block-button__link:hover, .is-style-secondary.wp-block-file__button:hover {
2868 background-color: rgb(55.6, 71.6947368421, 83.4);
2869 }
2870 .nhsuk-button--secondary:focus, .nhsuk-button.is-style-secondary:focus, .is-style-secondary.wp-block-button__link:focus, .is-style-secondary.wp-block-file__button:focus {
2871 background: #ffeb3b;
2872 box-shadow: 0 4px 0 #212b32;
2873 color: #212b32;
2874 outline: 4px solid transparent;
2875 }
2876 .nhsuk-button--secondary:active, .nhsuk-button.is-style-secondary:active, .is-style-secondary.wp-block-button__link:active, .is-style-secondary.wp-block-file__button:active {
2877 background: #263139;
2878 box-shadow: none;
2879 color: #ffffff;
2880 top: 4px;
2881 }
2882 .nhsuk-button--secondary.nhsuk-button--disabled, .nhsuk-button--disabled.nhsuk-button.is-style-secondary, .nhsuk-button--disabled.is-style-secondary.wp-block-button__link, .nhsuk-button--disabled.is-style-secondary.wp-block-file__button {
2883 background-color: #4c6272;
2884 }
2885
2886 .nhsuk-button--reverse, .nhsuk-button.is-style-reverse, .is-style-reverse.wp-block-button__link, .is-style-reverse.wp-block-file__button, .wp-block-file a.is-style-reverse.wp-block-file__button {
2887 background-color: #ffffff;
2888 box-shadow: 0 4px 0 #212b32;
2889 color: #212b32;
2890 }
2891 .nhsuk-button--reverse:hover, .nhsuk-button.is-style-reverse:hover, .is-style-reverse.wp-block-button__link:hover, .is-style-reverse.wp-block-file__button:hover {
2892 background-color: rgb(242.25, 242.25, 242.25);
2893 color: #212b32;
2894 }
2895 .nhsuk-button--reverse:focus, .nhsuk-button.is-style-reverse:focus, .is-style-reverse.wp-block-button__link:focus, .is-style-reverse.wp-block-file__button:focus {
2896 background: #ffeb3b;
2897 box-shadow: 0 4px 0 #212b32;
2898 color: #212b32;
2899 outline: 4px solid transparent;
2900 }
2901 .nhsuk-button--reverse:active, .nhsuk-button.is-style-reverse:active, .is-style-reverse.wp-block-button__link:active, .is-style-reverse.wp-block-file__button:active {
2902 background: #212b32;
2903 box-shadow: none;
2904 color: #ffffff;
2905 top: 4px;
2906 }
2907 .nhsuk-button--reverse:link, .nhsuk-button.is-style-reverse:link, .is-style-reverse.wp-block-button__link:link, .is-style-reverse.wp-block-file__button:link {
2908 color: #212b32;
2909 }
2910 .nhsuk-button--reverse:link:active, .nhsuk-button.is-style-reverse:link:active, .is-style-reverse.wp-block-button__link:link:active, .is-style-reverse.wp-block-file__button:link:active {
2911 color: #ffffff;
2912 }
2913 .nhsuk-button--reverse.nhsuk-button--disabled, .nhsuk-button--disabled.nhsuk-button.is-style-reverse, .nhsuk-button--disabled.is-style-reverse.wp-block-button__link, .nhsuk-button--disabled.is-style-reverse.wp-block-file__button {
2914 background-color: #ffffff;
2915 }
2916 .nhsuk-button--reverse.nhsuk-button--disabled:focus, .nhsuk-button--disabled.nhsuk-button.is-style-reverse:focus, .nhsuk-button--disabled.is-style-reverse.wp-block-button__link:focus, .nhsuk-button--disabled.is-style-reverse.wp-block-file__button:focus {
2917 background-color: #ffffff;
2918 }
2919
2920 .nhsuk-button--warning {
2921 background-color: #d5281b;
2922 box-shadow: 0 4px 0 rgb(106.5, 20, 13.5);
2923 }
2924 .nhsuk-button--warning:hover {
2925 background-color: rgb(167.7375, 31.5, 21.2625);
2926 }
2927 .nhsuk-button--warning:focus {
2928 background: #ffeb3b;
2929 box-shadow: 0 4px 0 #212b32;
2930 color: #212b32;
2931 outline: 4px solid transparent;
2932 }
2933 .nhsuk-button--warning:active {
2934 background: rgb(106.5, 20, 13.5);
2935 box-shadow: none;
2936 color: #ffffff;
2937 top: 4px;
2938 }
2939 .nhsuk-button--warning.nhsuk-button--disabled {
2940 background-color: #d5281b;
2941 }
2942
2943 /**
2944 * Button disabled states
2945 */
2946 /* stylelint-disable string-quotes */
2947 .nhsuk-button--disabled,
2948 .nhsuk-button[disabled=disabled],
2949 [disabled=disabled].wp-block-button__link,
2950 [disabled=disabled].wp-block-file__button,
2951 .wp-block-file a[disabled=disabled].wp-block-file__button,
2952 .nhsuk-button[disabled],
2953 [disabled].wp-block-button__link,
2954 [disabled].wp-block-file__button,
2955 .wp-block-file a[disabled].wp-block-file__button {
2956 background-color: #007f3b;
2957 opacity: 0.5;
2958 pointer-events: none;
2959 }
2960 .nhsuk-button--disabled:hover,
2961 .nhsuk-button[disabled=disabled]:hover,
2962 [disabled=disabled].wp-block-button__link:hover,
2963 [disabled=disabled].wp-block-file__button:hover,
2964 .nhsuk-button[disabled]:hover,
2965 [disabled].wp-block-button__link:hover,
2966 [disabled].wp-block-file__button:hover {
2967 background-color: #007f3b;
2968 cursor: default;
2969 }
2970 .nhsuk-button--disabled:focus,
2971 .nhsuk-button[disabled=disabled]:focus,
2972 [disabled=disabled].wp-block-button__link:focus,
2973 [disabled=disabled].wp-block-file__button:focus,
2974 .nhsuk-button[disabled]:focus,
2975 [disabled].wp-block-button__link:focus,
2976 [disabled].wp-block-file__button:focus {
2977 background-color: #007f3b;
2978 outline: none;
2979 }
2980 .nhsuk-button--disabled:active,
2981 .nhsuk-button[disabled=disabled]:active,
2982 [disabled=disabled].wp-block-button__link:active,
2983 [disabled=disabled].wp-block-file__button:active,
2984 .nhsuk-button[disabled]:active,
2985 [disabled].wp-block-button__link:active,
2986 [disabled].wp-block-file__button:active {
2987 box-shadow: 0 4px 0 rgb(0, 63.5, 29.5);
2988 top: 0;
2989 }
2990
2991 .nhsuk-button--secondary[disabled=disabled], [disabled=disabled].nhsuk-button.is-style-secondary, [disabled=disabled].is-style-secondary.wp-block-button__link, [disabled=disabled].is-style-secondary.wp-block-file__button,
2992 .nhsuk-button--secondary[disabled],
2993 [disabled].nhsuk-button.is-style-secondary,
2994 [disabled].is-style-secondary.wp-block-button__link,
2995 [disabled].is-style-secondary.wp-block-file__button {
2996 background-color: #4c6272;
2997 opacity: 0.5;
2998 }
2999 .nhsuk-button--secondary[disabled=disabled]:hover, [disabled=disabled].nhsuk-button.is-style-secondary:hover, [disabled=disabled].is-style-secondary.wp-block-button__link:hover, [disabled=disabled].is-style-secondary.wp-block-file__button:hover,
3000 .nhsuk-button--secondary[disabled]:hover,
3001 [disabled].nhsuk-button.is-style-secondary:hover,
3002 [disabled].is-style-secondary.wp-block-button__link:hover,
3003 [disabled].is-style-secondary.wp-block-file__button:hover {
3004 background-color: #4c6272;
3005 cursor: default;
3006 }
3007 .nhsuk-button--secondary[disabled=disabled]:focus, [disabled=disabled].nhsuk-button.is-style-secondary:focus, [disabled=disabled].is-style-secondary.wp-block-button__link:focus, [disabled=disabled].is-style-secondary.wp-block-file__button:focus,
3008 .nhsuk-button--secondary[disabled]:focus,
3009 [disabled].nhsuk-button.is-style-secondary:focus,
3010 [disabled].is-style-secondary.wp-block-button__link:focus,
3011 [disabled].is-style-secondary.wp-block-file__button:focus {
3012 outline: none;
3013 }
3014 .nhsuk-button--secondary[disabled=disabled]:active, [disabled=disabled].nhsuk-button.is-style-secondary:active, [disabled=disabled].is-style-secondary.wp-block-button__link:active, [disabled=disabled].is-style-secondary.wp-block-file__button:active,
3015 .nhsuk-button--secondary[disabled]:active,
3016 [disabled].nhsuk-button.is-style-secondary:active,
3017 [disabled].is-style-secondary.wp-block-button__link:active,
3018 [disabled].is-style-secondary.wp-block-file__button:active {
3019 box-shadow: 0 4px 0 #263139;
3020 top: 0;
3021 }
3022
3023 .nhsuk-button--reverse[disabled=disabled], [disabled=disabled].nhsuk-button.is-style-reverse, [disabled=disabled].is-style-reverse.wp-block-button__link, [disabled=disabled].is-style-reverse.wp-block-file__button,
3024 .nhsuk-button--reverse[disabled],
3025 [disabled].nhsuk-button.is-style-reverse,
3026 [disabled].is-style-reverse.wp-block-button__link,
3027 [disabled].is-style-reverse.wp-block-file__button {
3028 background-color: #ffffff;
3029 opacity: 0.5;
3030 }
3031 .nhsuk-button--reverse[disabled=disabled]:hover, [disabled=disabled].nhsuk-button.is-style-reverse:hover, [disabled=disabled].is-style-reverse.wp-block-button__link:hover, [disabled=disabled].is-style-reverse.wp-block-file__button:hover,
3032 .nhsuk-button--reverse[disabled]:hover,
3033 [disabled].nhsuk-button.is-style-reverse:hover,
3034 [disabled].is-style-reverse.wp-block-button__link:hover,
3035 [disabled].is-style-reverse.wp-block-file__button:hover {
3036 background-color: #ffffff;
3037 cursor: default;
3038 }
3039 .nhsuk-button--reverse[disabled=disabled]:focus, [disabled=disabled].nhsuk-button.is-style-reverse:focus, [disabled=disabled].is-style-reverse.wp-block-button__link:focus, [disabled=disabled].is-style-reverse.wp-block-file__button:focus,
3040 .nhsuk-button--reverse[disabled]:focus,
3041 [disabled].nhsuk-button.is-style-reverse:focus,
3042 [disabled].is-style-reverse.wp-block-button__link:focus,
3043 [disabled].is-style-reverse.wp-block-file__button:focus {
3044 outline: none;
3045 }
3046 .nhsuk-button--reverse[disabled=disabled]:active, [disabled=disabled].nhsuk-button.is-style-reverse:active, [disabled=disabled].is-style-reverse.wp-block-button__link:active, [disabled=disabled].is-style-reverse.wp-block-file__button:active,
3047 .nhsuk-button--reverse[disabled]:active,
3048 [disabled].nhsuk-button.is-style-reverse:active,
3049 [disabled].is-style-reverse.wp-block-button__link:active,
3050 [disabled].is-style-reverse.wp-block-file__button:active {
3051 box-shadow: 0 4px 0 #212b32;
3052 top: 0;
3053 }
3054
3055 /* ==========================================================================
3056 COMPONENTS / #CARD
3057 ========================================================================== */
3058 /**
3059 * 1. Is needed for the :active top positioning, and invisible clickable overlay.
3060 * 2. Border is used to create a divider between the white content
3061 * box and an image.
3062 * 3. Creates the 'pressed down' effect when clicked.
3063 * 4. Removes padding-top from headings directly after the card group.
3064 * 5. Includes the border width to achieve the correct left alignment.
3065 * 6. Stops the heading from spanning the full width of the card.
3066 * 7. Removes padding top for the feature heading positioning.
3067 * 8. Default care card colour set to blue (non-urgent care card) -
3068 * using the @mixin care-card tools/_mixins.scss.
3069 * The same mixin is used for each care card, setting the background
3070 * colour,text colour and print border width with the variables.
3071 * 9. 'Random number' for the heading triangle.
3072 * 10. 'Random number' for the heading triangle positioning.
3073 * 11. 'Random number' used for spacing to compensate for the triangle.
3074 * 12. Needed to enable the triangle to show correctly in high contrast mode.
3075 * 13. Prevent additional padding on headings
3076 * 14. Give the action link icon sufficient contrast when used in the emergency variant
3077 * 15. Reset the positioning to the default [1] to display heading triangle on a coloured background.
3078 * 16. Emergency care card <a> needs to be white because the background colour is black.
3079 * 17. Trick IE10 into rendering the invisible clickable area. Without this it does not.
3080 */
3081 .nhsuk-card {
3082 margin-bottom: 40px;
3083 }
3084 @media (min-width: 40.0625em) {
3085 .nhsuk-card {
3086 margin-bottom: 48px;
3087 }
3088 }
3089 .nhsuk-card {
3090 background: #ffffff;
3091 border: 1px solid #d8dde0;
3092 position: relative; /* [1] */
3093 width: 100%;
3094 }
3095
3096 @media print {
3097 .nhsuk-card__img {
3098 display: none;
3099 }
3100 }
3101 .nhsuk-card__img {
3102 border-bottom: 1px solid #f0f4f5; /* [2] */
3103 display: block;
3104 width: 100%;
3105 }
3106
3107 .nhsuk-card__content > *:first-child {
3108 margin-top: 0;
3109 }
3110 .nhsuk-card__content > *:last-child {
3111 margin-bottom: 0;
3112 }
3113 .nhsuk-card__content {
3114 padding: 24px;
3115 }
3116 @media (min-width: 40.0625em) {
3117 .nhsuk-card__content {
3118 padding: 32px;
3119 }
3120 }
3121
3122 .nhsuk-card__heading, .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2,
3123 .nhsuk-card__metadata,
3124 .nhsuk-card__description {
3125 margin-bottom: 16px;
3126 }
3127
3128 /* Clickable card
3129 ========================================================================== */
3130 .nhsuk-card--clickable {
3131 border-bottom-width: 4px;
3132 }
3133 .nhsuk-card--clickable .nhsuk-card__heading a::before, .nhsuk-card--clickable .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 a::before, .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-card--clickable h2 a::before,
3134 .nhsuk-card--clickable .nhsuk-card__link::before {
3135 background-color: rgba(255, 255, 255, 0); /* [17] */
3136 bottom: 0;
3137 content: "";
3138 display: block;
3139 left: 0;
3140 position: absolute;
3141 right: 0;
3142 top: 0;
3143 }
3144 .nhsuk-card--clickable:active {
3145 border-color: #aeb7bd;
3146 bottom: -1px; /* [3] */
3147 }
3148
3149 /* Card group
3150 ========================================================================== */
3151 /**
3152 * Card group allows you to have a row of cards.
3153 *
3154 * Flexbox is used to make each card in a row the same height.
3155 */
3156 .nhsuk-card-group {
3157 display: flex;
3158 flex-wrap: wrap;
3159 margin-bottom: 16px;
3160 padding: 0;
3161 }
3162 @media (max-width: 48.0525em) {
3163 .nhsuk-card-group {
3164 margin-bottom: 40px;
3165 }
3166 }
3167 .nhsuk-card-group + h2,
3168 .nhsuk-card-group + .nhsuk-heading-l,
3169 .nhsuk-card-group + h3,
3170 .nhsuk-card-group + .nhsuk-heading-m,
3171 .nhsuk-card.is-style-panel-with-label .nhsuk-card__content .nhsuk-card-group + h2 {
3172 padding-top: 0; /* [4] */
3173 }
3174
3175 .nhsuk-card-group__item {
3176 display: flex;
3177 }
3178 @media (max-width: 48.0525em) {
3179 .nhsuk-card-group__item {
3180 flex: 0 0 100%;
3181 }
3182 }
3183 .nhsuk-card-group__item {
3184 list-style-type: none;
3185 margin-bottom: 0;
3186 }
3187 .nhsuk-card-group__item .nhsuk-card {
3188 margin-bottom: 32px;
3189 }
3190 @media (max-width: 48.0525em) {
3191 .nhsuk-card-group__item .nhsuk-card {
3192 margin-bottom: 16px;
3193 }
3194 .nhsuk-card-group__item:last-child .nhsuk-card {
3195 margin-bottom: 0;
3196 }
3197 }
3198
3199 /* Card feature
3200 ========================================================================== */
3201 .nhsuk-card--feature, .nhsuk-card.is-style-panel-with-label {
3202 margin-top: 40px;
3203 }
3204 @media (min-width: 40.0625em) {
3205 .nhsuk-card--feature, .nhsuk-card.is-style-panel-with-label {
3206 margin-top: 48px;
3207 }
3208 }
3209
3210 .nhsuk-card__heading--feature, .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
3211 background: #005eb8;
3212 color: #ffffff;
3213 display: inline-block;
3214 left: -25px; /* [5] */
3215 margin-bottom: 8px;
3216 margin-right: -24px; /* [6] */
3217 padding: 8px 24px;
3218 position: relative;
3219 top: -8px;
3220 }
3221 @media (min-width: 40.0625em) {
3222 .nhsuk-card__heading--feature, .nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
3223 left: -33px; /* [5] */
3224 margin-right: -32px; /* [6] */
3225 padding: 8px 32px;
3226 top: -16px;
3227 }
3228 }
3229
3230 .nhsuk-card__content--feature, .nhsuk-card.is-style-panel-with-label .nhsuk-card__content {
3231 padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */ /* [7] */
3232 }
3233
3234 /* Care card
3235 ========================================================================== */
3236 .nhsuk-card--care {
3237 margin-top: 40px;
3238 }
3239 @media (min-width: 40.0625em) {
3240 .nhsuk-card--care {
3241 margin-top: 48px;
3242 }
3243 }
3244 .nhsuk-card--care .nhsuk-card--care__heading-container {
3245 background-color: #005eb8;
3246 color: #ffffff;
3247 }
3248 @media print {
3249 .nhsuk-card--care {
3250 border: 4px solid #212b32;
3251 color: #212b32;
3252 page-break-inside: avoid;
3253 }
3254 }
3255 .nhsuk-card--care {
3256 /* [8] */
3257 }
3258
3259 .nhsuk-card--care__heading-container {
3260 padding-left: 24px;
3261 }
3262 @media (min-width: 40.0625em) {
3263 .nhsuk-card--care__heading-container {
3264 padding-left: 32px;
3265 }
3266 }
3267 .nhsuk-card--care__heading-container {
3268 padding-right: 24px;
3269 }
3270 @media (min-width: 40.0625em) {
3271 .nhsuk-card--care__heading-container {
3272 padding-right: 32px;
3273 }
3274 }
3275 .nhsuk-card--care__heading-container {
3276 padding-bottom: 16px;
3277 padding-top: 16px;
3278 position: relative;
3279 }
3280
3281 .nhsuk-card--care__heading {
3282 font-weight: 600;
3283 font-size: 20px;
3284 font-size: 1.25rem;
3285 line-height: 1.4;
3286 }
3287 @media (min-width: 40.0625em) {
3288 .nhsuk-card--care__heading {
3289 font-size: 24px;
3290 font-size: 1.5rem;
3291 line-height: 1.33333;
3292 }
3293 }
3294 @media print {
3295 .nhsuk-card--care__heading {
3296 font-size: 18pt;
3297 line-height: 1.15;
3298 }
3299 }
3300 @media print {
3301 .nhsuk-card--care__heading {
3302 color: #212b32;
3303 fill: #212b32;
3304 }
3305 .nhsuk-card--care__heading:active, .nhsuk-card--care__heading:focus, .nhsuk-card--care__heading:visited {
3306 color: #212b32;
3307 }
3308 }
3309 .nhsuk-card--care__heading {
3310 margin: 0;
3311 padding-top: 0; /* [13] */
3312 }
3313
3314 .nhsuk-card--care__arrow {
3315 bottom: -10px; /* [9] */
3316 display: block;
3317 height: 20px; /* [9] */
3318 left: 30px; /* [10] */
3319 overflow: hidden;
3320 position: absolute;
3321 transform: rotate(45deg);
3322 width: 20px; /* [9] */
3323 }
3324 @media print {
3325 .nhsuk-card--care__arrow {
3326 display: none;
3327 }
3328 }
3329 @media (min-width: 40.0625em) {
3330 .nhsuk-card--care__arrow {
3331 left: 38px; /* [10] */
3332 }
3333 }
3334 .nhsuk-card--care__arrow:before, .nhsuk-card--care__arrow:after {
3335 border: solid 32px #005eb8; /* [9] */
3336 content: "";
3337 display: block;
3338 height: 0;
3339 position: absolute;
3340 top: 0;
3341 transform: rotate(45deg); /* [12] */
3342 width: 0;
3343 }
3344
3345 .nhsuk-card--care--urgent .nhsuk-card--care__heading-container {
3346 background-color: #d5281b;
3347 color: #ffffff;
3348 }
3349 @media print {
3350 .nhsuk-card--care--urgent {
3351 border: 6px solid #212b32;
3352 color: #212b32;
3353 page-break-inside: avoid;
3354 }
3355 }
3356 .nhsuk-card--care--urgent .nhsuk-card--care__arrow:before, .nhsuk-card--care--urgent .nhsuk-card--care__arrow:after {
3357 border-color: #d5281b;
3358 }
3359
3360 .nhsuk-card--care--emergency .nhsuk-card--care__heading-container {
3361 background-color: #d5281b;
3362 color: #ffffff;
3363 }
3364 @media print {
3365 .nhsuk-card--care--emergency {
3366 border: 8px solid #212b32;
3367 color: #212b32;
3368 page-break-inside: avoid;
3369 }
3370 }
3371 .nhsuk-card--care--emergency .nhsuk-card--care__arrow:before, .nhsuk-card--care--emergency .nhsuk-card--care__arrow:after {
3372 border-color: #d5281b;
3373 }
3374 .nhsuk-card--care--emergency .nhsuk-card__content {
3375 background-color: #212b32;
3376 border: 0;
3377 color: #ffffff;
3378 position: static; /* [15] */
3379 }
3380 .nhsuk-card--care--emergency .nhsuk-card__content a {
3381 color: #ffffff; /* [16] */
3382 }
3383 .nhsuk-card--care--emergency .nhsuk-card__content a:focus {
3384 color: #212b32; /* [16] */
3385 }
3386 .nhsuk-card--care--emergency .nhsuk-details,
3387 .nhsuk-card--care--emergency .nhsuk-details__summary {
3388 color: #ffffff;
3389 }
3390 .nhsuk-card--care--emergency .nhsuk-details__summary:hover {
3391 color: #ffffff;
3392 }
3393 .nhsuk-card--care--emergency .nhsuk-details__summary:focus {
3394 color: #212b32;
3395 }
3396 .nhsuk-card--care--emergency .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle {
3397 fill: #ffffff; /* [14] */
3398 }
3399
3400 /* Card primary
3401 ========================================================================== */
3402 .nhsuk-card__content--primary {
3403 padding-right: 75px;
3404 }
3405 @media (min-width: 48.0625em) {
3406 .nhsuk-card__content--primary {
3407 height: 100%;
3408 }
3409 }
3410 .nhsuk-card__content--primary .nhsuk-icon {
3411 display: block;
3412 fill: #005eb8;
3413 margin-top: -8px;
3414 pointer-events: none;
3415 position: absolute;
3416 right: 24px;
3417 top: 50%;
3418 }
3419
3420 /* Card secondary
3421 ========================================================================== */
3422 .nhsuk-card--secondary {
3423 background: transparent;
3424 border-bottom: 4px solid #d8dde0;
3425 border-left: 0;
3426 border-right: 0;
3427 border-top: 0;
3428 }
3429
3430 .nhsuk-card__content--secondary {
3431 padding-left: 0;
3432 padding-right: 0;
3433 padding-top: 0;
3434 }
3435
3436 /* ==========================================================================
3437 COMPONENTS/ #CHECKBOXES
3438 ========================================================================== */
3439 /**
3440 * 1. remove 300ms pause on mobile.
3441 * 2. Fix bug in IE11 caused by transform rotate (-45deg).
3442 */
3443 .nhsuk-checkboxes__item {
3444 font-weight: 400;
3445 font-size: 16px;
3446 font-size: 1rem;
3447 line-height: 1.5;
3448 }
3449 @media (min-width: 40.0625em) {
3450 .nhsuk-checkboxes__item {
3451 font-size: 19px;
3452 font-size: 1.1875rem;
3453 line-height: 1.47368;
3454 }
3455 }
3456 @media print {
3457 .nhsuk-checkboxes__item {
3458 font-size: 14pt;
3459 line-height: 1.15;
3460 }
3461 }
3462 .nhsuk-checkboxes__item {
3463 clear: left;
3464 display: block;
3465 margin-bottom: 8px;
3466 min-height: 40px;
3467 padding: 0 0 0 40px;
3468 position: relative;
3469 }
3470
3471 .nhsuk-checkboxes__item:last-child,
3472 .nhsuk-checkboxes__item:last-of-type {
3473 margin-bottom: 0;
3474 }
3475
3476 .nhsuk-checkboxes__input {
3477 cursor: pointer;
3478 height: 40px;
3479 left: 0;
3480 margin: 0;
3481 opacity: 0;
3482 position: absolute;
3483 top: 0;
3484 width: 40px;
3485 z-index: 1;
3486 }
3487
3488 .nhsuk-checkboxes__label {
3489 cursor: pointer;
3490 display: inline-block;
3491 margin-bottom: 0;
3492 padding: 8px 12px 4px;
3493 -ms-touch-action: manipulation; /* 1 */
3494 touch-action: manipulation;
3495 }
3496
3497 .nhsuk-checkboxes__hint {
3498 display: block;
3499 padding-left: 12px;
3500 padding-right: 12px;
3501 }
3502
3503 .nhsuk-checkboxes__input + .nhsuk-checkboxes__label::before {
3504 background: #ffffff;
3505 border: 2px solid #4c6272;
3506 box-sizing: border-box;
3507 content: "";
3508 height: 40px;
3509 left: 0;
3510 position: absolute;
3511 top: 0;
3512 width: 40px;
3513 }
3514
3515 .nhsuk-checkboxes__input + .nhsuk-checkboxes__label::after {
3516 background: transparent;
3517 border: solid;
3518 border-top-color: transparent;
3519 border-width: 0 0 4px 4px;
3520 content: "";
3521 height: 10px;
3522 left: 10px;
3523 opacity: 0; /* 2 */
3524 position: absolute;
3525 top: 13px;
3526 -ms-transform: rotate(-45deg);
3527 -webkit-transform: rotate(-45deg);
3528 transform: rotate(-45deg);
3529 width: 22px;
3530 }
3531
3532 /*
3533 * Focus state
3534 *
3535 * 1. Since box-shadows are removed when users customise their colours
3536 * We set a transparent outline that is shown instead.
3537 * https://accessibility.blog.gov.uk/2017/03/27/how-users-change-colours-on-websites/
3538 */
3539 .nhsuk-checkboxes__input:focus + .nhsuk-checkboxes__label::before {
3540 border: 4px solid #212b32;
3541 box-shadow: 0 0 0 4px #ffeb3b;
3542 }
3543
3544 /* Selected state */
3545 .nhsuk-checkboxes__input:checked + .nhsuk-checkboxes__label::after {
3546 opacity: 1;
3547 }
3548
3549 /* Disabled state */
3550 .nhsuk-checkboxes__input:disabled,
3551 .nhsuk-checkboxes__input:disabled + .nhsuk-checkboxes__label {
3552 cursor: default;
3553 }
3554
3555 .nhsuk-checkboxes__input:disabled + .nhsuk-checkboxes__label {
3556 opacity: 0.5;
3557 }
3558
3559 /* Divider variant */
3560 .nhsuk-checkboxes__divider {
3561 font-weight: 400;
3562 font-size: 16px;
3563 font-size: 1rem;
3564 line-height: 1.5;
3565 }
3566 @media (min-width: 40.0625em) {
3567 .nhsuk-checkboxes__divider {
3568 font-size: 19px;
3569 font-size: 1.1875rem;
3570 line-height: 1.47368;
3571 }
3572 }
3573 @media print {
3574 .nhsuk-checkboxes__divider {
3575 font-size: 14pt;
3576 line-height: 1.15;
3577 }
3578 }
3579 .nhsuk-checkboxes__divider {
3580 color: #212b32;
3581 margin-bottom: 8px;
3582 text-align: center;
3583 width: 40px;
3584 }
3585
3586 /*
3587 * Conditional
3588 *
3589 * 1. Calculate the amount of padding needed to keep the border
3590 * centered against the checkbox.
3591 * 2. Move the border centered with the checkbox.
3592 * 3. Move the contents of the conditional inline with the label.
3593 */
3594 /* 1 */
3595 /* 2 */
3596 /* 3 */
3597 .nhsuk-checkboxes__conditional {
3598 margin-bottom: 16px;
3599 }
3600 @media (min-width: 40.0625em) {
3601 .nhsuk-checkboxes__conditional {
3602 margin-bottom: 24px;
3603 }
3604 }
3605 .nhsuk-checkboxes__conditional {
3606 border-left: 4px solid #4c6272;
3607 margin-left: 18px;
3608 padding-left: 30px;
3609 }
3610 .nhsuk-checkboxes__conditional > :last-child {
3611 margin-bottom: 0;
3612 }
3613
3614 .js-enabled .nhsuk-checkboxes__conditional--hidden {
3615 display: none;
3616 }
3617
3618 /* ==========================================================================
3619 COMPONENTS / #CONTENTS-LIST
3620 ========================================================================== */
3621 /**
3622 * 1. Creates a grey line before each list
3623 * item using a ASCII number for the symbol.
3624 */
3625 .nhsuk-contents-list {
3626 margin-bottom: 40px;
3627 }
3628 @media (min-width: 40.0625em) {
3629 .nhsuk-contents-list {
3630 margin-bottom: 48px;
3631 }
3632 }
3633
3634 .nhsuk-contents-list__list {
3635 list-style: none;
3636 padding: 0;
3637 }
3638
3639 .nhsuk-contents-list__item {
3640 background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__emdash' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' width='19' height='1' aria-hidden='true'%3E%3Cpath d='M0 0h19v1H0z'%3E%3C/path%3E%3C/svg%3E") left 0.75rem no-repeat;
3641 padding: 0 0 0 32px;
3642 position: relative;
3643 }
3644 @media (min-width: 40.0625em) {
3645 .nhsuk-contents-list__item {
3646 background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__emdash' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' width='16' height='1' aria-hidden='true'%3E%3Cpath d='M0 0h19v1H0z'%3E%3C/path%3E%3C/svg%3E") left 0.875rem no-repeat;
3647 }
3648 }
3649
3650 .nhsuk-contents-list__link {
3651 display: inline-block;
3652 }
3653
3654 .nhsuk-contents-list__current {
3655 font-weight: 600;
3656 }
3657
3658 /* ==========================================================================
3659 COMPONENTS/ #DATE-INPUT
3660 ========================================================================== */
3661 /**
3662 * 1. font-size: 0 removes whitespace caused by inline-block
3663 */
3664 .nhsuk-date-input:after {
3665 clear: both;
3666 content: "";
3667 display: block;
3668 }
3669 .nhsuk-date-input {
3670 font-size: 0; /* 1 */
3671 }
3672
3673 .nhsuk-date-input__item {
3674 display: inline-block;
3675 margin-bottom: 0;
3676 margin-right: 24px;
3677 }
3678
3679 .nhsuk-date-input__label {
3680 display: block;
3681 }
3682
3683 .nhsuk-date-input__input {
3684 margin-bottom: 0;
3685 }
3686
3687 /* ==========================================================================
3688 COMPONENTS / #DETAILS
3689 ========================================================================== */
3690 /**
3691 * Details component.
3692 *
3693 * Original code taken from GDS (Government Digital Service)
3694 * https://github.com/alphagov/govuk-frontend
3695 *
3696 * 1. Style the summary to look like a link...
3697 * 2. Make the focus outline shrink-wrap the text content of the summary
3698 * 3. Absolutely position the marker against this element
3699 * 3. Allow for absolutely positioned marker and align with disclosed text
3700 * 4. Only underline the text, not the arrow
3701 * 5. Remove the default details marker so we can style our own consistently and
3702 * ensure it displays in Firefox
3703 * 6. Custom padding to left align the details text with the summary
3704 */
3705 .nhsuk-details {
3706 color: #212b32;
3707 }
3708 @media print {
3709 .nhsuk-details {
3710 color: #212b32;
3711 }
3712 }
3713 .nhsuk-details {
3714 margin-bottom: 16px;
3715 }
3716 @media (min-width: 40.0625em) {
3717 .nhsuk-details {
3718 margin-bottom: 24px;
3719 }
3720 }
3721 .nhsuk-details {
3722 font-size: 16px;
3723 font-size: 1rem;
3724 line-height: 1.5;
3725 }
3726 @media (min-width: 40.0625em) {
3727 .nhsuk-details {
3728 font-size: 19px;
3729 font-size: 1.1875rem;
3730 line-height: 1.47368;
3731 }
3732 }
3733 @media print {
3734 .nhsuk-details {
3735 font-size: 14pt;
3736 line-height: 1.15;
3737 }
3738 }
3739 .nhsuk-details {
3740 display: block;
3741 }
3742
3743 .nhsuk-details__summary {
3744 color: #005eb8; /* [1] */
3745 cursor: pointer;
3746 display: inline-block; /* [2] */
3747 padding-left: 24px;
3748 position: relative; /* [3] */
3749 }
3750 .nhsuk-details__summary:hover {
3751 color: #7c2855;
3752 }
3753 .nhsuk-details__summary:before {
3754 bottom: 0;
3755 content: "";
3756 left: 0;
3757 margin: auto;
3758 position: absolute;
3759 top: 0;
3760 display: block;
3761 width: 0;
3762 height: 0;
3763 border-style: solid;
3764 border-color: transparent;
3765 clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
3766 border-width: 7px 0 7px 12.124px;
3767 border-left-color: inherit;
3768 }
3769 .nhsuk-details__summary:focus {
3770 background-color: #ffeb3b;
3771 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
3772 color: #212b32;
3773 outline: 4px solid transparent;
3774 text-decoration: none;
3775 }
3776 .nhsuk-details__summary:focus .nhsuk-icon {
3777 fill: #212b32;
3778 }
3779 .nhsuk-details__summary:hover .nhsuk-details__summary-text, .nhsuk-details__summary:focus .nhsuk-details__summary-text {
3780 text-decoration: none;
3781 }
3782
3783 .nhsuk-details[open] > .nhsuk-details__summary:before {
3784 display: block;
3785 width: 0;
3786 height: 0;
3787 border-style: solid;
3788 border-color: transparent;
3789 clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
3790 border-width: 12.124px 7px 0 7px;
3791 border-top-color: inherit;
3792 }
3793
3794 .nhsuk-details__summary-text {
3795 text-decoration: underline; /* [4] */
3796 }
3797
3798 .nhsuk-details__summary::-webkit-details-marker {
3799 display: none; /* [5] */
3800 }
3801
3802 .nhsuk-details__text {
3803 border-left: 4px solid #d8dde0;
3804 margin-top: 8px;
3805 padding: 16px;
3806 padding-left: 20px; /* [6] */
3807 }
3808 .nhsuk-details__text > *:first-child {
3809 margin-top: 0;
3810 }
3811 .nhsuk-details__text > *:last-child {
3812 margin-bottom: 0;
3813 }
3814
3815 /**
3816 * Expander variation.
3817 *
3818 * 1. !important used because the icon is populated
3819 * by the JavaScript polyfill
3820 * 2. Remove the default hover, focus and active
3821 * styles for this component.
3822 * 3. -2px left margin to align the icon to the content.
3823 * 4. When a group of details is used reduce the
3824 * margin between them so they sit together.
3825 */
3826 .nhsuk-expander, .nhsuk-details.is-style-expander {
3827 background-color: #ffffff;
3828 border: 1px solid #d8dde0;
3829 border-bottom-width: 4px;
3830 }
3831 .nhsuk-expander:hover, .nhsuk-details.is-style-expander:hover {
3832 border-color: #aeb7bd;
3833 }
3834 .nhsuk-expander .nhsuk-details__summary, .nhsuk-details.is-style-expander .nhsuk-details__summary {
3835 background-color: #ffffff;
3836 border-top: 4px solid transparent;
3837 display: block;
3838 padding: 20px 24px 24px;
3839 }
3840 @media (max-width: 40.0525em) {
3841 .nhsuk-expander .nhsuk-details__summary, .nhsuk-details.is-style-expander .nhsuk-details__summary {
3842 padding: 12px 16px 16px;
3843 }
3844 }
3845 .nhsuk-expander .nhsuk-details__summary:before, .nhsuk-details.is-style-expander .nhsuk-details__summary:before {
3846 display: none !important; /* stylelint-disable-line declaration-no-important */ /* [1] */
3847 }
3848 .nhsuk-expander .nhsuk-details__summary:hover .nhsuk-details__summary-text, .nhsuk-details.is-style-expander .nhsuk-details__summary:hover .nhsuk-details__summary-text {
3849 color: #7c2855;
3850 }
3851 .nhsuk-expander .nhsuk-details__summary:focus, .nhsuk-details.is-style-expander .nhsuk-details__summary:focus {
3852 box-shadow: none;
3853 }
3854 .nhsuk-expander .nhsuk-details__summary:focus .nhsuk-details__summary-text, .nhsuk-details.is-style-expander .nhsuk-details__summary:focus .nhsuk-details__summary-text {
3855 background-color: #ffeb3b;
3856 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
3857 color: #212b32;
3858 outline: 4px solid transparent;
3859 text-decoration: none;
3860 }
3861 .nhsuk-expander .nhsuk-details__summary:focus .nhsuk-details__summary-text:before, .nhsuk-details.is-style-expander .nhsuk-details__summary:focus .nhsuk-details__summary-text:before {
3862 background: #ffeb3b url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__plus' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10' fill='002f5c'%3E%3C/circle%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M12 8v8M8 12h8'%3E%3C/path%3E%3C/svg%3E%0A") left -2px center no-repeat;
3863 }
3864 .nhsuk-expander .nhsuk-details__summary-text, .nhsuk-details.is-style-expander .nhsuk-details__summary-text {
3865 color: #005eb8;
3866 cursor: pointer;
3867 display: inline-block;
3868 padding: 4px 4px 4px 38px;
3869 position: relative;
3870 }
3871 .nhsuk-expander .nhsuk-details__summary-text:before, .nhsuk-details.is-style-expander .nhsuk-details__summary-text:before {
3872 background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__plus' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23005eb8'%3E%3C/circle%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M12 8v8M8 12h8'%3E%3C/path%3E%3C/svg%3E%0A") left -2px center no-repeat;
3873 content: "";
3874 display: inline-block;
3875 height: 32px;
3876 left: 0;
3877 position: absolute;
3878 top: calc(50% - 16px);
3879 width: 32px;
3880 }
3881 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3882 padding-bottom: 16px;
3883 }
3884 @media (min-width: 40.0625em) {
3885 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3886 padding-bottom: 24px;
3887 }
3888 }
3889 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3890 padding-left: 16px;
3891 }
3892 @media (min-width: 40.0625em) {
3893 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3894 padding-left: 24px;
3895 }
3896 }
3897 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3898 padding-right: 16px;
3899 }
3900 @media (min-width: 40.0625em) {
3901 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3902 padding-right: 24px;
3903 }
3904 }
3905 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3906 padding-top: 0;
3907 }
3908 @media (min-width: 40.0625em) {
3909 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3910 padding-top: 0;
3911 }
3912 }
3913 .nhsuk-expander .nhsuk-details__text, .nhsuk-details.is-style-expander .nhsuk-details__text {
3914 border-left: 0;
3915 margin-left: 0;
3916 margin-top: 0;
3917 }
3918
3919 .nhsuk-expander[open], [open].nhsuk-details.is-style-expander {
3920 border-bottom-width: 1px;
3921 }
3922 .nhsuk-expander[open] .nhsuk-details__summary:focus:hover .nhsuk-details__summary-text, [open].nhsuk-details.is-style-expander .nhsuk-details__summary:focus:hover .nhsuk-details__summary-text {
3923 text-decoration: none;
3924 }
3925 .nhsuk-expander[open] .nhsuk-details__summary:focus .nhsuk-details__summary-text::before, [open].nhsuk-details.is-style-expander .nhsuk-details__summary:focus .nhsuk-details__summary-text::before {
3926 background: #ffeb3b url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__minus' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10' fill='002f5c'%3E%3C/circle%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M8 12h8'%3E%3C/path%3E%3C/svg%3E%0A") left -2px center no-repeat; /* [3] */
3927 }
3928 .nhsuk-expander[open] .nhsuk-details__summary-text::before, [open].nhsuk-details.is-style-expander .nhsuk-details__summary-text::before {
3929 background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__minus' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23005eb8'%3E%3C/circle%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M8 12h8'%3E%3C/path%3E%3C/svg%3E%0A") left -2px center no-repeat; /* [3] */
3930 }
3931
3932 .nhsuk-expander-group {
3933 /* [4] */
3934 }
3935 .nhsuk-expander-group > .nhsuk-details {
3936 margin-bottom: 8px;
3937 }
3938 @media (min-width: 40.0625em) {
3939 .nhsuk-expander-group > .nhsuk-details {
3940 margin-bottom: 8px;
3941 }
3942 }
3943 .nhsuk-expander-group {
3944 margin-bottom: 16px;
3945 }
3946 @media (min-width: 40.0625em) {
3947 .nhsuk-expander-group {
3948 margin-bottom: 24px;
3949 }
3950 }
3951
3952 .nhsuk-details + h2,
3953 .nhsuk-details + .nhsuk-heading-l {
3954 padding-top: 16px;
3955 }
3956 @media (min-width: 40.0625em) {
3957 .nhsuk-details + h2,
3958 .nhsuk-details + .nhsuk-heading-l {
3959 padding-top: 24px;
3960 }
3961 }
3962
3963 /* ==========================================================================
3964 COMPONENTS / #DO-DONT-LIST
3965 ========================================================================== */
3966 /**
3967 * Do and Don't lists help users understand more easily what they should
3968 * and shouldn't do.
3969 *
3970 * 1. Uses @mixin panel-with-label from tools/_mixins.
3971 * 2. Uses @mixin heading-label from tools/_mixins.
3972 */
3973 .nhsuk-do-dont-list > *:first-child {
3974 margin-top: 0;
3975 }
3976 .nhsuk-do-dont-list > *:last-child {
3977 margin-bottom: 0;
3978 }
3979 .nhsuk-do-dont-list {
3980 margin-bottom: 40px;
3981 }
3982 @media (min-width: 40.0625em) {
3983 .nhsuk-do-dont-list {
3984 margin-bottom: 48px;
3985 }
3986 }
3987 .nhsuk-do-dont-list {
3988 margin-top: 40px;
3989 }
3990 @media (min-width: 40.0625em) {
3991 .nhsuk-do-dont-list {
3992 margin-top: 48px;
3993 }
3994 }
3995 .nhsuk-do-dont-list {
3996 padding: 24px;
3997 }
3998 @media (min-width: 40.0625em) {
3999 .nhsuk-do-dont-list {
4000 padding: 32px;
4001 }
4002 }
4003 .nhsuk-do-dont-list {
4004 background-color: #ffffff;
4005 color: #212b32;
4006 }
4007 @media print {
4008 .nhsuk-do-dont-list {
4009 border: 1px solid #212b32;
4010 page-break-inside: avoid;
4011 }
4012 }
4013 .nhsuk-do-dont-list {
4014 border: 1px solid #d8dde0;
4015 padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */
4016 /* [1] */
4017 }
4018
4019 .nhsuk-do-dont-list__label {
4020 font-size: 20px;
4021 font-size: 1.25rem;
4022 line-height: 1.4;
4023 }
4024 @media (min-width: 40.0625em) {
4025 .nhsuk-do-dont-list__label {
4026 font-size: 24px;
4027 font-size: 1.5rem;
4028 line-height: 1.33333;
4029 }
4030 }
4031 @media print {
4032 .nhsuk-do-dont-list__label {
4033 font-size: 18pt;
4034 line-height: 1.15;
4035 }
4036 }
4037 .nhsuk-do-dont-list__label {
4038 background-color: #005eb8;
4039 color: #ffffff;
4040 display: inline-block;
4041 margin: 0 0 8px -33px;
4042 padding: 8px 32px;
4043 position: relative;
4044 top: -16px;
4045 }
4046 @media (max-width: 40.0525em) {
4047 .nhsuk-do-dont-list__label {
4048 margin-left: -25px;
4049 margin-right: 0;
4050 padding: 8px 24px;
4051 top: -8px;
4052 }
4053 }
4054 @media print {
4055 .nhsuk-do-dont-list__label {
4056 background: none;
4057 color: #212b32;
4058 top: 0;
4059 }
4060 }
4061 .nhsuk-do-dont-list__label {
4062 /* [2] */
4063 }
4064 @media print {
4065 .nhsuk-do-dont-list__label {
4066 color: #212b32;
4067 fill: #212b32;
4068 }
4069 .nhsuk-do-dont-list__label:active, .nhsuk-do-dont-list__label:focus, .nhsuk-do-dont-list__label:visited {
4070 color: #212b32;
4071 }
4072 }
4073
4074 /* ==========================================================================
4075 COMPONENTS/ #ERROR-MESSAGE
4076 ========================================================================== */
4077 .nhsuk-error-message {
4078 font-weight: 600;
4079 font-size: 16px;
4080 font-size: 1rem;
4081 line-height: 1.5;
4082 }
4083 @media (min-width: 40.0625em) {
4084 .nhsuk-error-message {
4085 font-size: 19px;
4086 font-size: 1.1875rem;
4087 line-height: 1.47368;
4088 }
4089 }
4090 @media print {
4091 .nhsuk-error-message {
4092 font-size: 14pt;
4093 line-height: 1.15;
4094 }
4095 }
4096 .nhsuk-error-message {
4097 clear: both;
4098 color: #d5281b;
4099 display: block;
4100 margin-bottom: 16px;
4101 }
4102
4103 /* ==========================================================================
4104 COMPONENTS/ #ERROR-SUMMARY
4105 ========================================================================== */
4106 /**
4107 * 1. Cross-component class - adjusts styling of list component.
4108 * 2. Override default link styling to use error colour
4109 */
4110 .nhsuk-error-summary {
4111 padding: 16px;
4112 }
4113 @media (min-width: 40.0625em) {
4114 .nhsuk-error-summary {
4115 padding: 24px;
4116 }
4117 }
4118 .nhsuk-error-summary {
4119 margin-bottom: 32px;
4120 }
4121 @media (min-width: 40.0625em) {
4122 .nhsuk-error-summary {
4123 margin-bottom: 48px;
4124 }
4125 }
4126 .nhsuk-error-summary {
4127 border: 4px solid #d5281b;
4128 }
4129 @media (min-width: 40.0625em) {
4130 .nhsuk-error-summary {
4131 border: 4px solid #d5281b;
4132 }
4133 }
4134 .nhsuk-error-summary:focus {
4135 border: 4px solid #212b32;
4136 box-shadow: 0 0 0 4px #ffeb3b;
4137 outline: 4px solid transparent;
4138 }
4139
4140 .nhsuk-error-summary__title {
4141 font-weight: 600;
4142 font-size: 20px;
4143 font-size: 1.25rem;
4144 line-height: 1.4;
4145 }
4146 @media (min-width: 40.0625em) {
4147 .nhsuk-error-summary__title {
4148 font-size: 24px;
4149 font-size: 1.5rem;
4150 line-height: 1.33333;
4151 }
4152 }
4153 @media print {
4154 .nhsuk-error-summary__title {
4155 font-size: 18pt;
4156 line-height: 1.15;
4157 }
4158 }
4159 .nhsuk-error-summary__title {
4160 margin-top: 0;
4161 margin-bottom: 16px;
4162 }
4163 @media (min-width: 40.0625em) {
4164 .nhsuk-error-summary__title {
4165 margin-bottom: 24px;
4166 }
4167 }
4168
4169 .nhsuk-error-summary__body {
4170 font-weight: 400;
4171 font-size: 16px;
4172 font-size: 1rem;
4173 line-height: 1.5;
4174 }
4175 @media (min-width: 40.0625em) {
4176 .nhsuk-error-summary__body {
4177 font-size: 19px;
4178 font-size: 1.1875rem;
4179 line-height: 1.47368;
4180 }
4181 }
4182 @media print {
4183 .nhsuk-error-summary__body {
4184 font-size: 14pt;
4185 line-height: 1.15;
4186 }
4187 }
4188 .nhsuk-error-summary__body p {
4189 margin-top: 0;
4190 margin-bottom: 16px;
4191 }
4192 @media (min-width: 40.0625em) {
4193 .nhsuk-error-summary__body p {
4194 margin-bottom: 24px;
4195 }
4196 }
4197
4198 .nhsuk-error-summary__list {
4199 /* 1 */
4200 margin-bottom: 0;
4201 margin-top: 0;
4202 }
4203
4204 .nhsuk-error-summary__list a {
4205 font-weight: 600;
4206 /* 2 */
4207 }
4208 .nhsuk-error-summary__list a:link, .nhsuk-error-summary__list a:visited, .nhsuk-error-summary__list a:hover, .nhsuk-error-summary__list a:active {
4209 color: #d5281b;
4210 }
4211 .nhsuk-error-summary__list a:focus {
4212 background-color: #ffeb3b;
4213 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
4214 color: #212b32;
4215 outline: 4px solid transparent;
4216 text-decoration: none;
4217 }
4218
4219 /* ==========================================================================
4220 COMPONENTS/ #FIELDSET
4221 ========================================================================== */
4222 /**
4223 * 1. Fix legend text wrapping in Edge and IE versions:
4224 * 2. IE9-11 & Edge 12-13
4225 * 3. Hack to let legends or elements within legends have margins in webkit browsers.
4226 * 4. When the legend contains an H1, we want the H1 to inherit all styles from
4227 * the legend. Effectively we want to be able to treat the heading as if it is
4228 * not there.
4229 */
4230 .nhsuk-fieldset:after {
4231 clear: both;
4232 content: "";
4233 display: block;
4234 }
4235 .nhsuk-fieldset {
4236 border: 0;
4237 margin: 0;
4238 padding: 0;
4239 }
4240
4241 .nhsuk-fieldset__legend {
4242 font-weight: 400;
4243 font-size: 16px;
4244 font-size: 1rem;
4245 line-height: 1.5;
4246 }
4247 @media (min-width: 40.0625em) {
4248 .nhsuk-fieldset__legend {
4249 font-size: 19px;
4250 font-size: 1.1875rem;
4251 line-height: 1.47368;
4252 }
4253 }
4254 @media print {
4255 .nhsuk-fieldset__legend {
4256 font-size: 14pt;
4257 line-height: 1.15;
4258 }
4259 }
4260 .nhsuk-fieldset__legend {
4261 box-sizing: border-box; /* 1 */
4262 color: #212b32;
4263 display: table; /* 2 */
4264 margin-bottom: 8px;
4265 margin-top: 0;
4266 max-width: 100%; /* 1 */
4267 padding: 0;
4268 white-space: normal; /* 3 */
4269 }
4270
4271 /* Heading modifiers */
4272 .nhsuk-fieldset__legend--xl {
4273 font-weight: 600;
4274 font-size: 32px;
4275 font-size: 2rem;
4276 line-height: 1.25;
4277 }
4278 @media (min-width: 40.0625em) {
4279 .nhsuk-fieldset__legend--xl {
4280 font-size: 48px;
4281 font-size: 3rem;
4282 line-height: 1.16667;
4283 }
4284 }
4285 @media print {
4286 .nhsuk-fieldset__legend--xl {
4287 font-size: 32pt;
4288 line-height: 1.15;
4289 }
4290 }
4291 .nhsuk-fieldset__legend--xl {
4292 margin-bottom: 16px;
4293 }
4294
4295 .nhsuk-fieldset__legend--l {
4296 font-weight: 600;
4297 font-size: 24px;
4298 font-size: 1.5rem;
4299 line-height: 1.33333;
4300 }
4301 @media (min-width: 40.0625em) {
4302 .nhsuk-fieldset__legend--l {
4303 font-size: 32px;
4304 font-size: 2rem;
4305 line-height: 1.25;
4306 }
4307 }
4308 @media print {
4309 .nhsuk-fieldset__legend--l {
4310 font-size: 24pt;
4311 line-height: 1.05;
4312 }
4313 }
4314 .nhsuk-fieldset__legend--l {
4315 margin-bottom: 16px;
4316 }
4317
4318 .nhsuk-fieldset__legend--m {
4319 font-weight: 600;
4320 font-size: 20px;
4321 font-size: 1.25rem;
4322 line-height: 1.4;
4323 }
4324 @media (min-width: 40.0625em) {
4325 .nhsuk-fieldset__legend--m {
4326 font-size: 24px;
4327 font-size: 1.5rem;
4328 line-height: 1.33333;
4329 }
4330 }
4331 @media print {
4332 .nhsuk-fieldset__legend--m {
4333 font-size: 18pt;
4334 line-height: 1.15;
4335 }
4336 }
4337 .nhsuk-fieldset__legend--m {
4338 margin-bottom: 16px;
4339 }
4340
4341 .nhsuk-fieldset__legend--s {
4342 font-weight: 600;
4343 font-size: 16px;
4344 font-size: 1rem;
4345 line-height: 1.5;
4346 }
4347 @media (min-width: 40.0625em) {
4348 .nhsuk-fieldset__legend--s {
4349 font-size: 19px;
4350 font-size: 1.1875rem;
4351 line-height: 1.47368;
4352 }
4353 }
4354 @media print {
4355 .nhsuk-fieldset__legend--s {
4356 font-size: 14pt;
4357 line-height: 1.15;
4358 }
4359 }
4360 .nhsuk-fieldset__legend--s {
4361 margin-bottom: 16px;
4362 }
4363
4364 .nhsuk-fieldset__heading {
4365 /* 4 */
4366 font-size: inherit;
4367 font-weight: inherit;
4368 margin: 0;
4369 }
4370
4371 /* ==========================================================================
4372 COMPONENTS / #FOOTER
4373 ========================================================================== */
4374 .nhsuk-footer-container:after {
4375 clear: both;
4376 content: "";
4377 display: block;
4378 }
4379 @media print {
4380 .nhsuk-footer-container {
4381 display: none;
4382 }
4383 }
4384 .nhsuk-footer-container {
4385 padding-bottom: 24px;
4386 }
4387 @media (min-width: 40.0625em) {
4388 .nhsuk-footer-container {
4389 padding-bottom: 32px;
4390 }
4391 }
4392 .nhsuk-footer-container {
4393 padding-top: 24px;
4394 }
4395 @media (min-width: 40.0625em) {
4396 .nhsuk-footer-container {
4397 padding-top: 32px;
4398 }
4399 }
4400 .nhsuk-footer-container {
4401 background-color: #d8dde0;
4402 border-top: 4px solid #005eb8;
4403 }
4404
4405 .nhsuk-footer {
4406 background-color: #d8dde0;
4407 margin-bottom: 15px;
4408 }
4409 @media (min-width: 48.0625em) {
4410 .nhsuk-footer {
4411 display: flex;
4412 justify-content: space-between;
4413 }
4414 }
4415
4416 .nhsuk-footer__list {
4417 padding-bottom: 16px;
4418 }
4419 @media (min-width: 40.0625em) {
4420 .nhsuk-footer__list {
4421 padding-bottom: 24px;
4422 }
4423 }
4424 .nhsuk-footer__list {
4425 list-style-type: none;
4426 margin-bottom: 25px;
4427 padding-left: 0;
4428 }
4429 .nhsuk-footer__list:last-child {
4430 margin-bottom: 15px;
4431 }
4432 @media (min-width: 48.0625em) {
4433 .nhsuk-footer__list {
4434 float: left;
4435 padding-bottom: 0;
4436 padding-right: 40px;
4437 width: 75%;
4438 }
4439 .nhsuk-footer__list:last-child {
4440 padding-right: 0;
4441 }
4442 }
4443
4444 .nhsuk-footer__list-item {
4445 font-weight: 400;
4446 font-size: 14px;
4447 font-size: 0.875rem;
4448 line-height: 1.71429;
4449 }
4450 @media (min-width: 40.0625em) {
4451 .nhsuk-footer__list-item {
4452 font-size: 16px;
4453 font-size: 1rem;
4454 line-height: 1.5;
4455 }
4456 }
4457 @media print {
4458 .nhsuk-footer__list-item {
4459 font-size: 14pt;
4460 line-height: 1.2;
4461 }
4462 }
4463 @media (min-width: 48.0625em) {
4464 .nhsuk-footer__list-item {
4465 float: none;
4466 margin-right: 0;
4467 }
4468 }
4469
4470 @media (min-width: 48.0625em) {
4471 .nhsuk-footer-default__list-item {
4472 float: left;
4473 margin-right: 32px;
4474 }
4475 }
4476
4477 .nhsuk-footer__list-item-link {
4478 color: #003087;
4479 }
4480 .nhsuk-footer__list-item-link:visited {
4481 color: #003087;
4482 }
4483 .nhsuk-footer__list-item-link:hover {
4484 color: #7c2855;
4485 }
4486
4487 .nhsuk-footer__copyright {
4488 font-weight: 400;
4489 font-size: 14px;
4490 font-size: 0.875rem;
4491 line-height: 1.71429;
4492 }
4493 @media (min-width: 40.0625em) {
4494 .nhsuk-footer__copyright {
4495 font-size: 16px;
4496 font-size: 1rem;
4497 line-height: 1.5;
4498 }
4499 }
4500 @media print {
4501 .nhsuk-footer__copyright {
4502 font-size: 14pt;
4503 line-height: 1.2;
4504 }
4505 }
4506 .nhsuk-footer__copyright {
4507 color: #231f20;
4508 margin-bottom: 0;
4509 }
4510
4511 @media (max-width: 48.0525em) {
4512 .nhsuk-footer__meta {
4513 border-top: 1px solid #f0f4f5;
4514 padding-top: 35px;
4515 }
4516 }
4517
4518 /* ==========================================================================
4519 COMPONENTS / #HEADER
4520 ========================================================================== */
4521 /**
4522 * The behaviour with regards to responsiveness is as follow:
4523 *
4524 * - Mobile to tablet view
4525 * Menu toggle button visible and navigation links hidden, search toggle
4526 button visible and search form hidden
4527 *
4528 * - Tablet to desktop view
4529 * Menu toggle button visible and navigation links hidden, search toggle
4530 * button hidden and search form visible
4531 *
4532 * - Desktop+ view
4533 * Menu toggle button hidden and navigation links visible, search toggle
4534 * button hidden and search form visible
4535 */
4536 .nhsuk-header {
4537 background-color: #005eb8;
4538 }
4539
4540 .nhsuk-header__container {
4541 margin: 0 16px; /* [1] */
4542 max-width: 960px; /* [2] */
4543 }
4544 @media (min-width: 48.0625em) {
4545 .nhsuk-header__container {
4546 margin: 0 32px; /* [3] */
4547 }
4548 }
4549 .nhsuk-header__container {
4550 /* [4] */
4551 }
4552 @media (min-width: 1024px) {
4553 .nhsuk-header__container {
4554 margin: 0 auto;
4555 }
4556 }
4557 .nhsuk-header__container {
4558 padding: 20px 0;
4559 }
4560 @media (max-width: 40.0525em) {
4561 .nhsuk-header__container {
4562 padding-bottom: 0;
4563 }
4564 }
4565 @media (min-width: 40.0625em) {
4566 .nhsuk-header__container {
4567 border-bottom: 1px solid rgba(255, 255, 255, 0.2);
4568 display: flex;
4569 justify-content: space-between;
4570 }
4571 }
4572
4573 @media (max-width: 40.0525em) {
4574 .nhsuk-header__logo {
4575 position: relative;
4576 z-index: 1;
4577 }
4578 }
4579 .nhsuk-header__logo .nhsuk-logo__background {
4580 fill: #ffffff;
4581 }
4582 @media print {
4583 .nhsuk-header__logo .nhsuk-logo__background {
4584 fill: #005eb8;
4585 }
4586 }
4587 .nhsuk-header__logo .nhsuk-logo__text {
4588 fill: #005eb8;
4589 }
4590 @media print {
4591 .nhsuk-header__logo .nhsuk-logo__text {
4592 fill: #ffffff;
4593 }
4594 }
4595 @media (min-width: 40.0625em) {
4596 .nhsuk-header__logo {
4597 padding-left: 0;
4598 }
4599 }
4600 .nhsuk-header__logo .nhsuk-logo {
4601 height: 40px;
4602 width: 100px;
4603 border: 0;
4604 }
4605 @media (max-width: 48.0525em) {
4606 .nhsuk-header__logo {
4607 max-width: 60%;
4608 }
4609 }
4610 @media (max-width: 450px) {
4611 .nhsuk-header__logo {
4612 max-width: 50%;
4613 }
4614 }
4615
4616 .nhsuk-header__link {
4617 height: 40px;
4618 width: 100px;
4619 display: block;
4620 }
4621 .nhsuk-header__link:hover .nhsuk-logo {
4622 box-shadow: 0 0 0 4px rgb(0, 61.1, 119.6);
4623 }
4624 .nhsuk-header__link:focus {
4625 box-shadow: none;
4626 }
4627 .nhsuk-header__link:focus .nhsuk-logo {
4628 box-shadow: 0 0 0 4px #ffeb3b, 0 4px 0 4px #212b32;
4629 }
4630 @media print {
4631 .nhsuk-header__link:after {
4632 content: "";
4633 }
4634 }
4635 .nhsuk-header__link:hover, .nhsuk-header__link:active, .nhsuk-header__link:focus {
4636 background-color: transparent;
4637 }
4638
4639 .nhsuk-header__logo--only {
4640 max-width: 100%;
4641 }
4642 @media (max-width: 40.0525em) {
4643 .nhsuk-header__logo--only {
4644 padding-bottom: 16px;
4645 }
4646 }
4647 @media (min-width: 40.0625em) {
4648 .nhsuk-header__logo--only .nhsuk-header__link--service {
4649 align-items: center;
4650 display: flex;
4651 -ms-flex-align: center;
4652 margin-bottom: 0;
4653 width: auto;
4654 }
4655 .nhsuk-header__logo--only .nhsuk-header__service-name {
4656 padding-left: 16px;
4657 }
4658 }
4659
4660 @media print {
4661 .nhsuk-header__content {
4662 display: none;
4663 }
4664 }
4665 .nhsuk-header__content {
4666 position: relative;
4667 }
4668 .nhsuk-header__content.js-show {
4669 border-bottom: 4px solid #f0f4f5;
4670 }
4671 @media (min-width: 40.0625em) {
4672 .nhsuk-header__content.js-show {
4673 border-bottom: 0;
4674 }
4675 }
4676
4677 .nhsuk-header__search {
4678 position: relative;
4679 text-align: right;
4680 }
4681 @media (min-width: 40.0625em) {
4682 .nhsuk-header__search {
4683 margin-left: 8px;
4684 }
4685 }
4686
4687 .nhsuk-header__search-no-nav {
4688 padding-bottom: 16px;
4689 }
4690
4691 .nhsuk-header__search-form {
4692 height: 100%;
4693 overflow: visible;
4694 }
4695 @media (max-width: 40.0525em) {
4696 .nhsuk-header__search-form {
4697 display: flex;
4698 margin: 16px 0 0;
4699 position: relative;
4700 width: 100%;
4701 }
4702 }
4703
4704 @media (min-width: 40.0625em) {
4705 .nhsuk-header__search-wrap {
4706 display: block;
4707 }
4708 }
4709
4710 .nhsuk-search__input {
4711 -webkit-appearance: listbox;
4712 border-bottom-left-radius: 4px;
4713 border-bottom-right-radius: 0;
4714 border-top-left-radius: 4px;
4715 border-top-right-radius: 0;
4716 padding: 0 16px;
4717 }
4718 .nhsuk-search__input:focus {
4719 border: 4px solid #212b32;
4720 box-shadow: 0 0 0 4px #ffeb3b;
4721 outline: 4px solid transparent;
4722 outline-offset: 4px;
4723 padding: 0 13px;
4724 }
4725 .nhsuk-search__input::placeholder {
4726 color: #4c6272;
4727 font-size: 16px;
4728 opacity: 1;
4729 }
4730 .nhsuk-search__input:-ms-input-placeholder {
4731 color: #4c6272;
4732 font-size: 16px;
4733 }
4734 .nhsuk-search__input::-webkit-input-placeholder {
4735 color: #4c6272;
4736 font-size: 16px;
4737 }
4738 @media (max-width: 40.0525em) {
4739 .nhsuk-search__input {
4740 border: 1px solid #ffffff;
4741 border-bottom-right-radius: 4px;
4742 border-top-right-radius: 4px;
4743 flex-grow: 2;
4744 -ms-flex-positive: 2;
4745 font-size: inherit;
4746 height: 40px;
4747 margin: 0;
4748 outline: none;
4749 width: 100%;
4750 z-index: 1;
4751 }
4752 }
4753 @media (min-width: 40.0625em) {
4754 .nhsuk-search__input {
4755 border: 1px solid #ffffff;
4756 font-size: 16px;
4757 height: 40px;
4758 width: 200px;
4759 }
4760 }
4761 @media (min-width: 48.0625em) {
4762 .nhsuk-search__input {
4763 width: 235px;
4764 }
4765 }
4766
4767 .nhsuk-search__submit {
4768 border: 0;
4769 border-bottom-left-radius: 0;
4770 border-bottom-right-radius: 4px;
4771 border-top-left-radius: 0;
4772 border-top-right-radius: 4px;
4773 float: right;
4774 font-size: inherit;
4775 line-height: inherit;
4776 outline: none;
4777 padding: 0;
4778 }
4779 .nhsuk-search__submit::-moz-focus-inner {
4780 border: 0;
4781 }
4782 .nhsuk-search__submit:hover {
4783 cursor: pointer;
4784 }
4785 @media (max-width: 40.0525em) {
4786 .nhsuk-search__submit {
4787 background-color: #f0f4f5;
4788 border: 0;
4789 height: 40px;
4790 margin: 0;
4791 padding: 8px 8px 0;
4792 position: absolute;
4793 right: 0;
4794 top: 0;
4795 z-index: 9;
4796 }
4797 .nhsuk-search__submit .nhsuk-icon__search {
4798 fill: #005eb8;
4799 height: 27px;
4800 width: 27px;
4801 }
4802 .nhsuk-search__submit:hover {
4803 background-color: rgb(0, 61.1, 119.6);
4804 border: 1px solid #ffffff;
4805 }
4806 .nhsuk-search__submit:hover .nhsuk-icon {
4807 fill: #ffffff;
4808 }
4809 .nhsuk-search__submit:focus {
4810 background-color: #ffeb3b;
4811 box-shadow: 0 -4px #ffeb3b, 0 4px #212b32;
4812 outline: 4px solid transparent;
4813 outline-offset: 4px;
4814 }
4815 .nhsuk-search__submit:focus:hover {
4816 background-color: #ffeb3b;
4817 }
4818 .nhsuk-search__submit:focus:hover .nhsuk-icon {
4819 fill: #212b32;
4820 }
4821 .nhsuk-search__submit:focus .nhsuk-icon {
4822 fill: #212b32;
4823 }
4824 }
4825 @media (min-width: 40.0625em) {
4826 .nhsuk-search__submit {
4827 background-color: #f0f4f5;
4828 display: block;
4829 height: 40px;
4830 line-height: 1;
4831 width: 44px;
4832 }
4833 .nhsuk-search__submit .nhsuk-icon__search {
4834 height: 27px;
4835 width: 27px;
4836 }
4837 .nhsuk-search__submit:hover {
4838 background-color: rgb(0, 61.1, 119.6);
4839 border: 1px solid #ffffff;
4840 }
4841 .nhsuk-search__submit:hover .nhsuk-icon__search {
4842 fill: #ffffff;
4843 }
4844 .nhsuk-search__submit:focus {
4845 background-color: #ffeb3b;
4846 border: 0;
4847 box-shadow: 0 4px 0 0 #212b32;
4848 color: #212b32;
4849 outline: 4px solid transparent; /* 1 */
4850 outline-offset: 4px;
4851 }
4852 .nhsuk-search__submit:focus .nhsuk-icon {
4853 fill: #212b32;
4854 }
4855 .nhsuk-search__submit:focus {
4856 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
4857 }
4858 .nhsuk-search__submit:active {
4859 background-color: #002f5c;
4860 border: 0;
4861 }
4862 .nhsuk-search__submit:active .nhsuk-icon__search {
4863 fill: #ffffff;
4864 }
4865 }
4866
4867 .nhsuk-header__navigation-link {
4868 font-weight: 400;
4869 font-size: 14px;
4870 font-size: 0.875rem;
4871 line-height: 1.71429;
4872 }
4873 @media (min-width: 40.0625em) {
4874 .nhsuk-header__navigation-link {
4875 font-size: 16px;
4876 font-size: 1rem;
4877 line-height: 1.5;
4878 }
4879 }
4880 @media print {
4881 .nhsuk-header__navigation-link {
4882 font-size: 14pt;
4883 line-height: 1.2;
4884 }
4885 }
4886 .nhsuk-header__navigation-link {
4887 border-bottom: 4px solid transparent;
4888 border-top: 4px solid transparent;
4889 color: #ffffff;
4890 display: block;
4891 font-size: inherit;
4892 padding: 16px 12px;
4893 text-decoration: underline;
4894 white-space: nowrap;
4895 }
4896 @media (min-width: 40.0625em) {
4897 .nhsuk-header__navigation-link {
4898 padding: 12px 16px;
4899 }
4900 }
4901 .nhsuk-header__navigation-link .nhsuk-icon__chevron-right {
4902 fill: #aeb7bd;
4903 position: absolute;
4904 right: 4px;
4905 top: 11px;
4906 }
4907 .nhsuk-header__navigation-link:visited {
4908 color: #ffffff;
4909 }
4910 @media (min-width: 61.875em) {
4911 .nhsuk-header__navigation-link:visited {
4912 color: #ffffff;
4913 }
4914 }
4915 .nhsuk-header__navigation-link:hover {
4916 box-shadow: none;
4917 color: #ffffff;
4918 text-decoration: none;
4919 }
4920 @media (min-width: 61.875em) {
4921 .nhsuk-header__navigation-link:hover {
4922 color: #ffffff;
4923 }
4924 }
4925 .nhsuk-header__navigation-link:active, .nhsuk-header__navigation-link:focus {
4926 background-color: #ffeb3b;
4927 border-bottom: 4px solid #212b32;
4928 box-shadow: none;
4929 color: #212b32;
4930 outline: 4px solid transparent;
4931 outline-offset: 4px;
4932 text-decoration: none;
4933 }
4934 .nhsuk-header__navigation-link:active:hover, .nhsuk-header__navigation-link:focus:hover {
4935 background-color: #ffeb3b;
4936 color: #212b32;
4937 }
4938 .nhsuk-header__navigation-link:active:visited, .nhsuk-header__navigation-link:focus:visited {
4939 background-color: #ffeb3b;
4940 color: #212b32;
4941 }
4942
4943 .nhsuk-header__menu-toggle {
4944 background: transparent;
4945 border: 0;
4946 border-bottom: 4px solid transparent;
4947 border-radius: 0;
4948 border-top: 4px solid transparent;
4949 box-sizing: border-box;
4950 cursor: pointer;
4951 margin: 0;
4952 overflow: visible;
4953 position: relative;
4954 right: 0;
4955 text-align: center;
4956 text-decoration: underline;
4957 vertical-align: top;
4958 visibility: hidden;
4959 width: auto;
4960 z-index: 1;
4961 }
4962 .nhsuk-header__menu-toggle.nhsuk-header__navigation-link {
4963 padding-right: 30px;
4964 }
4965 @media (min-width: 48.0625em) {
4966 .nhsuk-header__menu-toggle {
4967 display: none;
4968 }
4969 }
4970 .nhsuk-header__menu-toggle:focus {
4971 text-decoration: none;
4972 }
4973 .nhsuk-header__menu-toggle:focus .nhsuk-icon__chevron-down {
4974 fill: #212b32;
4975 }
4976
4977 .nhsuk-header__menu-toggle--visible {
4978 visibility: visible;
4979 display: block;
4980 }
4981
4982 .nhsuk-header__menu-toggle[aria-expanded=true] .nhsuk-icon__chevron-down {
4983 transform: rotate(270deg);
4984 }
4985
4986 .nhsuk-navigation {
4987 display: flex;
4988 }
4989 @media (max-width: 40.0525em) {
4990 .nhsuk-navigation {
4991 position: relative;
4992 z-index: 10;
4993 }
4994 }
4995
4996 .nhsuk-header__drop-down, .nhsuk-header__navigation-list {
4997 list-style: none;
4998 margin: 0;
4999 padding: 0;
5000 }
5001
5002 .nhsuk-header__navigation-list {
5003 margin: 0 16px; /* [1] */
5004 max-width: 960px; /* [2] */
5005 }
5006 @media (min-width: 48.0625em) {
5007 .nhsuk-header__navigation-list {
5008 margin: 0 32px; /* [3] */
5009 }
5010 }
5011 .nhsuk-header__navigation-list {
5012 /* [4] */
5013 }
5014 @media (min-width: 1024px) {
5015 .nhsuk-header__navigation-list {
5016 margin: 0 auto;
5017 }
5018 }
5019 .nhsuk-header__navigation-list {
5020 width: 100%;
5021 }
5022 @media (min-width: 48.0625em) {
5023 .nhsuk-header__navigation-list {
5024 display: flex;
5025 justify-content: space-between;
5026 }
5027 }
5028 .js-enabled .nhsuk-header__navigation-list {
5029 display: flex;
5030 }
5031
5032 .nhsuk-header__navigation-item {
5033 margin-bottom: 0;
5034 }
5035
5036 .nhsuk-navigation-container {
5037 position: relative;
5038 }
5039
5040 @media print {
5041 .nhsuk-header__drop-down {
5042 display: none;
5043 }
5044 }
5045 .nhsuk-header__drop-down {
5046 background-color: #ffffff;
5047 border-bottom: 4px solid #f0f4f5;
5048 overflow: hidden;
5049 position: absolute;
5050 right: 0;
5051 top: 100%;
5052 left: 0;
5053 }
5054 .nhsuk-header__drop-down .nhsuk-header__navigation-link {
5055 color: #005eb8;
5056 padding: 12px 16px;
5057 }
5058 .nhsuk-header__drop-down .nhsuk-header__navigation-item {
5059 border-top: 1px solid #f0f4f5;
5060 margin-bottom: 0;
5061 }
5062 @media (min-width: 61.875em) {
5063 .nhsuk-header__drop-down .nhsuk-header__navigation-item {
5064 border-top: 0;
5065 margin: 0;
5066 text-align: center;
5067 }
5068 }
5069
5070 .nhsuk-header__drop-down--hidden {
5071 display: none;
5072 }
5073
5074 .nhsuk-mobile-menu-container {
5075 align-self: center;
5076 display: none;
5077 }
5078
5079 .nhsuk-mobile-menu-container--visible {
5080 display: block;
5081 }
5082
5083 @media (min-width: 48.0625em) {
5084 .nhsuk-header__navigation-item--home {
5085 display: none;
5086 }
5087 }
5088
5089 @media (min-width: 48.0625em) {
5090 .nhsuk-header__navigation-list--left-aligned {
5091 justify-content: initial;
5092 }
5093 }
5094
5095 /* ==========================================================================
5096 COMPONENTS / #HERO
5097 ========================================================================== */
5098 /**
5099 * Hero component shared styles.
5100 *
5101 * 1. Position relative to support the description
5102 * appearing over the image.
5103 * 2. Adds a border between the header and hero, if required
5104 */
5105 @media print {
5106 .nhsuk-hero {
5107 color: #212b32;
5108 fill: #212b32;
5109 }
5110 .nhsuk-hero:active, .nhsuk-hero:focus, .nhsuk-hero:visited {
5111 color: #212b32;
5112 }
5113 }
5114 .nhsuk-hero {
5115 background-color: #005eb8;
5116 color: #ffffff;
5117 position: relative; /* [1] */
5118 }
5119 .nhsuk-hero .nhsuk-hero--border {
5120 /* [2] */
5121 border-top: 1px solid rgba(255, 255, 255, 0.2);
5122 }
5123
5124 .nhsuk-hero__wrapper {
5125 padding-top: 48px;
5126 }
5127 @media (min-width: 40.0625em) {
5128 .nhsuk-hero__wrapper {
5129 padding-top: 56px;
5130 }
5131 }
5132 .nhsuk-hero__wrapper {
5133 padding-bottom: 48px;
5134 }
5135 @media (min-width: 40.0625em) {
5136 .nhsuk-hero__wrapper {
5137 padding-bottom: 56px;
5138 }
5139 }
5140
5141 /**
5142 * Hero component image styles
5143 *
5144 * 3. Center the background image.
5145 * 4. Stop the height affecting print stylesheets.
5146 * 5. Show more of the image for larger screen sizes
5147 * 6. Overlay must be min same height as .nhsuk-hero--image to cover the image.
5148 * 7. Darken the background image with an overlay.
5149 * 12. Remove any heights/min heights in Windows high contrast mode.
5150 */
5151 .nhsuk-hero--image {
5152 background-position: center right; /* [3] */
5153 background-repeat: no-repeat;
5154 background-size: cover;
5155 }
5156 @media only screen {
5157 .nhsuk-hero--image {
5158 /* [4] */
5159 min-height: 200px;
5160 }
5161 }
5162 @media only screen and (min-width: 40.0625em) {
5163 .nhsuk-hero--image {
5164 /* [4] */
5165 min-height: 320px; /* [5] */
5166 }
5167 .nhsuk-hero--image .nhsuk-hero__overlay {
5168 height: 320px; /* [6] */
5169 }
5170 }
5171 @media screen and (-ms-high-contrast: active) {
5172 .nhsuk-hero--image {
5173 min-height: 0; /* [12] */
5174 }
5175 }
5176 .nhsuk-hero--image .nhsuk-hero__overlay {
5177 background-color: rgba(0, 47, 92, 0.1); /* [7] */
5178 }
5179 @media only screen {
5180 .nhsuk-hero--image .nhsuk-hero__overlay {
5181 /* [4] */
5182 min-height: 200px; /* [6] */
5183 }
5184 }
5185 @media screen and (-ms-high-contrast: active) {
5186 .nhsuk-hero--image .nhsuk-hero__overlay {
5187 height: auto; /* [12] */
5188 min-height: 0; /* [12] */
5189 }
5190 }
5191
5192 /**
5193 * Hero component description styles.
5194 *
5195 * 8. 'Random number' for the triangle.
5196 * 9. 'Random number' for the triangle positioning.
5197 * 10. Needed to enable the triangle to show correctly in high contrast mode.
5198 * 11. Give the description box a max width.
5199 * 13. Remove the arrow in Windows high contrast mode.
5200 * 14. Reduce spacing and change positioning for Windows high contrast mode.
5201 * 15. Prevent text breaking out of box on smaller sizes
5202 */
5203 .nhsuk-hero--image-description .nhsuk-hero-content {
5204 background-color: #005eb8;
5205 color: #ffffff;
5206 margin-bottom: 24px;
5207 padding: 24px;
5208 position: relative;
5209 top: 70px;
5210 }
5211 .nhsuk-hero--image-description .nhsuk-hero-content .nhsuk-hero__arrow {
5212 bottom: -10px; /* [8] */
5213 display: block;
5214 height: 20px; /* [8] */
5215 left: 32px; /* [9] */
5216 overflow: hidden;
5217 position: absolute;
5218 transform: rotate(45deg);
5219 width: 20px; /* [8] */
5220 }
5221 @media print {
5222 .nhsuk-hero--image-description .nhsuk-hero-content .nhsuk-hero__arrow {
5223 display: none;
5224 }
5225 }
5226 @media (min-width: 40.0625em) {
5227 .nhsuk-hero--image-description .nhsuk-hero-content .nhsuk-hero__arrow {
5228 left: 46px; /* [9] */
5229 }
5230 }
5231 .nhsuk-hero--image-description .nhsuk-hero-content .nhsuk-hero__arrow:before, .nhsuk-hero--image-description .nhsuk-hero-content .nhsuk-hero__arrow:after {
5232 border: solid 32px #005eb8; /* [8] */
5233 content: "";
5234 display: block;
5235 height: 0;
5236 position: absolute;
5237 top: 0;
5238 transform: rotate(45deg); /* [10] */
5239 width: 0;
5240 }
5241 @media screen and (-ms-high-contrast: active) {
5242 .nhsuk-hero--image-description .nhsuk-hero-content .nhsuk-hero__arrow {
5243 display: none; /* [13] */
5244 }
5245 }
5246 @media (min-width: 23.4375em) {
5247 .nhsuk-hero--image-description .nhsuk-hero-content {
5248 /* [15] */
5249 width: 85%;
5250 }
5251 }
5252 @media (min-width: 40.0625em) {
5253 .nhsuk-hero--image-description .nhsuk-hero-content > *:first-child {
5254 margin-top: 0;
5255 }
5256 .nhsuk-hero--image-description .nhsuk-hero-content > *:last-child {
5257 margin-bottom: 0;
5258 }
5259 .nhsuk-hero--image-description .nhsuk-hero-content {
5260 bottom: -48px; /* [8] */
5261 margin-bottom: 0;
5262 max-width: 35em; /* [11] */
5263 padding: 32px 40px;
5264 position: absolute;
5265 top: auto;
5266 }
5267 }
5268 @media print {
5269 .nhsuk-hero--image-description .nhsuk-hero-content {
5270 color: #212b32;
5271 max-width: 100%;
5272 padding: 0;
5273 }
5274 }
5275 @media screen and (-ms-high-contrast: active) {
5276 .nhsuk-hero--image-description .nhsuk-hero-content {
5277 /* [14] */
5278 bottom: 0;
5279 margin-bottom: 0;
5280 min-height: 0;
5281 padding: 32px 0 0;
5282 position: relative;
5283 top: 0;
5284 }
5285 }
5286
5287 /* ==========================================================================
5288 COMPONENTS/ #HINT
5289 ========================================================================== */
5290 .nhsuk-hint {
5291 font-weight: 400;
5292 font-size: 16px;
5293 font-size: 1rem;
5294 line-height: 1.5;
5295 }
5296 @media (min-width: 40.0625em) {
5297 .nhsuk-hint {
5298 font-size: 19px;
5299 font-size: 1.1875rem;
5300 line-height: 1.47368;
5301 }
5302 }
5303 @media print {
5304 .nhsuk-hint {
5305 font-size: 14pt;
5306 line-height: 1.15;
5307 }
5308 }
5309 .nhsuk-hint {
5310 color: #4c6272;
5311 display: block;
5312 margin-bottom: 16px;
5313 }
5314
5315 .nhsuk-label:not(.nhsuk-label--m):not(.nhsuk-label--l):not(.nhsuk-label--xl) + .nhsuk-hint {
5316 margin-bottom: 8px;
5317 }
5318
5319 .nhsuk-fieldset__legend:not(.nhsuk-fieldset__legend--m):not(.nhsuk-fieldset__legend--l):not(.nhsuk-fieldset__legend--xl) + .nhsuk-hint {
5320 margin-bottom: 8px;
5321 }
5322
5323 .nhsuk-fieldset__legend + .nhsuk-hint {
5324 margin-top: -4px;
5325 }
5326
5327 /* ==========================================================================
5328 COMPONENTS / #IMAGES
5329 ========================================================================== */
5330 /**
5331 * 1. Overrides default browser margin values.
5332 * 2. Makes the image width two thirds of its container for desktop.
5333 * 3. Avoid image printing full width of a page.
5334 * 4. Removes top margin from subsequent nhsuk-image.
5335 */
5336 .nhsuk-image, .is-style-nhsuk-image {
5337 background-color: #ffffff;
5338 border-bottom: 1px solid #d8dde0;
5339 margin-left: 0; /* [1] */
5340 margin-right: 0; /* [1] */
5341 margin-bottom: 32px;
5342 }
5343 @media (min-width: 40.0625em) {
5344 .nhsuk-image, .is-style-nhsuk-image {
5345 margin-bottom: 40px;
5346 }
5347 }
5348 .nhsuk-image, .is-style-nhsuk-image {
5349 margin-top: 32px;
5350 }
5351 @media (min-width: 40.0625em) {
5352 .nhsuk-image, .is-style-nhsuk-image {
5353 margin-top: 40px;
5354 }
5355 }
5356 @media (min-width: 48.0625em) {
5357 .nhsuk-image, .is-style-nhsuk-image {
5358 width: 66.66667%; /* [2] */
5359 }
5360 }
5361 @media print {
5362 .nhsuk-image, .is-style-nhsuk-image {
5363 width: 50%; /* [3] */
5364 }
5365 }
5366 .nhsuk-image + .nhsuk-image, .is-style-nhsuk-image + .nhsuk-image, .nhsuk-image + .is-style-nhsuk-image, .is-style-nhsuk-image + .is-style-nhsuk-image {
5367 margin-top: 0;
5368 }
5369 @media (min-width: 40.0625em) {
5370 .nhsuk-image + .nhsuk-image, .is-style-nhsuk-image + .nhsuk-image, .nhsuk-image + .is-style-nhsuk-image, .is-style-nhsuk-image + .is-style-nhsuk-image {
5371 margin-top: 0;
5372 }
5373 }
5374 .nhsuk-image + .nhsuk-image, .is-style-nhsuk-image + .nhsuk-image, .nhsuk-image + .is-style-nhsuk-image, .is-style-nhsuk-image + .is-style-nhsuk-image {
5375 /* [4] */
5376 }
5377
5378 .nhsuk-image__img, .nhsuk-image img, .is-style-nhsuk-image img {
5379 display: block;
5380 width: 100%;
5381 }
5382
5383 .nhsuk-image__caption, .gallery-caption, .nhsuk-image figcaption, .is-style-nhsuk-image figcaption {
5384 font-size: 14px;
5385 font-size: 0.875rem;
5386 line-height: 1.71429;
5387 }
5388 @media (min-width: 40.0625em) {
5389 .nhsuk-image__caption, .gallery-caption, .nhsuk-image figcaption, .is-style-nhsuk-image figcaption {
5390 font-size: 16px;
5391 font-size: 1rem;
5392 line-height: 1.5;
5393 }
5394 }
5395 @media print {
5396 .nhsuk-image__caption, .gallery-caption, .nhsuk-image figcaption, .is-style-nhsuk-image figcaption {
5397 font-size: 14pt;
5398 line-height: 1.2;
5399 }
5400 }
5401 .nhsuk-image__caption, .gallery-caption, .nhsuk-image figcaption, .is-style-nhsuk-image figcaption {
5402 padding: 16px;
5403 }
5404
5405 /* ==========================================================================
5406 COMPONENTS/ #INPUT
5407 ========================================================================== */
5408 /**
5409 * 1. Disable inner shadow and remove rounded corners
5410 * 2. setting any background-color makes text invisible when changing colours to dark
5411 * backgrounds in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1335476)
5412 * as background-color and color need to always be set together, color should
5413 * not be set either.
5414 */
5415 .nhsuk-input {
5416 font-weight: 400;
5417 font-size: 16px;
5418 font-size: 1rem;
5419 line-height: 1.5;
5420 }
5421 @media (min-width: 40.0625em) {
5422 .nhsuk-input {
5423 font-size: 19px;
5424 font-size: 1.1875rem;
5425 line-height: 1.47368;
5426 }
5427 }
5428 @media print {
5429 .nhsuk-input {
5430 font-size: 14pt;
5431 line-height: 1.15;
5432 }
5433 }
5434 .nhsuk-input {
5435 -moz-appearance: none; /* 1 */
5436 -webkit-appearance: none; /* 1 */
5437 appearance: none; /* 1 */
5438 border: 2px solid #4c6272; /* 2 */
5439 border-radius: 0;
5440 box-sizing: border-box;
5441 min-height: 40px;
5442 margin-top: 0;
5443 padding: 4px;
5444 width: 100%;
5445 }
5446 .nhsuk-input:focus {
5447 border: 2px solid #212b32;
5448 box-shadow: inset 0 0 0 2px;
5449 outline: 4px solid #ffeb3b; /* 1 */
5450 outline-offset: 0;
5451 }
5452
5453 .nhsuk-input::-webkit-outer-spin-button,
5454 .nhsuk-input::-webkit-inner-spin-button {
5455 -webkit-appearance: none;
5456 margin: 0;
5457 }
5458
5459 .nhsuk-input[type=number] {
5460 /* stylelint-disable-line string-quotes */
5461 -moz-appearance: textfield;
5462 }
5463
5464 .nhsuk-input--error {
5465 border: 2px solid #d5281b;
5466 }
5467
5468 .nhsuk-input--width-30 {
5469 max-width: 59ex;
5470 }
5471
5472 .nhsuk-input--width-20 {
5473 max-width: 41ex;
5474 }
5475
5476 .nhsuk-input--width-10 {
5477 max-width: 23ex;
5478 }
5479
5480 .nhsuk-input--width-5 {
5481 max-width: 10.8ex;
5482 }
5483
5484 .nhsuk-input--width-4 {
5485 max-width: 9ex;
5486 }
5487
5488 .nhsuk-input--width-3 {
5489 max-width: 7.2ex;
5490 }
5491
5492 .nhsuk-input--width-2 {
5493 max-width: 5.4ex;
5494 }
5495
5496 .nhsuk-input__wrapper {
5497 display: flex;
5498 }
5499 @media (max-width: 19.99em) {
5500 .nhsuk-input__wrapper {
5501 display: block;
5502 }
5503 }
5504
5505 .nhsuk-input__prefix,
5506 .nhsuk-input__suffix {
5507 font-weight: 400;
5508 font-size: 16px;
5509 font-size: 1rem;
5510 line-height: 1.5;
5511 }
5512 @media (min-width: 40.0625em) {
5513 .nhsuk-input__prefix,
5514 .nhsuk-input__suffix {
5515 font-size: 19px;
5516 font-size: 1.1875rem;
5517 line-height: 1.47368;
5518 }
5519 }
5520 @media print {
5521 .nhsuk-input__prefix,
5522 .nhsuk-input__suffix {
5523 font-size: 14pt;
5524 line-height: 1.15;
5525 }
5526 }
5527 .nhsuk-input__prefix,
5528 .nhsuk-input__suffix {
5529 background-color: #d8dde0;
5530 border: 2px solid #4c6272;
5531 box-sizing: border-box;
5532 cursor: default;
5533 display: inline-block;
5534 flex: 0 0 auto;
5535 min-height: 40px;
5536 min-width: 2.5rem;
5537 padding: 4px;
5538 text-align: center;
5539 white-space: nowrap;
5540 }
5541 @media (max-width: 19.99em) {
5542 .nhsuk-input__prefix,
5543 .nhsuk-input__suffix {
5544 max-width: 9.1ex;
5545 display: block;
5546 height: 100%;
5547 white-space: normal;
5548 }
5549 }
5550 @media (max-width: 40.0525em) {
5551 .nhsuk-input__prefix,
5552 .nhsuk-input__suffix {
5553 line-height: 1.6;
5554 font-size: 1.1875rem;
5555 }
5556 }
5557
5558 @media (max-width: 19.99em) {
5559 .nhsuk-input__prefix {
5560 border-bottom: 0;
5561 }
5562 }
5563 @media (min-width: 20em) {
5564 .nhsuk-input__prefix {
5565 border-right: 0;
5566 }
5567 }
5568
5569 @media (max-width: 19.99em) {
5570 .nhsuk-input__suffix {
5571 border-top: 0;
5572 }
5573 }
5574 @media (min-width: 20em) {
5575 .nhsuk-input__suffix {
5576 border-left: 0;
5577 }
5578 }
5579
5580 /* ==========================================================================
5581 COMPONENTS / #INSET-TEXT
5582 ========================================================================== */
5583 /**
5584 * 1. Removes top margin from first element and bottom margin from last,
5585 * to ensure correct spacing within the component.
5586 * 2. Restricts the width of the text to optimise the line length for
5587 * readability.
5588 */
5589 .nhsuk-inset-text > *:first-child {
5590 margin-top: 0;
5591 }
5592 .nhsuk-inset-text > *:last-child {
5593 margin-bottom: 0;
5594 }
5595 .nhsuk-inset-text {
5596 /* [1] */
5597 max-width: 44em;
5598 /* [2] */
5599 margin-bottom: 40px;
5600 }
5601 @media (min-width: 40.0625em) {
5602 .nhsuk-inset-text {
5603 margin-bottom: 48px;
5604 }
5605 }
5606 .nhsuk-inset-text {
5607 margin-top: 40px;
5608 }
5609 @media (min-width: 40.0625em) {
5610 .nhsuk-inset-text {
5611 margin-top: 48px;
5612 }
5613 }
5614 .nhsuk-inset-text {
5615 padding: 16px;
5616 }
5617 @media (min-width: 40.0625em) {
5618 .nhsuk-inset-text {
5619 padding: 24px;
5620 }
5621 }
5622 .nhsuk-inset-text {
5623 border-left: 8px solid #005eb8;
5624 }
5625 @media print {
5626 .nhsuk-inset-text {
5627 border-color: #212b32;
5628 }
5629 }
5630
5631 /* ==========================================================================
5632 COMPONENTS/ #LABEL
5633 ========================================================================== */
5634 .nhsuk-label {
5635 font-weight: 400;
5636 font-size: 16px;
5637 font-size: 1rem;
5638 line-height: 1.5;
5639 }
5640 @media (min-width: 40.0625em) {
5641 .nhsuk-label {
5642 font-size: 19px;
5643 font-size: 1.1875rem;
5644 line-height: 1.47368;
5645 }
5646 }
5647 @media print {
5648 .nhsuk-label {
5649 font-size: 14pt;
5650 line-height: 1.15;
5651 }
5652 }
5653 .nhsuk-label {
5654 display: block;
5655 margin-bottom: 4px;
5656 }
5657
5658 /* Modifiers that make labels look more like their equivalent headings */
5659 .nhsuk-label--xl,
5660 .nhsuk-label--l,
5661 .nhsuk-label--m {
5662 font-weight: 600;
5663 margin-top: 0;
5664 margin-bottom: 16px;
5665 }
5666
5667 .nhsuk-label--xl {
5668 font-size: 32px;
5669 font-size: 2rem;
5670 line-height: 1.25;
5671 }
5672 @media (min-width: 40.0625em) {
5673 .nhsuk-label--xl {
5674 font-size: 48px;
5675 font-size: 3rem;
5676 line-height: 1.16667;
5677 }
5678 }
5679 @media print {
5680 .nhsuk-label--xl {
5681 font-size: 32pt;
5682 line-height: 1.15;
5683 }
5684 }
5685
5686 .nhsuk-label--l {
5687 font-size: 24px;
5688 font-size: 1.5rem;
5689 line-height: 1.33333;
5690 }
5691 @media (min-width: 40.0625em) {
5692 .nhsuk-label--l {
5693 font-size: 32px;
5694 font-size: 2rem;
5695 line-height: 1.25;
5696 }
5697 }
5698 @media print {
5699 .nhsuk-label--l {
5700 font-size: 24pt;
5701 line-height: 1.05;
5702 }
5703 }
5704
5705 .nhsuk-label--m {
5706 font-size: 20px;
5707 font-size: 1.25rem;
5708 line-height: 1.4;
5709 }
5710 @media (min-width: 40.0625em) {
5711 .nhsuk-label--m {
5712 font-size: 24px;
5713 font-size: 1.5rem;
5714 line-height: 1.33333;
5715 }
5716 }
5717 @media print {
5718 .nhsuk-label--m {
5719 font-size: 18pt;
5720 line-height: 1.15;
5721 }
5722 }
5723
5724 .nhsuk-label--s {
5725 font-size: 16px;
5726 font-size: 1rem;
5727 line-height: 1.5;
5728 }
5729 @media (min-width: 40.0625em) {
5730 .nhsuk-label--s {
5731 font-size: 19px;
5732 font-size: 1.1875rem;
5733 line-height: 1.47368;
5734 }
5735 }
5736 @media print {
5737 .nhsuk-label--s {
5738 font-size: 14pt;
5739 line-height: 1.15;
5740 }
5741 }
5742 .nhsuk-label--s {
5743 font-weight: 600;
5744 margin-top: 0;
5745 }
5746
5747 .nhsuk-label-wrapper {
5748 margin: 0;
5749 }
5750
5751 /* ==========================================================================
5752 COMPONENTS / #PAGINATION
5753 ========================================================================== */
5754 /**
5755 * 1. Padding to give the icon spacing.
5756 * 2. Append the word 'page' after next and
5757 * previous on print stylesheets to make it easier
5758 * to understand in print context.
5759 */
5760 .nhsuk-pagination {
5761 margin-top: 40px;
5762 }
5763 @media (min-width: 40.0625em) {
5764 .nhsuk-pagination {
5765 margin-top: 48px;
5766 }
5767 }
5768 .nhsuk-pagination {
5769 margin-bottom: 40px;
5770 }
5771 @media (min-width: 40.0625em) {
5772 .nhsuk-pagination {
5773 margin-bottom: 48px;
5774 }
5775 }
5776
5777 .nhsuk-pagination__list:after {
5778 clear: both;
5779 content: "";
5780 display: block;
5781 }
5782
5783 .nhsuk-pagination-item--previous {
5784 float: left;
5785 text-align: left;
5786 width: 50%;
5787 }
5788 .nhsuk-pagination-item--previous .nhsuk-icon {
5789 left: -6px;
5790 }
5791 .nhsuk-pagination-item--previous .nhsuk-pagination__title {
5792 padding-left: 32px; /* [1] */
5793 }
5794
5795 .nhsuk-pagination-item--next {
5796 float: right;
5797 text-align: right;
5798 width: 50%;
5799 }
5800 .nhsuk-pagination-item--next .nhsuk-icon {
5801 right: -6px;
5802 }
5803 .nhsuk-pagination-item--next .nhsuk-pagination__title {
5804 padding-right: 32px; /* [1] */
5805 }
5806
5807 .nhsuk-pagination__link {
5808 display: block;
5809 position: relative;
5810 text-decoration: none;
5811 width: 100%;
5812 }
5813 @media print {
5814 .nhsuk-pagination__link {
5815 color: #212b32;
5816 }
5817 }
5818 .nhsuk-pagination__link .nhsuk-icon {
5819 position: absolute;
5820 top: -2px;
5821 }
5822 @media print {
5823 .nhsuk-pagination__link .nhsuk-icon {
5824 color: #212b32;
5825 margin-top: 0;
5826 }
5827 }
5828 .nhsuk-pagination__link:hover {
5829 color: #7c2855;
5830 }
5831 .nhsuk-pagination__link:hover .nhsuk-icon {
5832 fill: #7c2855;
5833 }
5834 .nhsuk-pagination__link:hover .nhsuk-pagination__page {
5835 text-decoration: none;
5836 }
5837 .nhsuk-pagination__link:focus {
5838 background-color: #ffeb3b;
5839 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
5840 color: #212b32;
5841 outline: 4px solid transparent;
5842 text-decoration: none;
5843 }
5844 .nhsuk-pagination__link:focus .nhsuk-pagination__page {
5845 text-decoration: none;
5846 }
5847 .nhsuk-pagination__link:focus:visited .nhsuk-icon, .nhsuk-pagination__link:focus:hover .nhsuk-icon, .nhsuk-pagination__link:focus:active .nhsuk-icon {
5848 fill: #212b32;
5849 }
5850 .nhsuk-pagination__link:visited .nhsuk-icon {
5851 fill: #330072;
5852 }
5853 .nhsuk-pagination__link:visited:hover .nhsuk-icon {
5854 fill: #7c2855;
5855 }
5856 .nhsuk-pagination__link:visited:focus .nhsuk-icon {
5857 fill: #212b32;
5858 }
5859
5860 .nhsuk-pagination__title {
5861 font-size: 20px;
5862 font-size: 1.25rem;
5863 line-height: 1.4;
5864 }
5865 @media (min-width: 40.0625em) {
5866 .nhsuk-pagination__title {
5867 font-size: 24px;
5868 font-size: 1.5rem;
5869 line-height: 1.33333;
5870 }
5871 }
5872 @media print {
5873 .nhsuk-pagination__title {
5874 font-size: 18pt;
5875 line-height: 1.15;
5876 }
5877 }
5878 .nhsuk-pagination__title {
5879 display: block;
5880 }
5881 @media print {
5882 .nhsuk-pagination__title:after {
5883 content: " page"; /* [2] */
5884 }
5885 }
5886
5887 .nhsuk-pagination__page {
5888 font-size: 14px;
5889 font-size: 0.875rem;
5890 line-height: 1.71429;
5891 }
5892 @media (min-width: 40.0625em) {
5893 .nhsuk-pagination__page {
5894 font-size: 16px;
5895 font-size: 1rem;
5896 line-height: 1.5;
5897 }
5898 }
5899 @media print {
5900 .nhsuk-pagination__page {
5901 font-size: 14pt;
5902 line-height: 1.2;
5903 }
5904 }
5905 .nhsuk-pagination__page {
5906 display: block;
5907 text-decoration: underline;
5908 }
5909
5910 /* ==========================================================================
5911 COMPONENTS/ #RADIOS
5912 ========================================================================== */
5913 /**
5914 * 1. remove 300ms pause on mobile.
5915 * 2. Fix bug in IE11 caused by transform rotate (-45deg).
5916 */
5917 .nhsuk-radios__item {
5918 font-weight: 400;
5919 font-size: 16px;
5920 font-size: 1rem;
5921 line-height: 1.5;
5922 }
5923 @media (min-width: 40.0625em) {
5924 .nhsuk-radios__item {
5925 font-size: 19px;
5926 font-size: 1.1875rem;
5927 line-height: 1.47368;
5928 }
5929 }
5930 @media print {
5931 .nhsuk-radios__item {
5932 font-size: 14pt;
5933 line-height: 1.15;
5934 }
5935 }
5936 .nhsuk-radios__item {
5937 clear: left;
5938 display: block;
5939 margin-bottom: 8px;
5940 min-height: 40px;
5941 padding: 0 0 0 40px;
5942 position: relative;
5943 }
5944
5945 .nhsuk-radios__item:last-child,
5946 .nhsuk-radios__item:last-of-type {
5947 margin-bottom: 0;
5948 }
5949
5950 .nhsuk-radios__input {
5951 cursor: pointer;
5952 height: 40px;
5953 left: 0;
5954 margin: 0;
5955 opacity: 0;
5956 position: absolute;
5957 top: 0;
5958 width: 40px;
5959 z-index: 1;
5960 }
5961
5962 .nhsuk-radios__label {
5963 cursor: pointer;
5964 display: inline-block;
5965 margin-bottom: 0;
5966 padding: 8px 12px 4px;
5967 -ms-touch-action: manipulation; /* 1 */
5968 touch-action: manipulation; /* 1 */
5969 }
5970
5971 .nhsuk-radios__hint {
5972 display: block;
5973 padding-left: 12px;
5974 padding-right: 12px;
5975 }
5976
5977 .nhsuk-radios__input + .nhsuk-radios__label::before {
5978 background: #ffffff;
5979 border: 2px solid #4c6272;
5980 border-radius: 50%;
5981 box-sizing: border-box;
5982 content: "";
5983 height: 40px;
5984 left: 0;
5985 position: absolute;
5986 top: 0;
5987 width: 40px;
5988 }
5989
5990 .nhsuk-radios__input + .nhsuk-radios__label::after {
5991 background: #4c6272;
5992 border: 10px solid #212b32;
5993 border-radius: 50%;
5994 content: "";
5995 height: 0;
5996 left: 10px;
5997 opacity: 0;
5998 position: absolute;
5999 top: 10px;
6000 width: 0;
6001 }
6002
6003 /**
6004 * Focus state
6005 *
6006 * 1. Since box-shadows are removed when users customise their colours
6007 * We set a transparent outline that is shown instead.
6008 * https://accessibility.blog.gov.uk/2017/03/27/how-users-change-colours-on-websites/
6009 */
6010 .nhsuk-radios__input:focus + .nhsuk-radios__label::before {
6011 border: 4px solid #212b32;
6012 box-shadow: 0 0 0 4px #ffeb3b;
6013 }
6014
6015 /* Selected state */
6016 .nhsuk-radios__input:checked + .nhsuk-radios__label::after {
6017 opacity: 1;
6018 }
6019
6020 /* Disabled state */
6021 .nhsuk-radios__input:disabled,
6022 .nhsuk-radios__input:disabled + .nhsuk-radios__label {
6023 cursor: default;
6024 }
6025
6026 .nhsuk-radios__input:disabled + .nhsuk-radios__label {
6027 opacity: 0.5;
6028 }
6029
6030 /*
6031 * Inline variant
6032 *
6033 * 1. Prevent inline modifier being used with conditional reveals
6034 */
6035 @media (min-width: 40.0625em) {
6036 .nhsuk-radios--inline:after {
6037 clear: both;
6038 content: "";
6039 display: block;
6040 }
6041 .nhsuk-radios--inline .nhsuk-radios__item {
6042 clear: none;
6043 float: left;
6044 margin-right: 24px;
6045 }
6046 }
6047 .nhsuk-radios--inline.nhsuk-radios--conditional {
6048 /* 1 */
6049 }
6050 .nhsuk-radios--inline.nhsuk-radios--conditional .nhsuk-radios__item {
6051 float: none;
6052 margin-right: 0;
6053 }
6054
6055 /* Divider variant */
6056 .nhsuk-radios__divider {
6057 font-weight: 400;
6058 font-size: 16px;
6059 font-size: 1rem;
6060 line-height: 1.5;
6061 }
6062 @media (min-width: 40.0625em) {
6063 .nhsuk-radios__divider {
6064 font-size: 19px;
6065 font-size: 1.1875rem;
6066 line-height: 1.47368;
6067 }
6068 }
6069 @media print {
6070 .nhsuk-radios__divider {
6071 font-size: 14pt;
6072 line-height: 1.15;
6073 }
6074 }
6075 .nhsuk-radios__divider {
6076 color: #212b32;
6077 margin-bottom: 8px;
6078 text-align: center;
6079 width: 40px;
6080 }
6081
6082 /* Conditional */
6083 .nhsuk-radios__conditional {
6084 margin-bottom: 16px;
6085 }
6086 @media (min-width: 40.0625em) {
6087 .nhsuk-radios__conditional {
6088 margin-bottom: 24px;
6089 }
6090 }
6091 .nhsuk-radios__conditional {
6092 border-left: 4px solid #4c6272;
6093 margin-left: 18px;
6094 padding-left: 30px;
6095 }
6096 .nhsuk-radios__conditional > :last-child {
6097 margin-bottom: 0;
6098 }
6099
6100 .js-enabled .nhsuk-radios__conditional--hidden {
6101 display: none;
6102 }
6103
6104 /* ==========================================================================
6105 COMPONENTS/ #SELECT
6106 ========================================================================== */
6107 /**
6108 * Select input sizing
6109 * 1. Uses rems so that safari input scales with font size
6110 * 2. This min-width was chosen because:
6111 * - it makes the Select wider than it is tall (which is what users expect)
6112 * - 20ex + 3ex matches the 'width-10' variant of the input component
6113 * - it fits comfortably on screens as narrow as 240px wide
6114 */
6115 .nhsuk-select {
6116 font-weight: 400;
6117 font-size: 16px;
6118 font-size: 1rem;
6119 line-height: 1.5;
6120 }
6121 @media (min-width: 40.0625em) {
6122 .nhsuk-select {
6123 font-size: 19px;
6124 font-size: 1.1875rem;
6125 line-height: 1.47368;
6126 }
6127 }
6128 @media print {
6129 .nhsuk-select {
6130 font-size: 14pt;
6131 line-height: 1.15;
6132 }
6133 }
6134 .nhsuk-select {
6135 border: 2px solid #4c6272;
6136 box-sizing: border-box;
6137 height: 2.5rem; /* [1] */
6138 min-width: 23ex; /* [2] */
6139 max-width: 100%;
6140 padding: 4px;
6141 }
6142 .nhsuk-select:focus {
6143 border: 2px solid #212b32;
6144 box-shadow: inset 0 0 0 2px;
6145 outline: 4px solid #ffeb3b; /* 1 */
6146 outline-offset: 0;
6147 }
6148
6149 .nhsuk-select option:active,
6150 .nhsuk-select option:checked,
6151 .nhsuk-select:focus::-ms-value {
6152 background-color: #005eb8;
6153 color: #ffffff;
6154 }
6155
6156 .nhsuk-select--error {
6157 border: 2px solid #d5281b;
6158 }
6159
6160 /* ==========================================================================
6161 COMPONENTS / #SKIP-LINK
6162 ========================================================================== */
6163 /**
6164 * 1. Hides the skip link off the page,
6165 * 2. until the link gains focus from keyboard tabbing.
6166 */
6167 .nhsuk-skip-link {
6168 left: -9999px; /* [1] */
6169 padding: 8px;
6170 position: absolute;
6171 }
6172 .nhsuk-skip-link:active, .nhsuk-skip-link:focus {
6173 left: 16px; /* [2] */
6174 top: 16px;
6175 z-index: 2;
6176 }
6177 .nhsuk-skip-link:visited {
6178 color: #212b32;
6179 }
6180
6181 /* ==========================================================================
6182 COMPONENTS/ #SUMMARY-LIST
6183 ========================================================================== */
6184 /**
6185 * Original code taken from GDS (Government Digital Service)
6186 * https://github.com/alphagov/govuk-frontend
6187 *
6188 * 1. Required to allow us to wrap words that overflow.
6189 * 2. Reset default user agent styles
6190 * 3. Automatic wrapping for unbreakable text (e.g. URLs)
6191 * 4. Fallback for older browsers only
6192 */
6193 .nhsuk-summary-list {
6194 font-weight: 400;
6195 font-size: 16px;
6196 font-size: 1rem;
6197 line-height: 1.5;
6198 }
6199 @media (min-width: 40.0625em) {
6200 .nhsuk-summary-list {
6201 font-size: 19px;
6202 font-size: 1.1875rem;
6203 line-height: 1.47368;
6204 }
6205 }
6206 @media print {
6207 .nhsuk-summary-list {
6208 font-size: 14pt;
6209 line-height: 1.15;
6210 }
6211 }
6212 @media (min-width: 40.0625em) {
6213 .nhsuk-summary-list {
6214 display: table;
6215 table-layout: fixed; /* [1] */
6216 width: 100%;
6217 }
6218 }
6219 .nhsuk-summary-list {
6220 margin: 0; /* [2] */
6221 margin-bottom: 32px;
6222 }
6223 @media (min-width: 40.0625em) {
6224 .nhsuk-summary-list {
6225 margin-bottom: 40px;
6226 }
6227 }
6228
6229 @media (max-width: 40.0525em) {
6230 .nhsuk-summary-list__row {
6231 border-bottom: 1px solid #d8dde0;
6232 margin-bottom: 16px;
6233 }
6234 }
6235 @media (min-width: 40.0625em) {
6236 .nhsuk-summary-list__row {
6237 display: table-row;
6238 }
6239 }
6240
6241 .nhsuk-summary-list__key,
6242 .nhsuk-summary-list__value,
6243 .nhsuk-summary-list__actions {
6244 margin: 0; /* [2] */
6245 vertical-align: top;
6246 }
6247 @media (min-width: 40.0625em) {
6248 .nhsuk-summary-list__key,
6249 .nhsuk-summary-list__value,
6250 .nhsuk-summary-list__actions {
6251 border-bottom: 1px solid #d8dde0;
6252 display: table-cell;
6253 padding-bottom: 8px;
6254 padding-right: 24px;
6255 padding-top: 8px;
6256 }
6257 }
6258
6259 .nhsuk-summary-list__actions {
6260 margin-bottom: 16px;
6261 }
6262 @media (min-width: 40.0625em) {
6263 .nhsuk-summary-list__actions {
6264 padding-right: 0;
6265 text-align: right;
6266 width: 20%;
6267 }
6268 }
6269
6270 .nhsuk-summary-list__key,
6271 .nhsuk-summary-list__value {
6272 /* [3] */
6273 overflow-wrap: break-word;
6274 word-wrap: break-word; /* [4] */
6275 }
6276
6277 .nhsuk-summary-list__key {
6278 font-weight: 600;
6279 margin-bottom: 4px;
6280 }
6281 @media (min-width: 40.0625em) {
6282 .nhsuk-summary-list__key {
6283 width: 30%;
6284 }
6285 }
6286
6287 @media (max-width: 40.0525em) {
6288 .nhsuk-summary-list__value {
6289 margin-bottom: 16px;
6290 }
6291 }
6292 @media (min-width: 40.0625em) {
6293 .nhsuk-summary-list__value {
6294 width: 50%;
6295 }
6296 }
6297
6298 .nhsuk-summary-list__value > p {
6299 margin-bottom: 8px;
6300 }
6301
6302 .nhsuk-summary-list__value > :last-child {
6303 margin-bottom: 0;
6304 }
6305
6306 .nhsuk-summary-list__actions-list {
6307 margin: 0; /* [2] */
6308 padding: 0; /* [2] */
6309 width: 100%;
6310 }
6311
6312 .nhsuk-summary-list__actions-list-item {
6313 display: inline;
6314 margin-right: 8px;
6315 padding-right: 8px;
6316 }
6317
6318 .nhsuk-summary-list__actions-list-item:not(:last-child) {
6319 border-right: 1px solid #d8dde0;
6320 }
6321
6322 .nhsuk-summary-list__actions-list-item:last-child {
6323 border: 0;
6324 margin-right: 0;
6325 padding-right: 0;
6326 }
6327
6328 .nhsuk-summary-list--no-border .nhsuk-summary-list__key,
6329 .nhsuk-summary-list--no-border .nhsuk-summary-list__value,
6330 .nhsuk-summary-list--no-border .nhsuk-summary-list__actions,
6331 .nhsuk-summary-list--no-border .nhsuk-summary-list__row {
6332 border: 0;
6333 }
6334
6335 /* ==========================================================================
6336 COMPONENTS / #TABLE
6337 ========================================================================== */
6338 /**
6339 * Table container is used to ensure the table does not break the container.
6340 *
6341 * 1. Margin is removed so there isn't double spacing.
6342 */
6343 .nhsuk-table-container {
6344 margin-bottom: 40px;
6345 }
6346 @media (min-width: 40.0625em) {
6347 .nhsuk-table-container {
6348 margin-bottom: 48px;
6349 }
6350 }
6351 .nhsuk-table-container {
6352 display: block;
6353 -webkit-overflow-scrolling: touch;
6354 -ms-overflow-style: -ms-autohiding-scrollbar;
6355 overflow-x: auto;
6356 width: 100%;
6357 }
6358 .nhsuk-table-container .nhsuk-table {
6359 margin: 0; /* [1] */
6360 }
6361
6362 /* Table row hover
6363 ========================================================================== */
6364 /**
6365 * Table row hover is used to aid readability for users.
6366 */
6367 .nhsuk-table__row:hover {
6368 background-color: #f0f4f5;
6369 }
6370
6371 /* Table panel with tab heading
6372 ========================================================================== */
6373 /**
6374 * 1. Margin is removed so there isn't double spacing.
6375 */
6376 .nhsuk-table__panel-with-heading-tab > *:first-child {
6377 margin-top: 0;
6378 }
6379 .nhsuk-table__panel-with-heading-tab > *:last-child {
6380 margin-bottom: 0;
6381 }
6382 .nhsuk-table__panel-with-heading-tab {
6383 margin-bottom: 40px;
6384 }
6385 @media (min-width: 40.0625em) {
6386 .nhsuk-table__panel-with-heading-tab {
6387 margin-bottom: 48px;
6388 }
6389 }
6390 .nhsuk-table__panel-with-heading-tab {
6391 margin-top: 40px;
6392 }
6393 @media (min-width: 40.0625em) {
6394 .nhsuk-table__panel-with-heading-tab {
6395 margin-top: 48px;
6396 }
6397 }
6398 .nhsuk-table__panel-with-heading-tab {
6399 padding: 24px;
6400 }
6401 @media (min-width: 40.0625em) {
6402 .nhsuk-table__panel-with-heading-tab {
6403 padding: 32px;
6404 }
6405 }
6406 .nhsuk-table__panel-with-heading-tab {
6407 background-color: #ffffff;
6408 color: #212b32;
6409 }
6410 @media print {
6411 .nhsuk-table__panel-with-heading-tab {
6412 border: 1px solid #212b32;
6413 page-break-inside: avoid;
6414 }
6415 }
6416 .nhsuk-table__panel-with-heading-tab {
6417 border: 1px solid #d8dde0;
6418 padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */
6419 }
6420 .nhsuk-table__panel-with-heading-tab .nhsuk-table-container,
6421 .nhsuk-table__panel-with-heading-tab .nhsuk-table {
6422 margin: 0; /* [1] */
6423 }
6424
6425 .nhsuk-table__heading-tab {
6426 font-size: 20px;
6427 font-size: 1.25rem;
6428 line-height: 1.4;
6429 }
6430 @media (min-width: 40.0625em) {
6431 .nhsuk-table__heading-tab {
6432 font-size: 24px;
6433 font-size: 1.5rem;
6434 line-height: 1.33333;
6435 }
6436 }
6437 @media print {
6438 .nhsuk-table__heading-tab {
6439 font-size: 18pt;
6440 line-height: 1.15;
6441 }
6442 }
6443 .nhsuk-table__heading-tab {
6444 background-color: #005eb8;
6445 color: #ffffff;
6446 display: inline-block;
6447 margin: 0 0 8px -33px;
6448 padding: 8px 32px;
6449 position: relative;
6450 top: -16px;
6451 }
6452 @media (max-width: 40.0525em) {
6453 .nhsuk-table__heading-tab {
6454 margin-left: -25px;
6455 margin-right: 0;
6456 padding: 8px 24px;
6457 top: -8px;
6458 }
6459 }
6460 @media print {
6461 .nhsuk-table__heading-tab {
6462 background: none;
6463 color: #212b32;
6464 top: 0;
6465 }
6466 }
6467
6468 /* Responsive table
6469 ========================================================================== */
6470 /**
6471 * 1. Hiding the thead on mobile
6472 * 2. Displaying the thead on desktop
6473 * 3. Removing default screen reader behaviour
6474 * 4. Assigning role of table-row on desktop to give default screen reader behaviour
6475 * 5. Using justify content to space out elements in the row on mobile
6476 * 6. Assigning a minimum width in case of black cell
6477 * 7. Aligning content to the right on mobile
6478 * 8. Aligning mobile header to left to split it from the data
6479 * 9. Hiding mobile specific header from desktop view
6480 * 10. Adding a display block value due to IE 11 not having full flex support
6481 */
6482 .nhsuk-table-responsive, figure.is-style-nhsuk-table-responsive {
6483 margin-bottom: 0;
6484 width: 100%;
6485 }
6486 .nhsuk-table-responsive thead, figure.is-style-nhsuk-table-responsive thead {
6487 border: 0;
6488 clip: rect(0 0 0 0);
6489 -webkit-clip-path: inset(50%);
6490 clip-path: inset(50%);
6491 height: 1px;
6492 margin: 0;
6493 overflow: hidden;
6494 padding: 0;
6495 position: absolute;
6496 white-space: nowrap;
6497 width: 1px;
6498 /* [1] */
6499 }
6500 @media (min-width: 48.0625em) {
6501 .nhsuk-table-responsive thead, figure.is-style-nhsuk-table-responsive thead {
6502 clip: auto;
6503 -webkit-clip-path: initial;
6504 clip-path: initial;
6505 display: table-header-group;
6506 height: auto;
6507 overflow: auto;
6508 position: relative;
6509 width: auto;
6510 /* [2] */
6511 }
6512 }
6513 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table-responsive__heading, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table-responsive__heading {
6514 font-weight: 600;
6515 padding-right: 16px;
6516 text-align: left; /* [8] */
6517 }
6518 @media (min-width: 48.0625em) {
6519 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table-responsive__heading, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table-responsive__heading {
6520 display: none; /* [9] */
6521 }
6522 }
6523 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row {
6524 display: block; /* [3] */
6525 margin-bottom: 24px;
6526 }
6527 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row:last-child, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row:last-child {
6528 margin-bottom: 0;
6529 }
6530 @media (min-width: 48.0625em) {
6531 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row {
6532 display: table-row; /* [4] */
6533 }
6534 }
6535 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row th, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row th {
6536 text-align: right;
6537 }
6538 @media (min-width: 48.0625em) {
6539 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row th, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row th {
6540 text-align: left;
6541 }
6542 }
6543 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td {
6544 display: block;
6545 display: flex;
6546 justify-content: space-between; /* [5] */
6547 min-width: 1px; /* [6] */
6548 }
6549 @media all and (-ms-high-contrast: none) {
6550 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td {
6551 /* [10] */
6552 display: block;
6553 }
6554 }
6555 @media (min-width: 48.0625em) {
6556 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td {
6557 display: table-cell;
6558 }
6559 }
6560 @media (max-width: 48.0525em) {
6561 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td {
6562 padding-right: 0;
6563 text-align: right; /* [7] */
6564 }
6565 .nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td:last-child, figure.is-style-nhsuk-table-responsive .nhsuk-table__body .nhsuk-table__row td:last-child {
6566 border-bottom: 3px solid #d8dde0;
6567 }
6568 }
6569
6570 /* Numeric tables
6571 ========================================================================== */
6572 /**
6573 * Right aligns table cells for numeric tables.
6574 */
6575 .nhsuk-table__header--numeric,
6576 .nhsuk-table__cell--numeric {
6577 text-align: right;
6578 }
6579
6580 /* ==========================================================================
6581 #TAG
6582 ========================================================================== */
6583 .nhsuk-tag {
6584 font-weight: 600;
6585 font-size: 14px;
6586 font-size: 0.875rem;
6587 line-height: 1;
6588 }
6589 @media (min-width: 40.0625em) {
6590 .nhsuk-tag {
6591 font-size: 16px;
6592 font-size: 1rem;
6593 line-height: 1;
6594 }
6595 }
6596 @media print {
6597 .nhsuk-tag {
6598 font-size: 14pt;
6599 line-height: 1;
6600 }
6601 }
6602 .nhsuk-tag {
6603 background-color: rgb(0, 84.6, 165.6);
6604 border: 1px solid rgb(0, 84.6, 165.6);
6605 color: #ffffff;
6606 display: inline-block;
6607 outline: 2px solid transparent;
6608 outline-offset: -2px;
6609 padding-bottom: 4px;
6610 padding-left: 8px;
6611 padding-right: 8px;
6612 padding-top: 4px;
6613 text-decoration: none;
6614 }
6615
6616 /* Colour variants
6617 ========================================================================== */
6618 .nhsuk-tag--white, .nhsuk-tag.is-style-white {
6619 background-color: #ffffff;
6620 border-color: #212b32;
6621 color: #212b32;
6622 }
6623
6624 .nhsuk-tag--grey, .nhsuk-tag.is-style-grey {
6625 background-color: rgb(219.2, 223.6, 226.8);
6626 border-color: rgb(53.2, 68.6, 79.8);
6627 color: rgb(53.2, 68.6, 79.8);
6628 }
6629
6630 .nhsuk-tag--green, .nhsuk-tag.is-style-green {
6631 background-color: rgb(204, 229.4, 215.8);
6632 border-color: rgb(0, 76.2, 35.4);
6633 color: rgb(0, 76.2, 35.4);
6634 }
6635
6636 .nhsuk-tag--aqua-green, .nhsuk-tag.is-style-aqua-green {
6637 background-color: rgb(204, 236.8, 234.6);
6638 border-color: rgb(0, 82, 76.5);
6639 color: rgb(0, 82, 76.5);
6640 }
6641
6642 .nhsuk-tag--blue {
6643 background-color: rgb(204, 222.8, 240.8);
6644 border-color: rgb(0, 65.8, 128.8);
6645 color: rgb(0, 65.8, 128.8);
6646 }
6647
6648 .nhsuk-tag--purple, .nhsuk-tag.is-style-purple {
6649 background-color: rgb(214.2, 204, 226.8);
6650 border-color: rgb(35.7, 0, 79.8);
6651 color: rgb(35.7, 0, 79.8);
6652 }
6653
6654 .nhsuk-tag--pink, .nhsuk-tag.is-style-pink {
6655 background-color: rgb(238.8, 211.4, 227);
6656 border-color: rgb(87, 18.5, 57.5);
6657 color: rgb(87, 18.5, 57.5);
6658 }
6659
6660 .nhsuk-tag--red, .nhsuk-tag.is-style-red {
6661 background-color: rgb(246.6, 212, 209.4);
6662 border-color: rgb(106.5, 20, 13.5);
6663 color: rgb(106.5, 20, 13.5);
6664 }
6665
6666 .nhsuk-tag--orange, .nhsuk-tag.is-style-orange {
6667 background-color: rgb(255, 219.5, 141.5);
6668 border-color: rgb(76.5, 55.2, 8.4);
6669 color: rgb(76.5, 55.2, 8.4);
6670 }
6671
6672 .nhsuk-tag--yellow, .nhsuk-tag.is-style-yellow {
6673 background-color: #fff59d;
6674 border-color: rgb(76.5, 70.5, 17.7);
6675 color: rgb(76.5, 70.5, 17.7);
6676 }
6677
6678 /* Remove tag border
6679 ========================================================================== */
6680 .nhsuk-tag--no-border {
6681 border: 0;
6682 }
6683
6684 /* ==========================================================================
6685 COMPONENTS/ #TEXTAREA
6686 ========================================================================== */
6687 .nhsuk-textarea {
6688 font-weight: 400;
6689 font-size: 16px;
6690 font-size: 1rem;
6691 line-height: 1.5;
6692 }
6693 @media (min-width: 40.0625em) {
6694 .nhsuk-textarea {
6695 font-size: 19px;
6696 font-size: 1.1875rem;
6697 line-height: 1.47368;
6698 }
6699 }
6700 @media print {
6701 .nhsuk-textarea {
6702 font-size: 14pt;
6703 line-height: 1.15;
6704 }
6705 }
6706 .nhsuk-textarea {
6707 -webkit-appearance: none;
6708 border: 2px solid #4c6272;
6709 border-radius: 0;
6710 box-sizing: border-box;
6711 display: block;
6712 min-height: 40px;
6713 padding: 4px;
6714 resize: vertical;
6715 width: 100%;
6716 }
6717 .nhsuk-textarea:focus {
6718 border: 2px solid #212b32;
6719 box-shadow: inset 0 0 0 2px;
6720 outline: 4px solid #ffeb3b; /* 1 */
6721 outline-offset: 0;
6722 }
6723
6724 .nhsuk-textarea--error {
6725 border: 2px solid #d5281b;
6726 }
6727
6728 /* ==========================================================================
6729 COMPONENTS / #WARNING-CALLOUT
6730 ========================================================================== */
6731 /**
6732 * 1. Uses @mixin panel-with-label from tools/_mixins.
6733 * 2. Uses @mixin heading-label from tools/_mixins.
6734 */
6735 .nhsuk-warning-callout > *:first-child {
6736 margin-top: 0;
6737 }
6738 .nhsuk-warning-callout > *:last-child {
6739 margin-bottom: 0;
6740 }
6741 .nhsuk-warning-callout {
6742 margin-bottom: 40px;
6743 }
6744 @media (min-width: 40.0625em) {
6745 .nhsuk-warning-callout {
6746 margin-bottom: 48px;
6747 }
6748 }
6749 .nhsuk-warning-callout {
6750 margin-top: 40px;
6751 }
6752 @media (min-width: 40.0625em) {
6753 .nhsuk-warning-callout {
6754 margin-top: 48px;
6755 }
6756 }
6757 .nhsuk-warning-callout {
6758 padding: 24px;
6759 }
6760 @media (min-width: 40.0625em) {
6761 .nhsuk-warning-callout {
6762 padding: 32px;
6763 }
6764 }
6765 .nhsuk-warning-callout {
6766 background-color: #fff9c4;
6767 color: #212b32;
6768 }
6769 @media print {
6770 .nhsuk-warning-callout {
6771 border: 1px solid #212b32;
6772 page-break-inside: avoid;
6773 }
6774 }
6775 .nhsuk-warning-callout {
6776 border: 1px solid #ffeb3b;
6777 padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */
6778 /* [1] */
6779 }
6780
6781 .nhsuk-warning-callout__label {
6782 font-size: 20px;
6783 font-size: 1.25rem;
6784 line-height: 1.4;
6785 }
6786 @media (min-width: 40.0625em) {
6787 .nhsuk-warning-callout__label {
6788 font-size: 24px;
6789 font-size: 1.5rem;
6790 line-height: 1.33333;
6791 }
6792 }
6793 @media print {
6794 .nhsuk-warning-callout__label {
6795 font-size: 18pt;
6796 line-height: 1.15;
6797 }
6798 }
6799 .nhsuk-warning-callout__label {
6800 background-color: #ffeb3b;
6801 color: #212b32;
6802 display: inline-block;
6803 margin: 0 0 8px -33px;
6804 padding: 8px 32px;
6805 position: relative;
6806 top: -16px;
6807 }
6808 @media (max-width: 40.0525em) {
6809 .nhsuk-warning-callout__label {
6810 margin-left: -25px;
6811 margin-right: 0;
6812 padding: 8px 24px;
6813 top: -8px;
6814 }
6815 }
6816 @media print {
6817 .nhsuk-warning-callout__label {
6818 background: none;
6819 color: #212b32;
6820 top: 0;
6821 }
6822 }
6823 .nhsuk-warning-callout__label {
6824 /* [2] */
6825 }
6826
6827 /* ==========================================================================
6828 COMPONENTS / #PANEL
6829 ========================================================================== */
6830 .nhsuk-panel > *:first-child {
6831 margin-top: 0;
6832 }
6833 .nhsuk-panel > *:last-child {
6834 margin-bottom: 0;
6835 }
6836 .nhsuk-panel {
6837 margin-bottom: 40px;
6838 }
6839 @media (min-width: 40.0625em) {
6840 .nhsuk-panel {
6841 margin-bottom: 48px;
6842 }
6843 }
6844 .nhsuk-panel {
6845 margin-top: 40px;
6846 }
6847 @media (min-width: 40.0625em) {
6848 .nhsuk-panel {
6849 margin-top: 48px;
6850 }
6851 }
6852 .nhsuk-panel {
6853 padding: 24px;
6854 }
6855 @media (min-width: 40.0625em) {
6856 .nhsuk-panel {
6857 padding: 32px;
6858 }
6859 }
6860 .nhsuk-panel {
6861 background-color: #ffffff;
6862 color: #212b32;
6863 }
6864 @media print {
6865 .nhsuk-panel {
6866 border: 1px solid #212b32;
6867 page-break-inside: avoid;
6868 }
6869 }
6870 .nhsuk-panel {
6871 width: 100%;
6872 }
6873
6874 /* Panel colour variant
6875 ========================================================================== */
6876 .nhsuk-panel--grey, .nhsuk-panel.is-style-panel-grey {
6877 background-color: #f0f4f5;
6878 }
6879
6880 /* Panel with label
6881 ========================================================================== */
6882 .nhsuk-panel-with-label > *:first-child, .nhsuk-panel.is-style-panel-with-label > *:first-child {
6883 margin-top: 0;
6884 }
6885 .nhsuk-panel-with-label > *:last-child, .nhsuk-panel.is-style-panel-with-label > *:last-child {
6886 margin-bottom: 0;
6887 }
6888 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6889 margin-bottom: 40px;
6890 }
6891 @media (min-width: 40.0625em) {
6892 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6893 margin-bottom: 48px;
6894 }
6895 }
6896 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6897 margin-top: 40px;
6898 }
6899 @media (min-width: 40.0625em) {
6900 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6901 margin-top: 48px;
6902 }
6903 }
6904 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6905 padding: 24px;
6906 }
6907 @media (min-width: 40.0625em) {
6908 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6909 padding: 32px;
6910 }
6911 }
6912 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6913 background-color: #ffffff;
6914 color: #212b32;
6915 }
6916 @media print {
6917 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6918 border: 1px solid #212b32;
6919 page-break-inside: avoid;
6920 }
6921 }
6922 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
6923 border: 1px solid #d8dde0;
6924 padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */
6925 }
6926
6927 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6928 font-size: 20px;
6929 font-size: 1.25rem;
6930 line-height: 1.4;
6931 }
6932 @media (min-width: 40.0625em) {
6933 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6934 font-size: 24px;
6935 font-size: 1.5rem;
6936 line-height: 1.33333;
6937 }
6938 }
6939 @media print {
6940 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6941 font-size: 18pt;
6942 line-height: 1.15;
6943 }
6944 }
6945 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6946 background-color: #005eb8;
6947 color: #ffffff;
6948 display: inline-block;
6949 margin: 0 0 8px -33px;
6950 padding: 8px 32px;
6951 position: relative;
6952 top: -16px;
6953 }
6954 @media (max-width: 40.0525em) {
6955 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6956 margin-left: -25px;
6957 margin-right: 0;
6958 padding: 8px 24px;
6959 top: -8px;
6960 }
6961 }
6962 @media print {
6963 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6964 background: none;
6965 color: #212b32;
6966 top: 0;
6967 }
6968 }
6969 @media print {
6970 .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
6971 color: #212b32;
6972 fill: #212b32;
6973 }
6974 .nhsuk-panel-with-label__label:active, .nhsuk-panel.is-style-panel-with-label h3:active, .nhsuk-panel.is-style-panel-with-label h3 .rich-text:active, .nhsuk-panel-with-label__label:focus, .nhsuk-panel.is-style-panel-with-label h3:focus, .nhsuk-panel.is-style-panel-with-label h3 .rich-text:focus, .nhsuk-panel-with-label__label:visited, .nhsuk-panel.is-style-panel-with-label h3:visited, .nhsuk-panel.is-style-panel-with-label h3 .rich-text:visited {
6975 color: #212b32;
6976 }
6977 }
6978
6979 /* Panel group
6980 ========================================================================== */
6981 /**
6982 * Panel group allows you to have a row of panels.
6983 *
6984 * 1. Flexbox is used to make each panel in a row the same height.
6985 */
6986 .nhsuk-panel-group {
6987 display: flex;
6988 flex-wrap: wrap;
6989 /* [1] */
6990 margin-bottom: 32px;
6991 }
6992 @media (max-width: 48.0525em) {
6993 .nhsuk-panel-group {
6994 margin-bottom: 24px;
6995 }
6996 }
6997
6998 .nhsuk-panel-group__item {
6999 display: flex;
7000 }
7001 @media (max-width: 48.0525em) {
7002 .nhsuk-panel-group__item {
7003 flex: 0 0 100%;
7004 }
7005 }
7006 .nhsuk-panel-group__item {
7007 /* [1] */
7008 }
7009 @media (max-width: 48.0525em) {
7010 .nhsuk-panel-group__item {
7011 margin-bottom: 24px;
7012 }
7013 .nhsuk-panel-group__item:last-child {
7014 margin-bottom: 0;
7015 }
7016 }
7017 .nhsuk-panel-group__item .nhsuk-panel {
7018 margin-bottom: 0;
7019 margin-top: 0;
7020 }
7021
7022 /* ==========================================================================
7023 COMPONENTS / #PROMO
7024 ========================================================================== */
7025 /**
7026 * 1. Extra margin is added to compensate for the box-shadow.
7027 * 2. Box shadow size is set within settings/_globals.scss.
7028 * 3. Makes the <a> fill the height of it's parent container.
7029 * 4. Is needed for the :active top positioning.
7030 * 5. Removes default <a> text underline from all elements.
7031 * 6. Adds text underline to promo heading.
7032 * 7. Creates the 'pressed down' effect when clicked.
7033 * 8. Border is used to create a divider between the white content
7034 * box and an image.
7035 */
7036 .nhsuk-promo {
7037 margin-bottom: 36px; /* [1] */
7038 width: 100%;
7039 }
7040
7041 .nhsuk-promo__link-wrapper {
7042 background-color: #ffffff;
7043 border: 1px solid transparent;
7044 box-shadow: 0 4px 0 0 #d8dde0; /* [2] */
7045 display: block;
7046 height: 100%; /* [3] */
7047 position: relative; /* [4] */
7048 text-decoration: none; /* [5] */
7049 }
7050 .nhsuk-promo__link-wrapper:hover {
7051 background-color: #ffffff;
7052 color: #005eb8;
7053 }
7054 .nhsuk-promo__link-wrapper:hover .nhsuk-promo__heading {
7055 color: #7c2855;
7056 }
7057 .nhsuk-promo__link-wrapper:focus {
7058 background-color: #ffffff;
7059 box-shadow: 0 4px 0 0 #d8dde0;
7060 }
7061 .nhsuk-promo__link-wrapper:focus .nhsuk-promo__heading {
7062 background-color: #ffeb3b;
7063 box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
7064 color: #212b32;
7065 outline: 4px solid transparent;
7066 text-decoration: none;
7067 }
7068 .nhsuk-promo__link-wrapper:active {
7069 background-color: #ffffff; /* [7] */
7070 box-shadow: none;
7071 top: 4px; /* [7] */
7072 }
7073 .nhsuk-promo__link-wrapper:active .nhsuk-promo__heading {
7074 background: none;
7075 box-shadow: none;
7076 }
7077 .nhsuk-promo__link-wrapper:hover .nhsuk-promo__heading, .nhsuk-promo__link-wrapper:active .nhsuk-promo__heading {
7078 text-decoration: none;
7079 }
7080
7081 @media print {
7082 .nhsuk-promo__img {
7083 display: none;
7084 }
7085 }
7086 .nhsuk-promo__img {
7087 border-bottom: 1px solid #f0f4f5; /* [8] */
7088 display: block;
7089 width: 100%;
7090 }
7091
7092 .nhsuk-promo__heading {
7093 font-weight: 600;
7094 font-size: 20px;
7095 font-size: 1.25rem;
7096 line-height: 1.4;
7097 }
7098 @media (min-width: 40.0625em) {
7099 .nhsuk-promo__heading {
7100 font-size: 24px;
7101 font-size: 1.5rem;
7102 line-height: 1.33333;
7103 }
7104 }
7105 @media print {
7106 .nhsuk-promo__heading {
7107 font-size: 18pt;
7108 line-height: 1.15;
7109 }
7110 }
7111 .nhsuk-promo__heading {
7112 display: inline-block;
7113 margin-bottom: 16px;
7114 text-decoration: underline;
7115 }
7116
7117 .nhsuk-promo__content > *:first-child {
7118 margin-top: 0;
7119 }
7120 .nhsuk-promo__content > *:last-child {
7121 margin-bottom: 0;
7122 }
7123 .nhsuk-promo__content {
7124 padding: 24px;
7125 }
7126 @media (min-width: 40.0625em) {
7127 .nhsuk-promo__content {
7128 padding: 32px;
7129 }
7130 }
7131
7132 .nhsuk-promo__description {
7133 color: #4c6272;
7134 }
7135
7136 /* Promo size variant
7137 ========================================================================== */
7138 /**
7139 * Promo small reduces the size of the text heading and description.
7140 */
7141 .nhsuk-promo--small .nhsuk-promo__heading, .nhsuk-promo.is-style-promo-small .nhsuk-promo__heading {
7142 font-size: 16px;
7143 font-size: 1rem;
7144 line-height: 1.5;
7145 }
7146 @media (min-width: 40.0625em) {
7147 .nhsuk-promo--small .nhsuk-promo__heading, .nhsuk-promo.is-style-promo-small .nhsuk-promo__heading {
7148 font-size: 19px;
7149 font-size: 1.1875rem;
7150 line-height: 1.47368;
7151 }
7152 }
7153 @media print {
7154 .nhsuk-promo--small .nhsuk-promo__heading, .nhsuk-promo.is-style-promo-small .nhsuk-promo__heading {
7155 font-size: 14pt;
7156 line-height: 1.15;
7157 }
7158 }
7159 .nhsuk-promo--small .nhsuk-promo__description, .nhsuk-promo.is-style-promo-small .nhsuk-promo__description {
7160 font-size: 14px;
7161 font-size: 0.875rem;
7162 line-height: 1.71429;
7163 }
7164 @media (min-width: 40.0625em) {
7165 .nhsuk-promo--small .nhsuk-promo__description, .nhsuk-promo.is-style-promo-small .nhsuk-promo__description {
7166 font-size: 16px;
7167 font-size: 1rem;
7168 line-height: 1.5;
7169 }
7170 }
7171 @media print {
7172 .nhsuk-promo--small .nhsuk-promo__description, .nhsuk-promo.is-style-promo-small .nhsuk-promo__description {
7173 font-size: 14pt;
7174 line-height: 1.2;
7175 }
7176 }
7177
7178 /* Promo group
7179 ========================================================================== */
7180 /**
7181 * Promo group allows you to have a row of promos.
7182 *
7183 * Flexbox is used to make each promo in a row the same height.
7184 */
7185 .nhsuk-promo-group {
7186 display: flex;
7187 flex-wrap: wrap;
7188 margin-bottom: 36px;
7189 }
7190 @media (max-width: 48.0525em) {
7191 .nhsuk-promo-group {
7192 margin-bottom: 28px;
7193 }
7194 }
7195
7196 .nhsuk-promo-group__item {
7197 display: flex;
7198 }
7199 @media (max-width: 48.0525em) {
7200 .nhsuk-promo-group__item {
7201 flex: 0 0 100%;
7202 }
7203 }
7204 @media (max-width: 48.0525em) {
7205 .nhsuk-promo-group__item {
7206 margin-bottom: 28px;
7207 }
7208 .nhsuk-promo-group__item:last-child {
7209 margin-bottom: 0;
7210 }
7211 }
7212 .nhsuk-promo-group__item .nhsuk-promo {
7213 margin-bottom: 0;
7214 }
7215
7216 /* ==========================================================================
7217 COMPONENTS / #CARE-CARD
7218 ========================================================================== */
7219 /**
7220 * Care card default styles.
7221 *
7222 * 1. Default care card colour set to blue (non-urgent care card) -
7223 * using the @mixin care-card tools/_mixins.scss.
7224 * The same mixin is used for each care card, setting the background
7225 * colour,text colour and print border width with the variables.
7226 * 2. This shows as a solid border in high contrast mode in Windows, so helps
7227 * differentiates care cards from the rest of the content.
7228 * 3. 'Random number' for the heading triangle.
7229 * 4. 'Random number' for the heading triangle positioning.
7230 * 5. 'Random number' used for spacing to compensate for the triangle.
7231 * 6. Needed to enable the triangle to show correctly in high contrast mode.
7232 * 7. Prevent additional padding on headings
7233 * 8. Give the action link icon sufficient contrast when used in the immediate variant
7234 */
7235 .nhsuk-care,
7236 .nhsuk-care-card {
7237 margin-bottom: 40px;
7238 }
7239 @media (min-width: 40.0625em) {
7240 .nhsuk-care,
7241 .nhsuk-care-card {
7242 margin-bottom: 48px;
7243 }
7244 }
7245 .nhsuk-care,
7246 .nhsuk-care-card {
7247 margin-top: 40px;
7248 }
7249 @media (min-width: 40.0625em) {
7250 .nhsuk-care,
7251 .nhsuk-care-card {
7252 margin-top: 48px;
7253 }
7254 }
7255 .nhsuk-care .nhsuk-card--care__heading-container,
7256 .nhsuk-care-card .nhsuk-card--care__heading-container {
7257 background-color: #005eb8;
7258 color: #ffffff;
7259 }
7260 @media print {
7261 .nhsuk-care,
7262 .nhsuk-care-card {
7263 border: 4px solid #212b32;
7264 color: #212b32;
7265 page-break-inside: avoid;
7266 }
7267 }
7268 .nhsuk-care,
7269 .nhsuk-care-card {
7270 /* [1] */
7271 border: 1px solid transparent;
7272 /* [2] */
7273 }
7274
7275 .nhsuk-care-card__heading-container,
7276 .nhsuk-card--care__heading-container {
7277 padding-left: 24px;
7278 }
7279 @media (min-width: 40.0625em) {
7280 .nhsuk-care-card__heading-container,
7281 .nhsuk-card--care__heading-container {
7282 padding-left: 32px;
7283 }
7284 }
7285 .nhsuk-care-card__heading-container,
7286 .nhsuk-card--care__heading-container {
7287 padding-right: 24px;
7288 }
7289 @media (min-width: 40.0625em) {
7290 .nhsuk-care-card__heading-container,
7291 .nhsuk-card--care__heading-container {
7292 padding-right: 32px;
7293 }
7294 }
7295 .nhsuk-care-card__heading-container,
7296 .nhsuk-card--care__heading-container {
7297 padding-bottom: 16px;
7298 padding-top: 16px;
7299 position: relative;
7300 }
7301
7302 .nhsuk-care-card__arrow,
7303 .nhsuk-card--care__arrow {
7304 bottom: -10px;
7305 /* [3] */
7306 display: block;
7307 height: 20px;
7308 /* [3] */
7309 left: 30px;
7310 /* [4] */
7311 overflow: hidden;
7312 position: absolute;
7313 transform: rotate(45deg);
7314 width: 20px;
7315 z-index: 1;
7316 /* [3] */
7317 }
7318 @media print {
7319 .nhsuk-care-card__arrow,
7320 .nhsuk-card--care__arrow {
7321 display: none;
7322 }
7323 }
7324 @media (min-width: 40.0625em) {
7325 .nhsuk-care-card__arrow,
7326 .nhsuk-card--care__arrow {
7327 left: 38px;
7328 /* [4] */
7329 }
7330 }
7331 .nhsuk-care-card__arrow:before, .nhsuk-care-card__arrow:after,
7332 .nhsuk-card--care__arrow:before,
7333 .nhsuk-card--care__arrow:after {
7334 border: solid 32px #005eb8;
7335 /* [3] */
7336 content: "";
7337 display: block;
7338 height: 0;
7339 position: absolute;
7340 top: 0;
7341 transform: rotate(45deg);
7342 /* [6] */
7343 width: 0;
7344 }
7345
7346 .nhsuk-care-card__heading,
7347 .nhsuk-card--care__heading {
7348 font-weight: 600;
7349 font-size: 20px;
7350 font-size: 1.25rem;
7351 line-height: 1.4;
7352 }
7353 @media (min-width: 40.0625em) {
7354 .nhsuk-care-card__heading,
7355 .nhsuk-card--care__heading {
7356 font-size: 24px;
7357 font-size: 1.5rem;
7358 line-height: 1.33333;
7359 }
7360 }
7361 @media print {
7362 .nhsuk-care-card__heading,
7363 .nhsuk-card--care__heading {
7364 font-size: 18pt;
7365 line-height: 1.15;
7366 }
7367 }
7368 @media print {
7369 .nhsuk-care-card__heading,
7370 .nhsuk-card--care__heading {
7371 color: #212b32;
7372 fill: #212b32;
7373 }
7374 .nhsuk-care-card__heading:active, .nhsuk-care-card__heading:focus, .nhsuk-care-card__heading:visited,
7375 .nhsuk-card--care__heading:active,
7376 .nhsuk-card--care__heading:focus,
7377 .nhsuk-card--care__heading:visited {
7378 color: #212b32;
7379 }
7380 }
7381 .nhsuk-care-card__heading,
7382 .nhsuk-card--care__heading {
7383 margin: 0;
7384 padding-top: 0;
7385 /* [7] */
7386 }
7387
7388 .nhsuk-care-card__content > *:first-child,
7389 .nhsuk-card__content > *:first-child {
7390 margin-top: 0;
7391 }
7392 .nhsuk-care-card__content > *:last-child,
7393 .nhsuk-card__content > *:last-child {
7394 margin-bottom: 0;
7395 }
7396 .nhsuk-care-card__content,
7397 .nhsuk-card__content {
7398 padding-bottom: 24px;
7399 }
7400 @media (min-width: 40.0625em) {
7401 .nhsuk-care-card__content,
7402 .nhsuk-card__content {
7403 padding-bottom: 32px;
7404 }
7405 }
7406 .nhsuk-care-card__content,
7407 .nhsuk-card__content {
7408 padding-left: 24px;
7409 }
7410 @media (min-width: 40.0625em) {
7411 .nhsuk-care-card__content,
7412 .nhsuk-card__content {
7413 padding-left: 32px;
7414 }
7415 }
7416 .nhsuk-care-card__content,
7417 .nhsuk-card__content {
7418 padding-right: 24px;
7419 }
7420 @media (min-width: 40.0625em) {
7421 .nhsuk-care-card__content,
7422 .nhsuk-card__content {
7423 padding-right: 32px;
7424 }
7425 }
7426 .nhsuk-care-card__content,
7427 .nhsuk-card__content {
7428 background-color: #ffffff;
7429 border: 1px solid #d8dde0;
7430 border-top: 0;
7431 padding-top: 32px;
7432 /* [5] */
7433 }
7434 @media (min-width: 40.0625em) {
7435 .nhsuk-care-card__content,
7436 .nhsuk-card__content {
7437 padding-bottom: 32px;
7438 padding-top: 36px;
7439 /* [5] */
7440 }
7441 }
7442 @media print {
7443 .nhsuk-care-card__content,
7444 .nhsuk-card__content {
7445 color: #212b32;
7446 fill: #212b32;
7447 }
7448 .nhsuk-care-card__content:active, .nhsuk-care-card__content:focus, .nhsuk-care-card__content:visited,
7449 .nhsuk-card__content:active,
7450 .nhsuk-card__content:focus,
7451 .nhsuk-card__content:visited {
7452 color: #212b32;
7453 }
7454 }
7455
7456 /**
7457 * Card card variations style.
7458 *
7459 * 1. <a> needs to be white because the background colour is black.
7460 */
7461 .nhsuk-care-card--urgent .nhsuk-card--care__heading-container, .wp-block-nhsblocks-card1.is-style-urgent .nhsuk-card--care__heading-container,
7462 .nhsuk-card.nhsuk-card--care--urgent .nhsuk-card--care__heading-container {
7463 background-color: #d5281b;
7464 color: #ffffff;
7465 }
7466 @media print {
7467 .nhsuk-care-card--urgent, .wp-block-nhsblocks-card1.is-style-urgent,
7468 .nhsuk-card.nhsuk-card--care--urgent {
7469 border: 6px solid #212b32;
7470 color: #212b32;
7471 page-break-inside: avoid;
7472 }
7473 }
7474 .nhsuk-care-card--urgent .nhsuk-care-card__arrow:before, .wp-block-nhsblocks-card1.is-style-urgent .nhsuk-care-card__arrow:before, .nhsuk-care-card--urgent .nhsuk-care-card__arrow:after, .wp-block-nhsblocks-card1.is-style-urgent .nhsuk-care-card__arrow:after,
7475 .nhsuk-care-card--urgent .nhsuk-card--care__arrow:before,
7476 .wp-block-nhsblocks-card1.is-style-urgent .nhsuk-card--care__arrow:before,
7477 .nhsuk-care-card--urgent .nhsuk-card--care__arrow:after,
7478 .wp-block-nhsblocks-card1.is-style-urgent .nhsuk-card--care__arrow:after,
7479 .nhsuk-card.nhsuk-card--care--urgent .nhsuk-care-card__arrow:before,
7480 .nhsuk-card.nhsuk-card--care--urgent .nhsuk-care-card__arrow:after,
7481 .nhsuk-card.nhsuk-card--care--urgent .nhsuk-card--care__arrow:before,
7482 .nhsuk-card.nhsuk-card--care--urgent .nhsuk-card--care__arrow:after {
7483 border-color: #d5281b;
7484 }
7485
7486 .nhsuk-care-card--immediate .nhsuk-card--care__heading-container, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card--care__heading-container,
7487 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-card--care__heading-container {
7488 background-color: #d5281b;
7489 color: #ffffff;
7490 }
7491 @media print {
7492 .nhsuk-care-card--immediate, .wp-block-nhsblocks-card1.is-style-immediate,
7493 .nhsuk-card.nhsuk-card--care--emergency {
7494 border: 8px solid #212b32;
7495 color: #212b32;
7496 page-break-inside: avoid;
7497 }
7498 }
7499 .nhsuk-care-card--immediate .nhsuk-care-card__arrow:before, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__arrow:before, .nhsuk-care-card--immediate .nhsuk-care-card__arrow:after, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__arrow:after,
7500 .nhsuk-care-card--immediate .nhsuk-card--care__arrow:before,
7501 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card--care__arrow:before,
7502 .nhsuk-care-card--immediate .nhsuk-card--care__arrow:after,
7503 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card--care__arrow:after,
7504 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-care-card__arrow:before,
7505 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-care-card__arrow:after,
7506 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-card--care__arrow:before,
7507 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-card--care__arrow:after {
7508 border-color: #d5281b;
7509 }
7510 .nhsuk-care-card--immediate .nhsuk-care-card__content, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__content,
7511 .nhsuk-care-card--immediate .nhsuk-card__content,
7512 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card__content,
7513 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-care-card__content,
7514 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-card__content {
7515 background-color: #212b32;
7516 border: 0;
7517 color: #ffffff;
7518 }
7519 .nhsuk-care-card--immediate .nhsuk-care-card__content a, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__content a,
7520 .nhsuk-care-card--immediate .nhsuk-card__content a,
7521 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card__content a,
7522 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-care-card__content a,
7523 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-card__content a {
7524 color: #ffffff;
7525 /* [1] */
7526 }
7527 .nhsuk-care-card--immediate .nhsuk-care-card__content a:focus, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__content a:focus,
7528 .nhsuk-care-card--immediate .nhsuk-card__content a:focus,
7529 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card__content a:focus,
7530 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-care-card__content a:focus,
7531 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-card__content a:focus {
7532 color: #212b32;
7533 /* [1] */
7534 }
7535 .nhsuk-care-card--immediate .nhsuk-details, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-details,
7536 .nhsuk-care-card--immediate .nhsuk-details__summary,
7537 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-details__summary,
7538 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-details,
7539 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-details__summary {
7540 color: #ffffff;
7541 }
7542 .nhsuk-care-card--immediate .nhsuk-details__summary:hover, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-details__summary:hover,
7543 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-details__summary:hover {
7544 color: #ffffff;
7545 }
7546 .nhsuk-care-card--immediate .nhsuk-details__summary:focus, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-details__summary:focus,
7547 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-details__summary:focus {
7548 color: #212b32;
7549 }
7550 .nhsuk-care-card--immediate .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle, .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle,
7551 .nhsuk-card.nhsuk-card--care--emergency .nhsuk-action-link__link .nhsuk-icon__arrow-right-circle {
7552 fill: #ffffff;
7553 /* [8] */
7554 }
7555
7556 .nhsuk-care-card .nhsuk-care-card__heading-container,
7557 .nhsuk-card .nhsuk-card--care__heading-container {
7558 background-color: #005eb8;
7559 color: #ffffff;
7560 }
7561
7562 .wp-block-nhsblocks-card1.is-style-urgent {
7563 /* urgent infocard */
7564 }
7565 .wp-block-nhsblocks-card1.is-style-urgent .nhsuk-care-card__heading-container {
7566 background-color: #d5281b;
7567 }
7568
7569 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__heading-container,
7570 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card--care__heading-container {
7571 background-color: #d5281b;
7572 }
7573 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-care-card__content,
7574 .wp-block-nhsblocks-card1.is-style-immediate .nhsuk-card__content {
7575 background-color: #212b32;
7576 color: #ffffff;
7577 }
7578
7579 /* urgent infocard */
7580 .nhsuk-panel-with-label, .nhsuk-panel.is-style-panel-with-label {
7581 width: 100%;
7582 }
7583 .nhsuk-panel-with-label .nhsuk-panel-with-label__label a, .nhsuk-panel.is-style-panel-with-label .nhsuk-panel-with-label__label a, .nhsuk-panel.is-style-panel-with-label h3 a, .nhsuk-panel.is-style-panel-with-label h3 .rich-text a, .nhsuk-panel-with-label .nhsuk-panel-with-label__label a:visited {
7584 color: #ffffff;
7585 }
7586 .nhsuk-panel-with-label .entry-footer span, .nhsuk-panel.is-style-panel-with-label .entry-footer span {
7587 padding: 0 10px;
7588 }
7589
7590 /*panel extension*/
7591 /* promo extension */
7592 .nhsuk-promo figure {
7593 margin: 0;
7594 }
7595
7596 .wp-block-nhsblocks-panel1 .paneltext {
7597 display: flow-root;
7598 }
7599
7600 .wp-block-nhsblock-rowgroup .nhsuk-panel-group {
7601 padding: 0;
7602 }
7603
7604 .nhsuk-dashboard .nhsuk-panel-group__item {
7605 overflow: hidden;
7606 margin-bottom: 2rem;
7607 }
7608 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-promo__link-wrapper {
7609 background: inherit;
7610 box-shadow: none;
7611 width: 100%;
7612 }
7613 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label {
7614 background: inherit;
7615 margin: 0;
7616 margin-top: 0;
7617 margin-bottom: 0;
7618 background-size: cover;
7619 position: relative;
7620 padding: 33.33% 0;
7621 height: 100%;
7622 }
7623 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .nhsuk-panel-with-label__label, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label h3, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .rich-text, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
7624 z-index: 2;
7625 top: 0;
7626 margin: 0 -20px;
7627 position: absolute;
7628 top: 50%;
7629 left: 10%;
7630 max-width: 90%;
7631 font-size: 1.1rem;
7632 }
7633 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .nhsuk-dashboard__image, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label .nhsuk-dashboard__image {
7634 width: 100%;
7635 height: 100%;
7636 }
7637 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .nhsuk-promo__img, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label .nhsuk-promo__img {
7638 position: relative;
7639 top: -16px;
7640 z-index: 1;
7641 }
7642 .nhsuk-dashboard .nhsuk-grid-column-full-width {
7643 max-height: 300px;
7644 }
7645 .nhsuk-dashboard .nhsuk-grid-column-one-half {
7646 max-height: 250px;
7647 }
7648 .nhsuk-dashboard .nhsuk-grid-column-one-third, .nhsuk-dashboard .nhsuk-grid-column-two-thirds {
7649 max-height: 200px;
7650 }
7651
7652 .nhsuk-promo-group__item {
7653 margin-bottom: 36px;
7654 }
7655
7656 .wp-block-nhsblocks-promo1 .nhsuk-image, .wp-block-nhsblocks-promo1 .is-style-nhsuk-image {
7657 width: 100%;
7658 }
7659 .wp-block-nhsblocks-promo1 img.nhsuk-promo__img {
7660 width: 100%;
7661 height: auto;
7662 }
7663 .wp-block-nhsblocks-promo1 .nhsuk-promo__description,
7664 .wp-block-nhsblocks-promo1 .nhsuk-promo__heading {
7665 padding: 0 32px;
7666 }
7667
7668 .nhsuk-promo .nhsuk-promo__content {
7669 padding: 0 0 16px 0;
7670 }
7671 .nhsuk-promo .nhsuk-promo__content .nhsuk-image, .nhsuk-promo .nhsuk-promo__content .is-style-nhsuk-image {
7672 width: 100%;
7673 padding: 0;
7674 }
7675 .nhsuk-promo .nhsuk-promo__content .nhsuk-promo__heading {
7676 padding: 8px 16px;
7677 }
7678 .nhsuk-promo .nhsuk-promo__content .nhsuk-promo__description, .nhsuk-promo .nhsuk-promo__content p {
7679 padding: 8px;
7680 }
7681 .nhsuk-promo .nhsuk-promo__content .nhsuk-readmore {
7682 padding: 0 32px 8px 0;
7683 }
7684
7685 .has-white-color {
7686 color: #ffffff;
7687 }
7688
7689 .has-white-background-color {
7690 background-color: #ffffff;
7691 }
7692
7693 .has-nhs-dark-blue-color {
7694 color: #003087;
7695 }
7696
7697 .has-nhs-dark-blue-background-color {
7698 background-color: #003087;
7699 }
7700
7701 .has-nhs-bright-blue-color {
7702 color: #0072ce;
7703 }
7704
7705 .has-nhs-bright-blue-background-color {
7706 background-color: #0072ce;
7707 }
7708
7709 .has-nhs-light-blue-color {
7710 color: #41b6e6;
7711 }
7712
7713 .has-nhs-light-blue-background-color {
7714 background-color: #41b6e6;
7715 }
7716
7717 .has-nhs-mid-grey-color {
7718 color: #768692;
7719 }
7720
7721 .has-nhs-mid-grey-background-color {
7722 background-color: #768692;
7723 }
7724
7725 .has-nhs-light-grey-color {
7726 color: #e8edee;
7727 }
7728
7729 .has-nhs-light-grey-background-color {
7730 background-color: #e8edee;
7731 }
7732
7733 .has-nhs-dark-grey-color {
7734 color: #425563;
7735 }
7736
7737 .has-nhs-dark-grey-background-color {
7738 background-color: #425563;
7739 }
7740
7741 .has-nhs-purple-color {
7742 color: #330072;
7743 }
7744
7745 .has-nhs-purple-background-color {
7746 background-color: #330072;
7747 }
7748
7749 .has-nhs-pink-color {
7750 color: #ae2573;
7751 }
7752
7753 .has-nhs-pink-background-color {
7754 background-color: #ae2573;
7755 }
7756
7757 .has-nhs-light-purple-color {
7758 color: #704c9c;
7759 }
7760
7761 .has-nhs-light-purple-background-color {
7762 background-color: #704c9c;
7763 }
7764
7765 .has-nhs-light-green-color {
7766 color: #78be20;
7767 }
7768
7769 .has-nhs-light-green-background-color {
7770 background-color: #78be20;
7771 }
7772
7773 .has-nhs-dark-green-color {
7774 color: #006747;
7775 }
7776
7777 .has-nhs-dark-green-background-color {
7778 background-color: #006747;
7779 }
7780
7781 .has-nhs-aqua-green-color {
7782 color: #00a499;
7783 }
7784
7785 .has-nhs-aqua-green-background-color {
7786 background-color: #00a499;
7787 }
7788
7789 .has-nhs-black-color {
7790 color: #212b32;
7791 }
7792
7793 .has-nhs-black-background-color {
7794 background-color: #212b32;
7795 }
7796
7797 .has-emergency-red-color {
7798 color: #d5281b;
7799 }
7800
7801 .has-emergency-red-background-color {
7802 background-color: #d5281b;
7803 }
7804
7805 .has-nhs-yellow-color {
7806 color: #ffeb3b;
7807 }
7808
7809 .has-nhs-yellow-background-color {
7810 background-color: #ffeb3b;
7811 }
7812
7813 .has-nhs-warm-yellow-color {
7814 color: #ffb81c;
7815 }
7816
7817 .has-nhs-warm-yellow-background-color {
7818 background-color: #ffb81c;
7819 }
7820
7821 .nhsuk-width-container--full {
7822 margin: 0;
7823 max-width: none;
7824 }
7825
7826 .nhsuk-card-group {
7827 margin-left: 0;
7828 margin-right: 0;
7829 }
7830
7831 .wp-block-button__link, .wp-block-file__button, .wp-block-file a.wp-block-file__button, .wp-block-file a.wp-block-file__button:active, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited {
7832 border-radius: 4px;
7833 background: #006747;
7834 font-size: #ffffff;
7835 padding: 1px 8px;
7836 position: relative;
7837 top: -5px;
7838 margin-bottom: 5px;
7839 }
7840
7841 .nhsuk-button--reverse:visited, .nhsuk-button.is-style-reverse:visited, .is-style-reverse.wp-block-button__link:visited, .is-style-reverse.wp-block-file__button:visited {
7842 color: #212b32;
7843 }
7844
7845 .nhsuk-pagination .nhsuk-pagination__list .nhsuk-pagination-item--previous, .nhsuk-pagination .nhsuk-pagination__list .nhsuk-pagination-item--next {
7846 width: 30%;
7847 }
7848 .nhsuk-pagination .nhsuk-pagination__list .nhsuk-pagination-item {
7849 width: 8%;
7850 float: left;
7851 }
7852 .nhsuk-pagination .nhsuk-pagination__list .nhsuk-pagination__link:hover {
7853 box-shadow: 0 0 0 16px #ffeb3b inset;
7854 }
7855
7856 .editor-styles-wrapper {
7857 font-family: Frutiger W01, Arial, Sans-serif;
7858 }
7859
7860 .editor-post-title__input {
7861 font-family: Frutiger W01, Arial, Sans-serif;
7862 }
7863
7864 .nhsuk-care-card {
7865 width: 100%;
7866 }
7867 .nhsuk-care-card .nhsuk-care-card-content {
7868 overflow: auto;
7869 }
7870
7871 .nhsuk-details .nhsuk-details__text {
7872 overflow: auto;
7873 }
7874
7875 .nhsuk-dashboard .nhsuk-panel-group__item {
7876 overflow: hidden;
7877 margin-bottom: 2rem;
7878 }
7879 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-promo__link-wrapper {
7880 background: inherit;
7881 box-shadow: none;
7882 width: 100%;
7883 }
7884 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label {
7885 background: inherit;
7886 margin: 0;
7887 margin-top: 0;
7888 margin-bottom: 0;
7889 background-size: cover;
7890 position: relative;
7891 padding: 33.33% 0;
7892 height: 100%;
7893 }
7894 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .nhsuk-panel-with-label__label, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label .nhsuk-panel-with-label__label, .nhsuk-panel.is-style-panel-with-label .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label h3, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label h3, .nhsuk-panel.is-style-panel-with-label h3 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .rich-text, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label h3 .rich-text {
7895 z-index: 2;
7896 top: 0;
7897 margin: 0 -20px;
7898 position: absolute;
7899 top: 50%;
7900 left: 10%;
7901 max-width: 90%;
7902 font-size: 1.1rem;
7903 }
7904 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .nhsuk-dashboard__image, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label .nhsuk-dashboard__image {
7905 width: 100%;
7906 height: 100%;
7907 }
7908 .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel-with-label .nhsuk-promo__img, .nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-panel.is-style-panel-with-label .nhsuk-promo__img {
7909 position: relative;
7910 top: -16px;
7911 z-index: 1;
7912 }
7913 .nhsuk-dashboard .nhsuk-grid-column-full-width {
7914 max-height: 300px;
7915 }
7916 .nhsuk-dashboard .nhsuk-grid-column-one-half {
7917 max-height: 250px;
7918 }
7919 .nhsuk-dashboard .nhsuk-grid-column-one-third, .nhsuk-dashboard .nhsuk-grid-column-two-thirds {
7920 max-height: 200px;
7921 }
7922
7923 .nhsuk-inset-text--rev, .is-style-quote-reverse {
7924 background: #005eb8;
7925 border: 10px solid #005eb8;
7926 box-shadow: inset 12px 0px 0px 0px #ffffff;
7927 box-sizing: border-box;
7928 padding-left: 30px;
7929 margin: 1rem 0;
7930 color: #ffffff;
7931 width: 100%;
7932 }
7933
7934 #content .nhsuk-main-wrapper .nhsuk-inset-text.is-style-quote-warning, .nhsuk-inset-text.is-style-quote-warning {
7935 border-left-color: #ffeb3b;
7936 }
7937
7938 #content .nhsuk-main-wrapper .nhsuk-inset-text.is-style-quote-warning-reverse, .nhsuk-inset-text.is-style-quote-warning-reverse {
7939 background: #ffeb3b;
7940 border: 10px solid #ffeb3b;
7941 box-shadow: inset 12px 0px 0px 0px #212b32;
7942 box-sizing: border-box;
7943 padding-left: 30px;
7944 margin: 1rem 0;
7945 color: #212b32;
7946 width: 100%;
7947 }
7948
7949 #content .nhsuk-main-wrapper .nhsuk-inset-text.is-style-quote-alert, .is-style-quote-alert.nhsuk-inset-text {
7950 border-left-color: #d5281b;
7951 }
7952
7953 #content .nhsuk-main-wrapper .nhsuk-inset-text.is-style-quote-alert-reverse, .is-style-quote-alert-reverse.nhsuk-inset-text {
7954 background: #d5281b;
7955 border: 10px solid #d5281b;
7956 box-shadow: inset 12px 0px 0px 0px #ffffff;
7957 box-sizing: border-box;
7958 padding-left: 30px;
7959 margin: 1rem 0;
7960 color: #ffffff;
7961 width: 100%;
7962 }
7963
7964 .nhsuk-promo .nhsuk-promo__content {
7965 padding: 0 0 16px 0;
7966 }
7967 .nhsuk-promo .nhsuk-promo__content .nhsuk-image, .nhsuk-promo .nhsuk-promo__content .is-style-nhsuk-image {
7968 width: 100%;
7969 padding: 0;
7970 }
7971 .nhsuk-promo .nhsuk-promo__content .nhsuk-promo__heading {
7972 padding: 8px 16px;
7973 }
7974 .nhsuk-promo .nhsuk-promo__content .nhsuk-promo__description, .nhsuk-promo .nhsuk-promo__content p {
7975 padding: 8px;
7976 }
7977 .nhsuk-promo .nhsuk-promo__content .nhsuk-readmore {
7978 padding: 0 32px 8px 0;
7979 }
7980
7981 .is-style-nhsuk-image figcaption {
7982 margin: 0;
7983 }
7984
7985 figure.is-style-nhsuk-table-responsive thead, figure.is-style-nhsuk-table-responsive tr, figure.is-style-nhsuk-table-responsive th, figure.is-style-nhsuk-table-responsive td {
7986 border: 0;
7987 }
7988 figure.is-style-nhsuk-table-responsive table {
7989 margin-bottom: 40px;
7990 border-spacing: 0;
7991 vertical-align: top;
7992 width: 100%;
7993 }
7994 figure.is-style-nhsuk-table-responsive thead th {
7995 border-bottom: 2px solid #d8dde0;
7996 }
7997 figure.is-style-nhsuk-table-responsive th {
7998 font-weight: 600;
7999 }
8000 figure.is-style-nhsuk-table-responsive th,
8001 figure.is-style-nhsuk-table-responsive td {
8002 font-size: 16px;
8003 font-size: 1rem;
8004 line-height: 1.5;
8005 padding: 8px 16px 8px 0;
8006 border-bottom: 1px solid #d8dde0;
8007 text-align: left;
8008 vertical-align: top;
8009 }
8010 figure.is-style-nhsuk-table-responsive th:last-child,
8011 figure.is-style-nhsuk-table-responsive td:last-child {
8012 padding-right: 0;
8013 }
8014 figure.is-style-nhsuk-table-responsive figcaption {
8015 -webkit-clip-path: inset(50%);
8016 border: 0;
8017 clip: rect(0 0 0 0);
8018 clip-path: inset(50%);
8019 height: 1px;
8020 margin: 0;
8021 overflow: hidden;
8022 padding: 0;
8023 position: absolute;
8024 white-space: nowrap;
8025 width: 1px;
8026 }
8027 .wp-admin figure.is-style-nhsuk-table-responsive figcaption {
8028 width: auto;
8029 clip: auto;
8030 height: auto;
8031 position: relative;
8032 clip-path: unset;
8033 }
8034 @media (min-width: 40.0625em) {
8035 figure.is-style-nhsuk-table-responsive {
8036 /*table {
8037 margin-bottom: 48px;
8038 }*/
8039 }
8040 figure.is-style-nhsuk-table-responsive th,
8041 figure.is-style-nhsuk-table-responsive td {
8042 font-size: 19px;
8043 font-size: 1.1875rem;
8044 line-height: 1.47368;
8045 padding-bottom: 16px;
8046 padding-right: 24px;
8047 padding-top: 16px;
8048 }
8049 }
8050 @media print {
8051 figure.is-style-nhsuk-table-responsive table {
8052 page-break-inside: avoid;
8053 }
8054 figure.is-style-nhsuk-table-responsive th,
8055 figure.is-style-nhsuk-table-responsive td {
8056 font-size: 14pt;
8057 line-height: 1.15;
8058 }
8059 }
8060
8061 .nhsuk-table-responsive table, .is-style-nhsuk-table-responsive table, table {
8062 margin: 0;
8063 }
8064
8065 /* =====================================================
8066 NHS Tabs
8067 ===================================================== */
8068 .wp-block-nhsblocks-nhstabs.nhsuk-tabs {
8069 max-width: 100%;
8070 }
8071
8072 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__list {
8073 display: block;
8074 width: 100%;
8075 }
8076
8077 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__list-item {
8078 min-width: 0;
8079 max-width: 100%;
8080 }
8081
8082 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab {
8083 display: block;
8084 white-space: normal;
8085 overflow-wrap: break-word;
8086 min-width: 0;
8087 background-color: transparent; /* critical */
8088 }
8089
8090 /* Hide inactive panels */
8091 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__panel--hidden {
8092 display: none !important;
8093 }
8094
8095 /* -----------------------------------------------------
8096 Mobile behaviour (below NHS breakpoint)
8097 ----------------------------------------------------- */
8098 @media (max-width: 48.0625em) {
8099 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__list-item::before {
8100 margin-left: -14px;
8101 }
8102 /* Tabs behave like navigation (no visited purple) */
8103 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab,
8104 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab:link,
8105 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab:visited,
8106 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab:hover,
8107 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab:focus,
8108 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__tab:active {
8109 color: inherit;
8110 text-decoration: none;
8111 background-color: transparent;
8112 }
8113 /* Blue & Reverse fall back to Standard on mobile */
8114 .wp-block-nhsblocks-nhstabs.is-style-blue .nhsuk-tabs__list-item,
8115 .wp-block-nhsblocks-nhstabs.is-style-reverse .nhsuk-tabs__list-item {
8116 background-color: transparent;
8117 }
8118 }
8119 /* -----------------------------------------------------
8120 Desktop (NHS breakpoint)
8121 ----------------------------------------------------- */
8122 @media (min-width: 48.0625em) {
8123 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__list {
8124 display: flex;
8125 flex-wrap: wrap;
8126 }
8127 .wp-block-nhsblocks-nhstabs .nhsuk-tabs__list-item {
8128 flex: 1 1 auto;
8129 }
8130 /* =========================
8131 Tabs – Blue (DESKTOP)
8132 ========================= */
8133 .wp-block-nhsblocks-nhstabs.is-style-blue .nhsuk-tabs__list-item {
8134 background-color: #005eb8;
8135 }
8136 .wp-block-nhsblocks-nhstabs.is-style-blue .nhsuk-tabs__list-item--selected {
8137 background-color: #003087;
8138 }
8139 .wp-block-nhsblocks-nhstabs.is-style-blue .nhsuk-tabs__list-item--selected .nhsuk-tabs__tab {
8140 background-color: inherit;
8141 color: #ffffff;
8142 }
8143 .wp-block-nhsblocks-nhstabs.is-style-blue .nhsuk-tabs__tab {
8144 color: #ffffff;
8145 }
8146 /* =========================
8147 Tabs – Reverse (DESKTOP)
8148 ========================= */
8149 .wp-block-nhsblocks-nhstabs.is-style-reverse .nhsuk-tabs__list-item {
8150 background-color: #212b32;
8151 }
8152 .wp-block-nhsblocks-nhstabs.is-style-reverse .nhsuk-tabs__list-item--selected {
8153 background-color: #ffffff;
8154 }
8155 .wp-block-nhsblocks-nhstabs.is-style-reverse .nhsuk-tabs__list-item--selected .nhsuk-tabs__tab {
8156 background-color: inherit;
8157 color: #212b32;
8158 }
8159 .wp-block-nhsblocks-nhstabs.is-style-reverse .nhsuk-tabs__tab {
8160 color: #ffffff;
8161 }
8162 }
8163 /*
8164 // variations to styling required for gutenberg native blocks
8165 // @author Tony Blacker, NHS Leadership Academy
8166 // @version 1.0 22nd July 2019
8167 */
8168 /* button extension*/
8169 .nhsuk-button.is-style-secondary, .is-style-secondary.wp-block-button__link, .is-style-secondary.wp-block-file__button, .wp-block-file a.is-style-secondary.wp-block-file__button { /* secondary button style*/ }
8170
8171 /* reverse button style*/
8172 /* reveal extension*/
8173 .nhsuk-details.is-style-expander { /* expander reveal style*/ }
8174
8175 /* warning callout */
8176 .wp-block-nhsblocks-card1.is-style-warning-callout,
8177 .nhsuk-care-card.is-style-warning-callout,
8178 .nhsuk-card.nhsuk-warning-callout {
8179 background-color: #fff9c4;
8180 border: 1px solid #ffeb3b;
8181 }
8182 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-care-card__heading-container,
8183 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-card--care__heading-container,
8184 .nhsuk-care-card.is-style-warning-callout .nhsuk-care-card__heading-container,
8185 .nhsuk-care-card.is-style-warning-callout .nhsuk-card--care__heading-container,
8186 .nhsuk-card.nhsuk-warning-callout .nhsuk-care-card__heading-container,
8187 .nhsuk-card.nhsuk-warning-callout .nhsuk-card--care__heading-container {
8188 background-color: #ffeb3b;
8189 display: inline-block;
8190 top: -16px;
8191 margin-bottom: 8px;
8192 padding: 8px 32px;
8193 position: relative;
8194 }
8195 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-care-card__heading-container h3,
8196 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-card--care__heading-container h3,
8197 .nhsuk-care-card.is-style-warning-callout .nhsuk-care-card__heading-container h3,
8198 .nhsuk-care-card.is-style-warning-callout .nhsuk-card--care__heading-container h3,
8199 .nhsuk-card.nhsuk-warning-callout .nhsuk-care-card__heading-container h3,
8200 .nhsuk-card.nhsuk-warning-callout .nhsuk-card--care__heading-container h3 {
8201 background-color: #ffeb3b;
8202 color: #212b32 !important;
8203 }
8204 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-care-card__heading-container .nhsuk-card--care__heading span,
8205 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-care-card__heading-container .nhsuk-care-card__heading span,
8206 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-card--care__heading-container .nhsuk-card--care__heading span,
8207 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-card--care__heading-container .nhsuk-care-card__heading span,
8208 .nhsuk-care-card.is-style-warning-callout .nhsuk-care-card__heading-container .nhsuk-card--care__heading span,
8209 .nhsuk-care-card.is-style-warning-callout .nhsuk-care-card__heading-container .nhsuk-care-card__heading span,
8210 .nhsuk-care-card.is-style-warning-callout .nhsuk-card--care__heading-container .nhsuk-card--care__heading span,
8211 .nhsuk-care-card.is-style-warning-callout .nhsuk-card--care__heading-container .nhsuk-care-card__heading span,
8212 .nhsuk-card.nhsuk-warning-callout .nhsuk-care-card__heading-container .nhsuk-card--care__heading span,
8213 .nhsuk-card.nhsuk-warning-callout .nhsuk-care-card__heading-container .nhsuk-care-card__heading span,
8214 .nhsuk-card.nhsuk-warning-callout .nhsuk-card--care__heading-container .nhsuk-card--care__heading span,
8215 .nhsuk-card.nhsuk-warning-callout .nhsuk-card--care__heading-container .nhsuk-care-card__heading span {
8216 color: #212b32;
8217 }
8218 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-card--care__arrow,
8219 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-care-card__arrow,
8220 .nhsuk-care-card.is-style-warning-callout .nhsuk-card--care__arrow,
8221 .nhsuk-care-card.is-style-warning-callout .nhsuk-care-card__arrow,
8222 .nhsuk-card.nhsuk-warning-callout .nhsuk-card--care__arrow,
8223 .nhsuk-card.nhsuk-warning-callout .nhsuk-care-card__arrow {
8224 display: none;
8225 }
8226 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-card__content,
8227 .wp-block-nhsblocks-card1.is-style-warning-callout .nhsuk-care-card__content,
8228 .nhsuk-care-card.is-style-warning-callout .nhsuk-card__content,
8229 .nhsuk-care-card.is-style-warning-callout .nhsuk-care-card__content,
8230 .nhsuk-card.nhsuk-warning-callout .nhsuk-card__content,
8231 .nhsuk-card.nhsuk-warning-callout .nhsuk-care-card__content {
8232 background-color: #fff9c4;
8233 padding-top: 0;
8234 border: none;
8235 }
8236
8237 .nhsuk-care-card__heading-container h3 {
8238 color: #ffffff !important;
8239 margin: 0 !important;
8240 }
8241
8242 /* do and dont list extension */
8243 .nhsuk-do-dont-list svg.nhsuk-icon {
8244 width: 35px;
8245 height: 34px;
8246 }
8247
8248 /* inset text inverted link amendment */
8249 .nhsuk-inset-text is-style-quote-reverse .nhsuk-inset-text__quote a {
8250 color: #ffffff;
8251 font-weight: 700;
8252 }
8253
8254 .nhsuk-hero__overlay {
8255 margin-bottom: 50px;
8256 }
8257 .nhsuk-hero__overlay .nhsuk-grid-column-two-thirds {
8258 padding: 0;
8259 }
8260
8261 /* Hero fix so it works on all templates */
8262 .wp-block-nhsblocks-heroblock {
8263 margin-left: -50vw;
8264 margin-right: -50vw;
8265 max-width: 100vw;
8266 position: relative;
8267 width: 100vw;
8268 }
8269
8270 .nhsuk-card .nhsuk-card__description {
8271 display: flow-root;
8272 }
8273
8274 .nhsuk-card.is-style-panel-grey {
8275 background: inherit;
8276 border: none;
8277 }
8278
8279 .nhsuk-card figure {
8280 margin: 0;
8281 }
8282
8283 .components-panel__header.edit-post-sidebar__panel-tabs ul {
8284 padding: 0px;
8285 margin-bottom: 0px;
8286 list-style: none;
8287 }
8288
8289 section.nhsuk-section:nth-of-type(odd) {
8290 background: #f0f4f5;
8291 }
8292
8293 section.nhsuk-section:nth-of-type(even),
8294 [data-type="nhsblocks/stripesblock"]:nth-of-type(even) {
8295 background: #ffffff;
8296 }
8297
8298 .page-template-full-width-page section.nhsuk-section {
8299 margin: 0 calc(50% - 50vw);
8300 max-width: 100vw;
8301 width: 100vw;
8302 }
8303
8304 section.nhsuk-section,
8305 [data-type="nhsblocks/stripesblock"] .is-block-content {
8306 padding: 64px 20px;
8307 }
8308 section.nhsuk-section:after,
8309 [data-type="nhsblocks/stripesblock"] .is-block-content:after {
8310 clear: both;
8311 content: "";
8312 display: block;
8313 }
8314
8315 .nhsuk-striped-blocks {
8316 border: 1px dotted #4c6272;
8317 }
8318 .nhsuk-striped-blocks [data-type="nhsblocks/stripeblock"]:nth-of-type(odd) {
8319 background: #f0f4f5;
8320 }
8321 .nhsuk-striped-blocks [data-type="nhsblocks/stripeblock"]:nth-of-type(even) {
8322 background: #ffffff;
8323 }
8324
8325 .wp-block-table.is-style-stripes {
8326 border-color: var(--table--stripes-border-color);
8327 border-bottom: 1px;
8328 }
8329 .wp-block-table.is-style-stripes td {
8330 border: 1px solid;
8331 }
8332