/*
  * RSPB Engaging Networks stylesheet
  *
  * Except where you're constrained by EN naming conventions, please use BEM (Block Element Modifier) naming
  * with an rspb__ prefix to avoid clashes with any other stylesheets in use.
  *
  * Contents:
  * - Page
  * - Colours & other CSS variables
  * - Typography
  * - Page layout
  * - Rows & columns
  * - Background image
  * - Header
  * - Footer
  * - Page elements
  * - Forms
  * - Sharing
  * - Cookies
  * - Utility classes
  *
  * Made by We Could Even https://wecouldeven.com
  */

/*
  * Page
*/

body {
  font-family: 'brother-1816', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.25em;
  padding: 0;
  margin: 0;
}

/*
  * Colours & other CSS variables
*/

:root {
  /* Colours */
  --rspb-colour-amber: #fab957;
  --rspb-colour-amber-slightly-transparent: #fab957ee;
  --rspb-colour-aquamarine: #55cfcf;
  --rspb-colour-deep-blue: #3a5091;
  --rspb-colour-deep-sea: #144650;
  --rspb-colour-deep-sea-slightly-transparent: #144650ee;
  --rspb-colour-dusty-pink: #f5b1b6;
  --rspb-colour-fern-green: #57a627;
  --rspb-colour-fern-green-slightly-transparent: #58a627ee;
  --rspb-colour-light-blue: #a4d9ed;
  --rspb-colour-light-green: #bee1af;
  --rspb-colour-neutral-500: #797979;
  --rspb-colour-neutral-800: #313131;
  --rspb-colour-red-alert: #ff4f4c;
  --rspb-colour-sand: #d0c8ab;
  --rspb-colour-sky-blue: #0099fb;
  --rspb-colour-sky-blue-200: #5dc0ff;
  --rspb-colour-sky-blue-slightly-transparent: #0099fbee;
  --rspb-colour-sky-blue-tint: #dff2ff;
  --rspb-colour-sky-blue-tint-slightly-transparent: #dff2ffee;
  --rspb-colour-soft-yellow: #ffea97;
  --rspb-colour-soft-yellow-slightly-transparent: #ffea97ee;
  --rspb-colour-spring-green: #b7e150;
  --rspb-colour-teal: #008287;
  --rspb-colour-teal-slightly-transparent: #008287d8;

  /* Other variables */
  --rspb-content-max-width: 80rem;
}

/*
  * Typography
*/

a,
a:link,
a:visited {
  border-bottom: 2px solid var(--rspb-colour-sky-blue);
  color: inherit;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  border-bottom-color: inherit;
  text-decoration: none;
}

h1 {
  font-family: 'superior-title', serif;
  font-weight: bold;
}

h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
  font-family: 'brother-1816', Arial, Helvetica, sans-serif;
  font-weight: bold;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  line-height: 1.12em;
}

h1,
.h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0 0.5rem;
  padding-top: 0.5rem;
}

@media screen and (min-width: 64em) {
  h1,
  .h1 {
    font-size: 4rem;
  }
}

h2,
.h2 {
  font-size: 2.25rem;
  margin: 0.5rem 0 1rem;
}

@media screen and (min-width: 64em) {
  h2,
  .h2 {
    font-size: 2.5rem;
  }
}

h3,
.h3 {
  font-size: 1.75rem;
  margin: 0.25rem 0 0.5rem;
}

@media screen and (min-width: 64em) {
  h3,
  .h3 {
    font-size: 2rem;
  }
}

h4,
.h4 {
  font-size: 1.5rem;
  margin: 0.25rem 0 0.5rem;
}

@media screen and (min-width: 64em) {
  h4,
  .h4 {
    font-size: 1.75rem;
  }
}

h5,
.h5 {
  font-size: 1.25rem;
  margin: 0.25rem 0 0.5rem;
}

@media screen and (min-width: 64em) {
  h5,
  .h5 {
    font-size: 1.5rem;
  }
}

h1 + p,
.h1 + p,
h2 + p,
.h2 + p,
h3 + p,
.h3 + p {
  margin-top: 0.5rem;
}

.en__component--copyblock p:last-child {
  margin-bottom: 0;
}

.rspb__intro-text > p:first-of-type {
  font-size: 1.25rem;
}

/*
  * Page layout
*/

.rspb__main-content {
  margin: 0 auto;
  max-width: var(--rspb-content-max-width);
}

.rspb__wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
}

.rspb__wrapper__inner {
  margin-bottom: 2rem;
  max-width: var(--rspb-content-max-width);
  padding: 0 1rem;
  width: 100%;
}

@media only screen and (min-width: 32em) {
  .rspb__wrapper__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media only screen and (min-width: 64em) {
  .rspb__wrapper__inner {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/*
  * Rows & columns
*/

.en__component--advrow {
  flex-direction: column;
}

@media screen and (min-width: 64em) {
  .en__component--advrow {
    flex-direction: row;
  }
}

.en__component--column {
  align-items: center;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
}

.en__component--column:last-child {
  margin-bottom: 2rem;
}

.en__component--row {
  background-color: transparent;
  gap: 1rem;
  justify-content: space-between;
  padding-left: 0;
  padding-right: 0;
}

@media screen and (min-width: 72em) {
  .en__component--row {
    gap: 2rem;
  }
}

/* Override EN built-in style */
@media only screen and (max-width: 600px),
  only screen and (max-device-width: 600px) {
  .en__component--row,
  .en__component--row.en__component--advrow {
    display: flex !important;
  }
}

/* By default, don't add extra spacing between two form blocks or two text blocks */

.en__component--copyblock:has(+ .en__component--copyblock),
.en__component--formblock:has(+ .en__component--formblock) {
  padding-bottom: 0;
}

.en__component--copyblock + .en__component--copyblock,
.en__component--formblock + .en__component--formblock {
  padding-top: 0;
}

/* Content blocks in first/only column*/
.en__component--row--2 .en__component--column--1 > *,
.en__component--advrow .en__component--advcolumn:first-child > * {
  background-color: var(--rspb-colour-deep-sea-slightly-transparent);
  color: white;
  width: 100%;
}

/* Content blocks in second column*/
.en__component--row--1 .en__component--column,
.en__component--row--2 .en__component--column--2,
.en__component--row--2 .en__component--column--2 .en__component--formblock,
.en__component--row--2 .en__component--column--2 .en__component--copyblock,
.en__component--row--2 .en__component--column--2 label,
.en__component--advrow .en__component--advcolumn:nth-child(2),
.en__component--advrow
  .en__component--advcolumn:nth-child(2)
  .en__component--formblock,
.en__component--advrow
  .en__component--advcolumn:nth-child(2)
  .en__component--copyblock,
.en__component--advrow .en__component--advcolumn:nth-child(2) label {
  color: var(--rspb-colour-deep-sea);
}

.en__component--row--1 .en__component--column > *:not(.rspb__wingspan),
.en__component--row--2 .en__component--column--2 > *:not(.rspb__wingspan),
.en__component--advrow
  .en__component--advcolumn:nth-child(2)
  > *:not(.rspb__wingspan) {
  background-color: var(--rspb-colour-sky-blue-tint-slightly-transparent);
  width: 100%;
}

/* On desktop, when there's a wingspan at the top of the column make blocks below it narrower
 * We don't do this on smaller screens: on tablet the other blocks may be wider than the wingspan anyway,
  * and on mobile it makes the other blocks e.g. forms too narrow */
@media screen and (min-width: 64em) {
  .en__component--row--1 .en__component--column > *:not(.rspb__wingspan),
  .en__component--row--2 .en__component--column--2 > *:not(.rspb__wingspan),
  .en__component--advrow
    .en__component--advcolumn:nth-child(2)
    > *:not(.rspb__wingspan) {
    width: calc(100% - 2rem);
  }
}

/* Set rounded top corners on the first text/form/widget block in a column
  * If there is a code block or wingspan at the beginning of a column ignore it
  * This won't work if there are multiple code blocks at the beginning of a column,
  * so we also use some JS to check for the first text/form/widget block and add a utility class */
.en__component--row
  .en__component--column
  > :is(
    .en__component--copyblock,
    .en__component--formblock,
    .en__component--widgetblock
  ):not(.rspb__wingspan):first-child,
.en__component--row
  .en__component--column
  > .en__component--codeblock:first-child
  + :is(
    .en__component--copyblock,
    .en__component--formblock,
    .en__component--widgetblock
  ):not(.rspb__wingspan),
.en__component--row
  .en__component--column
  > .rspb__wingspan:first-child
  + :is(
    .en__component--copyblock,
    .en__component--formblock,
    .en__component--widgetblock
  ),
.en__component--column > .rspb__column__first-block {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding-top: 1rem;
}

/* Set rounded bottom corners on the last text/form/widget block in a column
 * If a code block is the last block in a column this won't work,
 * so we also use some JS to check for the last text/form/widget block and add a utility class */
.en__component--row
  .en__component--column
  > :is(
    .en__component--copyblock,
    .en__component--formblock,
    .en__component--widgetblock
  ):last-child,
.en__component--column > .rspb__column__last-block {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  padding-bottom: 1rem;
}

.en__component--row--1 .en__component--column,
.en__component--advrow .en__component--advcolumn:first-child:last-child {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

@media screen and (min-width: 64em) {
  .en__component--row--2 .en__component--column--1 {
    max-width: 34rem;
  }

  .en__component--row--2 .en__component--column--2 {
    max-width: 28rem;
  }

  /* Don't set max widths for advanced columns, as assume widths will be set in the page editor */
}

/*
  * Background image
*/

.rspb__background-image {
  height: 100vh;
  height: 100lvh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
}

.rspb__background-image__image {
  background-image: url(images/transparent.png);
  background-position: center top;
  background-size: cover;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.rspb__background-image__image--desktop {
  display: none;
}

@media screen and (min-width: 40em) {
  .rspb__background-image__image--desktop {
    display: block;
  }

  .rspb__background-image__image--mobile {
    display: none;
  }
}

.rspb__background-image-credit {
  background-color: rgba(0, 0, 0, 0.75);
  bottom: 0;
  color: white;
  display: none; /* hide it until the text is set, then we use Javascript to show it */
  font-size: 12px;
  left: 0;
  padding: 5px 15px;
  position: absolute;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .rspb__background-image-credit {
    border-top-right-radius: 0.5rem;
    display: inline-block;
    margin-top: 1em;
    width: auto;
  }
}

.rspb__background-image__settings {
  display: none;
}

#en__pagebuilder .rspb__background-image__settings {
  display: block;
}

/*
  * Header
*/

.rspb__header {
  margin: 2rem auto 2.5rem;
  position: relative;
}

.rspb__header a,
.rspb__header a:link,
.rspb__header a:visited {
  border-bottom-width: 0;
}

.rspb__header__inner {
  display: flex;
  justify-content: space-between;
  max-width: var(--rspb-content-max-width);
}

.rspb__header__logo,
.rspb__header__logo img {
  height: 5rem;
  max-width: none;
  width: auto;
}

@media only screen and (min-width: 64em) {
  .rspb__header__logo,
  .rspb__header__logo img {
    height: 6rem;
  }
}

/*
  * Footer
*/

.rspb__footer {
  align-items: center;
  background-color: var(--rspb-colour-deep-sea);
  color: white;
  position: relative;
  display: flex;
  font-size: 0.75rem;
  justify-content: center;
  padding-bottom: 2.6rem;
  padding-top: 2.3rem;
}

.rspb__footer__copyright {
  margin: 1rem 0 0;
}

.rspb__footer__inner {
  max-width: var(--rspb-content-max-width);
  padding-left: 1rem;
  padding-right: 1rem;
}

@media screen and (min-width: 40em) {
  .rspb__footer__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (min-width: 64em) {
  .rspb__footer__inner {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.rspb__footer__nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

a.rspb__footer__nav__list__item__link {
  font-weight: normal;
}

/*
  * Page elements
*/

.en__component--codeblock {
  display: none !important;
}

#en__pagebuilder .en__component--codeblock {
  display: block !important;
}

.en__component--socialshareblock {
  background-color: var(--rspb-colour-deep-sea-slightly-transparent);
  border-radius: 1rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin: 0 0 0;
  padding: 1rem 1rem 2rem;
}

.rspb__latest-action-takers {
  padding-bottom: 2rem !important;
}

#en__pagebuilder .rspb__latest-action-takers {
  display: block !important;
}

.rspb__latest-action-takers__icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  height: 2rem;
  margin-right: 0.5rem;
  width: 2rem;
}

/* Latest action takers in first/only column*/

.en__component--row--2 .en__component--column--1 .rspb__latest-action-takers,
.en__component--advrow
  .en__component--column:first-child
  .rspb__latest-action-takers {
  color: var(--rspb-colour-spring-green);
}

.en__component--row--2
  .en__component--column--1
  .rspb__latest-action-takers__icon,
.en__component--advrow
  .en__component--column:first-child
  .rspb__latest-action-takers__icon {
  background-image: url(images/map-pin-spring-green.svg);
}

/* Latest action takers in second column*/

.en__component--row--1 .en__component--column .rspb__latest-action-takers,
.en__component--row--2 .en__component--column--2 .rspb__latest-action-takers,
.en__component--advrow
  .en__component--column:last-child
  .rspb__latest-action-takers {
  color: var(--rspb-colour-deep-blue);
}

.en__component--row--1 .en__component--column .rspb__latest-action-takers__icon,
.en__component--row--2
  .en__component--column--2
  .rspb__latest-action-takers__icon,
.en__component--advrow
  .en__component--column:last-child
  .rspb__latest-action-takers__icon {
  background-image: url(images/map-pin-deep-blue.svg);
}

.rspb__latest-action-takers__inner {
  align-items: center;
  display: flex;
  margin-left: -0.5rem;
  transition: opacity 0.5s ease-in-out;
  visibility: hidden; /* hide it until the text is set, then we use Javascript to show it */
}

.rspb__latest-action-takers__action-taker__city,
.rspb__latest-action-takers__action-taker__name {
  font-weight: bold;
}

.rspb__skip-to-form {
  padding-bottom: 1rem !important;
}

@media screen and (min-width: 64em) {
  .rspb__skip-to-form {
    display: none;
  }
}

#en__pagebuilder .rspb__skip-to-form {
  display: block !important;
}

details {
  margin: 1.5rem 0;
}

summary {
  cursor: pointer;
  display: block;
  font-weight: bold;
  list-style-image: none;
  margin: 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  background-position: center top;
  background-repeat: no-repeat;
  content: '';
  display: inline-block;
  height: 1rem;
  margin-right: 0.5rem;
  transition: all 0.2s ease;
  width: 1rem;
}

/* Summary icon in first/only column*/
.en__component--row--2 .en__component--column--1 summary::before,
.en__component--advrow .en__component--column:first-child summary::before {
  background-image: url(images/chevron-regular-white.svg);
}

/* Summary icon in second column*/
.en__component--row--1 .en__component--column summary::before,
.en__component--row--2 .en__component--column--2 summary::before,
.en__component--advrow .en__component--column:last-child summary::before {
  background-image: url(images/chevron-regular-deep-sea.svg);
}

details[open] > summary::before {
  background-position: center bottom;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

summary + p {
  margin-top: 1rem;
}

.en__component--copyblock {
  padding: 0.5rem 1.5rem 1rem;
}

.en__component--ecardblock {
  display: none;
}

.en__component--formblock {
  color: white;
  padding: 0 1.5rem;
}

.en__component--imageblock {
  padding: 0.5rem 1.5rem 1rem;
}

.en__component--imageblock img {
  height: auto !important;
  width: 100% !important;
}

.enWidget {
  font-family: 'brother-1816', Arial, Helvetica, sans-serif !important;
  padding: 1rem 1.5rem !important;
}

.enWidget__copy {
  color: var(--rspb-colour-deep-sea);
  font-weight: bold;
  text-align: center;
}

.enWidget__copy--below {
  margin-top: 0 !important;
}

.enWidget__copy--below p {
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.enWidget__fill {
  background-color: var(--rspb-colour-soft-yellow) !important;
}

.enWidget__fill__count {
  color: var(--rspb-colour-deep-sea) !important;
}

.enWidget__progress {
  background: #dddddd !important;
}

li {
  margin-bottom: 0.5rem;
}

.rspb__video-container {
  margin: 1em 0;
  position: relative;
  width: 100%;
}

.rspb__video-container-16-9 {
  padding-top: 56.25%; /* default to 16:9 aspect ratio = 9 / 16 * 100 */
}

.rspb__video-container-4-3 {
  padding-top: 75%; /* 1:1 aspect ratio */
}

.rspb__video-container-square {
  padding-top: 100%; /* 1:1 aspect ratio */
}

.rspb__video-container iframe {
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.rspb__wingspan {
  background-color: transparent;
  margin-bottom: 1rem;
  padding: 0;
}

.rspb__wingspan::after {
  aspect-ratio: 1034.3 / 224.7;
  background-image: url(images/wingspan.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  content: '';
  display: block;
  margin: -0.35rem 0 0;
  width: 100%;
}

.rspb__wingspan > * {
  background-color: var(--rspb-colour-sky-blue);
  color: white !important;
  margin: 0;
  padding: 0.5rem 2rem;
  text-align: center;
}

.rspb__wingspan > *:first-child {
  padding-top: 2rem;
}

@media only screen and (min-width: 54em) {
  .rspb__wingspan > *:first-child {
    padding-top: 3rem;
  }
}

.rspb__wingspan > *:last-child {
  padding-bottom: 0;
}

.rspb__wingspan > h2 {
  font-family: 'superior-title', serif;
}

.rspb__wingspan > p {
  font-size: 1.25rem;
}

/*
  * Forms
*/

.address-loqate-manual-entry-container {
  display: block;
  font-size: 14px !important;
  margin: -0.25rem 0 1rem !important;
  width: 100%;
}

#address-loqate-manual-entry {
  color: inherit !important;
  cursor: pointer;
}

button,
.button,
.en__tweetButton__send,
.en__tweetButton__sent {
  background: linear-gradient(
    to right,
    var(--rspb-colour-sky-blue-200) 50%,
    var(--rspb-colour-sky-blue) 50%
  );
  background-position: 100% 0;
  background-size: 200% 100%;
  border: none;
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  display: block;
  font-family: 'brother-1816', Arial, Helvetica, sans-serif;
  font-size: 1.25em;
  font-weight: bold;
  height: 3rem;
  line-height: normal;
  margin: 1rem auto;
  max-width: 32rem;
  overflow: hidden;
  padding: 0.5rem 1.5rem 0.75rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background-position 0.2s ease-in-out;
  width: 100%;
}

.en__tweetButton__send,
.en__tweetButton__sent {
  margin: 0 auto;
}

.en__tweetButton__sent {
  background: var(--rspb-colour-sand) !important;
  color: var(--rspb-colour-deep-sea) !important;
}

.en__tweetButton__sent a {
  cursor: default !important;
}

.en__tweetButton a {
  border-bottom-width: 0;
  font-size: 1em !important;
  padding: 0.5rem 1.5rem 0.75rem !important;
}

button:focus,
.button:focus,
button:hover,
.button:hover,
.en__tweetButton__send:focus,
.en__tweetButton__send:hover {
  background-position: 0 0;
  color: var(--rspb-colour-deep-sea);
}

button:disabled,
.button:disabled,
.button[data-disabled='true'],
.en__tweetButton__send:disabled {
  background-color: var(--rspb-colour-sand);
  color: var(--rspb-colour-deep-sea);
}

.button--secondary,
.en__component--tweetcontactblock ~ .en__component--formblock button {
  background: linear-gradient(to right, white 50%, white 50%);
  border: 1px solid var(--rspb-colour-sky-blue);
  color: var(--rspb-colour-sky-blue);
}

.en__component--formblock .en__field,
.en__component--formblock .en__captcha {
  padding-bottom: 0;
}

.en__contact:not(:last-child) {
  border-bottom: 1px solid white;
  padding-bottom: 1.5rem;
}

.en__contact > .en__contact__detail {
  background-color: transparent;
}

.en__contact .en__contact__toggle {
  background-color: transparent !important;
  background-image: url(images/chevron-regular-deep-sea.svg) !important;
}

.en__contact--open .en__contact__toggle {
  transform: rotate(180deg);
}

.en__errorHeader {
  background-color: var(--rspb-colour-red-alert);
  padding: 1rem;
}

ul.en__errorList {
  background-color: var(--rspb-colour-red-alert);
  list-style-position: inside;
  margin-bottom: 2rem !important;
}

.en__errorList li.en__error {
  padding: 0 1rem 0.5rem !important;
}

.en__field.en__mandatory > label::after {
  content: ' *';
  display: inline;
}

.en__field--address-results label {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.en__field--checkbox,
.en__field--radio {
  margin-bottom: 0.75rem;
}

.en__field--checkbox .en__field__error,
.en__field--radio .en__field__error {
  margin-top: 0.25rem;
}

.en__field__element {
  width: 100%;
}

.en__field__element:has(~ .en__field__error) input,
.en__field__element:has(~ .en__field__error) select,
.en__field__element:has(~ .en__field__error) textarea {
  border-color: var(--rspb-colour-red-alert);
  border-width: 2px;
}

.en__field__element--checkbox .en__field__item,
.en__field__element--radio .en__field__item {
  align-items: center;
  display: flex;
}

.en__field__element--checkbox .en__field__item label,
.en__field__element--radio .en__field__item label {
  line-height: 1.3;
}

/* Fit the 'enter your postcode to get started' field and button onto same line */

.en__field--enter-your-postcode-to-get-started input {
  display: inline-block;
  max-width: calc(50% - 0.5rem);
  width: calc(50% - 0.5rem);
}

.en__field--enter-your-postcode-to-get-started input[type='button'] {
  max-width: calc(60% - 0.5rem);
  width: calc(60% - 0.5rem);
}

.en__field--enter-your-postcode-to-get-started input[type='text'] {
  max-width: calc(40% - 0.5rem);
  width: calc(40% - 0.5rem);
}

/* At very small screen sizes, adjust widths so button text fits on */
@media screen and (min-width: 400px) {
  .en__field--enter-your-postcode-to-get-started input[type='button'],
  .en__field--enter-your-postcode-to-get-started input[type='text'] {
    max-width: calc(50% - 0.5rem);
    width: calc(50% - 0.5rem);
  }
}

.en__field__error {
  font-size: 1rem;
  margin: -0.25rem 0 0.75rem;
  padding: 0;
}

.en__field__error::before {
  background-image: url(images/warning-triangle-red-alert.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  height: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: bottom;
  width: 1.5rem;
}

.en__field .en__field__label,
.en__field label {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.en__field > .en__field__label,
.en__field > label {
  width: 100%;
}

[class*='en__field--optin'] .en__field__element--radio {
  display: flex;
}

.en__field--optinemail > .en__field__label,
[class*='en__field--optin'] > .en__field__label {
  align-items: center;
  display: flex;
}

.en__field--optinemail > .en__field__label::after,
[class*='en__field--optin'] > .en__field__label::after {
  margin-left: 0.25rem;
}

.en__field--optinemail > .en__field__label::before,
[class*='en__field--optin'] > .en__field__label::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  height: 2rem;
  margin-right: 0.5rem;
  width: 2rem;
}

.en__field--optinemail > .en__field__label::before,
[class*='en__field--optinemail'] > .en__field__label::before {
  background-image: url(images/pictogram-email.svg);
}

[class*='en__field--optinphone'] > .en__field__label::before {
  background-image: url(images/pictogram-phone.svg);
}

[class*='en__field--optinmail'] > .en__field__label::before {
  background-image: url(images/pictogram-post.svg);
}

[class*='en__field--optintext'] > .en__field__label::before {
  background-image: url(images/pictogram-text.svg);
}

.en__submit {
  padding: 0 0 1rem;
}

.en__submit button {
  margin-bottom: 0;
}

.en__submit--disabled > button {
  cursor: progress;
}

.en__submit--disabled > button::before,
.en__submit--disabled > button::after {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  content: '';
  display: inline-block;
  height: 2rem;
  margin-bottom: -3px;
  vertical-align: bottom;
  width: 2rem;
}

.en__submit--disabled > button::before {
  background-image: none;
}

.en__submit--disabled > button::after {
  background-image: url(images/loading-spinner-white.svg);
}

.en__tweet,
.en__tweetBackgroundText,
.en__tweetButton,
.en__tweetDisabled,
.en__twitterTarget {
  background-color: transparent !important;
}

.en__tweetContact {
  background-color: transparent !important;
}

.en__twitterTarget p {
  line-height: 1.6 !important;
}

/* 'Find my address' button */
.envalidate-loqate-find-address {
  margin: 0 0 1rem 1rem;
  padding: 0.25rem 1rem 0.5rem;
  vertical-align: bottom;
}

input[type='checkbox'],
input[type='email'],
input[type='date'],
input[type='number'],
input[type='password'],
input[type='tel'],
input[type='text'],
select,
textarea {
  border: 1px solid var(--rspb-colour-neutral-500);
  border-radius: 0.25rem;
  color: var(--rspb-colour-neutral-800);
  height: 3rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.en__field__element
  input:not(.button):not([type='checkbox']):not([type='radio']):focus,
.en__field__element select:focus,
.en__field__element textarea:focus {
  border: 1px solid var(--rspb-colour-deep-sea);
  outline: 1px solid var(--rspb-colour-deep-sea);
}

@media (max-width: 600px) {
  input[type='email'],
  input[type='date'],
  input[type='number'],
  input[type='tel'],
  input[type='text'],
  select,
  textarea {
    width: 100%;
  }
}

input[type='checkbox'] {
  align-items: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0.125rem solid var(--rspb-colour-deep-sea);
  cursor: pointer;
  justify-content: center;
  margin-bottom: 0;
  max-height: 1.5rem;
  max-width: 1.5rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
  padding-right: 0.5rem;
  position: relative;
}

#en__pagebuilder input[type='checkbox'] {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

input[type='checkbox']:checked::after {
  background-image: url(images/tick-deep-sea.svg);
  background-repeat: no-repeat;
  content: '';
  height: 1rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
}

input[type='radio'] {
  align-items: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0.125rem solid var(--rspb-colour-deep-sea);
  border-radius: 50%;
  cursor: pointer;
  justify-content: center;
  margin-bottom: 0;
  max-height: 1.5rem;
  max-width: 1.5rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
  padding-right: 0.5rem;
  position: relative;
}

input[type='radio']:checked::after {
  background-color: var(--rspb-colour-deep-sea);
  border-radius: 50%;
  content: '';
  height: 0.75rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.75rem;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(images/chevron-regular-deep-sea.svg);
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 1.5rem;
}

.rspb____optin-text {
  padding-top: 1rem;
}

.rspb____optin-text p {
  margin-bottom: 0;
}

/* Remove default arrow in Edge */
select::-ms-expand {
  display: none;
}

/*
  * Share buttons
*/

.en__socialShare {
  margin: 0 !important;
  padding: 1rem !important;
  position: relative;
}

.en__socialShare {
  height: 2.75rem !important;
  width: 2.75rem !important;
}

@media only screen and (min-width: 40em) {
  .en__socialShare {
    height: 4rem !important;
    width: 4rem !important;
  }
}

@media only screen and (min-width: 64em) {
  .en__socialShare {
    height: 5rem !important;
    width: 5rem !important;
  }
}

.en__socialShare::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  height: 100% !important;
  left: 0;
  position: absolute;
  top: 0;
  width: 100% !important;
}

.en__socialShare--bluesky::before {
  background-image: url(images/pictogram-bluesky.svg);
}

.en__socialShare--facebook::before {
  background-image: url(images/pictogram-facebook.svg);
}

.en__socialShare--linkedin::before {
  background-image: url(images/pictogram-linkedin.svg);
}

.en__socialShare--twitter::before {
  background-image: url(images/pictogram-x.svg);
}

.en__socialShare--whatsapp::before {
  background-image: url(images/pictogram-whatsapp.svg);
}

a.en__socialShare,
a.en__socialShare:link,
a.en__socialShare:visited {
  border-bottom-width: 0;
}

.en__socialShares {
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.en__socialShare__image {
  display: none;
}

/*
 * Cookies
*/

.cookie-preferences,
.cookie-preferences * {
  box-sizing: border-box;
}

.cookie-preferences {
  position: fixed;
  z-index: 29;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0px 0px 16px 5px rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  bottom: 0;
  left: 0;
}

.cookie-preferences.hidden {
  display: none;
}

@media (max-width: 320px) {
  .cookie-preferences__open {
    overflow: auto;
    max-height: 100%;
  }
}

@media (min-width: 768px) {
  .cookie-preferences {
    width: 100%;
    right: auto;
    left: auto;
    bottom: 0;
    padding: 40px 0;
    border-radius: 0;
  }
}

@media (min-width: 1200px) {
  .cookie-preferences {
    width: 700px;
    right: 0;
    left: auto;
  }
}

.cookie-preferences__default-action-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .cookie-preferences__default-action-wrapper {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

.cookie-preferences__edit-settings {
  width: -webkit-calc(50% - 5px);
  width: calc(50% - 5px);
}

@media (min-width: 768px) {
  .cookie-preferences__edit-settings {
    width: auto;
  }
}

.cookie-preferences__default-action {
  width: -webkit-calc(50% - 5px);
  width: calc(50% - 5px);
}

@media (min-width: 768px) {
  .cookie-preferences__default-action {
    margin-left: 20px;
    width: auto;
  }
}

.cookie-preferences__save-action-wrapper {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .cookie-preferences__save-action-wrapper {
    margin-top: 20px;
  }
}

.cookie-preferences__save-action {
  text-align: center;
}

.cookie-preferences__options-toggle {
  display: none;
  margin-top: 20px;
}

.cookie-preferences__options {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px solid #dddddd;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .cookie-preferences__options {
    padding: 20px 0;
  }
}

.cookie-preferences__options__option-copy p {
  margin: 0;
}

.cookie-preferences__options__option-toggle {
  margin-left: 20px;
}
.cookie-preferences__options:last-child {
  border-bottom: none;
}
.cookie-preferences__cookie-policy {
  text-align: center;
}

/*
  * Utility classes
  *
  * These can be used by the RSPB team when editing pages in EN
  *
  * They should be needed fairly rarely and used sparingly
  * -- if they're used often, the template probably needs updating/improving
  *
  * We only make available padding for spacing, not margins, used for content blocks (text blocks, form blocks, etc)
  * This is because adding vertical margins would either show the page background image,
  * or in the case of a negative margin the overlap colour would look odd because of the slight transparency on the background colour
*/

.rspb__spacing--bottom--none {
  padding-bottom: 0 !important;
}

.rspb__spacing--bottom--small {
  padding-bottom: 0.5rem !important;
}

.rspb__spacing--bottom--medium {
  padding-bottom: 1rem !important;
}

.rspb__spacing--bottom--large {
  padding-bottom: 2rem !important;
}

.rspb__spacing--bottom--extra-large {
  padding-bottom: 3rem !important;
}

.rspb__spacing--top--none {
  padding-top: 0 !important;
}

.rspb__spacing--top--small {
  padding-top: 0.5rem !important;
}

.rspb__spacing--top--medium {
  padding-top: 1rem !important;
}

.rspb__spacing--top--large {
  padding-top: 2rem !important;
}

.rspb__spacing--top--extra-large {
  padding-top: 3rem !important;
}
