/* ---- src/styles/core.css ---- */
/* goodpower-core.css -- shared styles for all GP form templates */

/* -- Float labels -------------------------------------------- */
.en__field label { transition: all 0.2s ease; }
.en__field.populated label,
.en__field.focused  label {
  font-size: 0.72em;
}

/* -- Custom select ------------------------------------------- */
/* Template CSS often sets z-index on .en__field__element and .en__field--select,
   creating stacking contexts that trap the .select-items dropdown panel.
   - z-index: auto on the element removes its stacking context so select-items
     z-index propagates to the parent field level.
   - :has(.select-arrow-active) bumps the open field above its siblings so
     the panel can overlap the next field. */
.en__field__element--select { position: relative; z-index: auto !important; }
.en__field--select:has(.select-arrow-active) { z-index: 9999 !important; }
.select-selected {
  display: flex; align-items: center; cursor: pointer;
  padding: 0.6em 1em; border: 1px solid #ccc; background: #fff;
  user-select: none;
}
.select-selected.select-arrow-active::after {
  transform: rotate(225deg) translateY(2px);
  border-color: #0d3043;
}
.select-selected::after {
  content: '';
  width: 4px;
  height: 4px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg) translateY(-2px);
  margin-left: auto;
  flex-shrink: 0;
}
.select-items {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  border: 1px solid #ccc; background: #fff; max-height: 220px; overflow-y: auto;
}
.select-items.select-hide { display: none; }
.select-items div { padding: 0.5em 1em; cursor: pointer; }
.select-items div:hover { background: var(--gp-primary, #2b7a4b); color: #fff; }
.select-items .same-as-selected { font-weight: 600; }

/* -- Popup mobile CTA button --------------------------------- */
.popup-btn {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--gp-primary, #2b7a4b); color: #fff;
  text-align: center; padding: 1em;
  font-weight: 700; font-size: 1em; cursor: pointer;
}
@media (min-width: 993px) { .popup-btn { display: none !important; } }

/* Source copy block for popup button text — JS reads text into .popup-btn span */
.mobile_popup_text { display: none; }
.ui-sortable .mobile_popup_text { display: block; }

/* -- Hidden address fields ----------------------------------- */
.en__field--hidden { display: none !important; }

/* -- NeverBounce feedback ------------------------------------ */
.nb-feedback { display: none; color: #c00; margin-top: 4px; font-size: 0.85em; }
.nb-feedback.showerror { display: block; }

/* -- Donation amount buttons --------------------------------- */
.en__field--donationAmt .en__field__element { display: flex; flex-wrap: wrap; gap: 8px; }
.en__field--donationAmt label {
  flex: 1 1 auto; min-width: 60px; text-align: center;
  border: 2px solid var(--gp-primary, #2b7a4b);
  border-radius: 4px; padding: 0.5em 0.75em; cursor: pointer;
}
.en__field--donationAmt label.selected,
.en__field--donationAmt input:checked + label {
  background: var(--gp-primary, #2b7a4b); color: #fff;
}
#custom-amount-wrap { display: none; margin-top: 8px; }

/* -- Tab menu ------------------------------------------------ */
.tab_menu { list-style: none; margin: 0; padding: 0; display: flex; }
.tab_menu li { flex: 1; text-align: center; padding: 0.6em; cursor: pointer; border-bottom: 2px solid transparent; }
.tab_menu li.active_tab { border-bottom-color: var(--gp-primary, #2b7a4b); font-weight: 700; }

/* -- Back button --------------------------------------------- */
.back_btn { cursor: pointer; color: var(--gp-primary, #2b7a4b); font-size: 0.9em; }

/* -- Payment tabs -------------------------------------------- */
.payment-tab { cursor: pointer; padding: 0.5em 1.2em; border: 1px solid #ccc; }
.payment-tab.active { background: var(--gp-primary, #2b7a4b); color: #fff; border-color: var(--gp-primary, #2b7a4b); }

/* -- Loading overlay (submit wait screen) -------------------- */
/* Shared by all templates using loadingOverlay: true.          */
/* Template CSS may override these if custom styling is needed. */
#form_4 { height: 400px; }
.cnfm_dtn2 {
  position: relative;
  height: 100%;
  background: #4b4949;
  display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center;
  z-index: 99; color: #fff;
}
.cnfm_dtn2 h4 { font-weight: 100; margin-top: 20px; }

/* -- Checkbox dropdown --------------------------------------- */
/* Used by checkboxDropdown feature on survey/quiz pages.      */
[id^="customDropdown_"] {
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
}
[id^="customDropdown_"] .title {
  cursor: pointer;
  padding: 0.6em 1em;
  border: 1px solid #ccc;
  background: #fff;
  user-select: none;
  position: relative;
}
[id^="customDropdown_"] .title::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  width: 4px;
  height: 4px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
[id^="customDropdown_"] .options {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0; z-index: 9999;
  border: 1px solid #ccc;
  background: #fff;
  max-height: 250px;
  overflow-y: auto;
}
[id^="customDropdown_"] .option {
  padding: 0.5em 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
[id^="customDropdown_"] .option::before {
  content: "☐";
  font-size: 1em;
  flex-shrink: 0;
}
[id^="customDropdown_"] .option.selected::before {
  content: "☑";
}
[id^="customDropdown_"] .option:hover { background: #f5f5f5; }
[id^="customDropdown_"] .option.selected {
  background: var(--gp-primary, #2b7a4b);
  color: #fff;
}
[id^="customDropdown_"] .other-textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Push EN validation errors below the checkbox dropdown widget.
   Brand CSS positions .en__field__error with position:absolute + a
   fixed margin-top offset calibrated for single-line inputs.  When
   the checkbox-dropdown widget is present those offsets land the
   error in the wrong place.  Reset to relative flow and use flex
   order to guarantee the error renders after the dropdown. */
.en__field--checkbox:has([id^="customDropdown_"]) {
  display: flex;
  flex-direction: column;
}
#main-content .en__field--checkbox:has([id^="customDropdown_"]) > .en__field__error {
  position: relative !important;
  top: auto !important;
  margin-top: 4px !important;
  order: 10;
}

/* -- ETT AI -------------------------------------------------- */
#gp-letter-spinner { display: none; text-align: center; padding: 2em; }
#gp-letter-preview { padding: 1em; border: 1px solid #ddd; background: #fafafa; display: none; }
.gp-error { color: #c00; }


/* ---- src/styles/jpm/brand.css ---- */
/* ================================================================
 * jpm/brand.css — Just Power Mzansi brand-level styles
 * Applies to every JPM template (ETT, petition, donation, etc.)
 * Concatenated with core.css → dist/jpm/core.css at build time.
 * ================================================================ */

/* --- CSS custom properties ------------------------------------- */
:root {
    --gp-primary: #00784a;
}

/* --- Base ------------------------------------------------------ */
body {
    background: #fff;
    color: #636161;
    font-family: Barlow, sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 0;
    line-height: 26px;
    margin: 0;
}

* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

img { max-width: 100%; }

/* --- Headings -------------------------------------------------- */
#main-content h1, #main-content h2, #main-content h3, #main-content h4,
.page_title {
    font-family: Barlow, sans-serif;
}

#main-content h2 {
    flex: none;
    line-height: 36px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

#main-content p + h2 { margin-top: 40px; }

/* --- Layout ---------------------------------------------------- */
#main-content .sub-content { position: relative; margin: 0 4%; }

/* --- Focus resets --------------------------------------------- */
button:focus, button:active:focus, button.active:focus {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}
input:focus, textarea:focus, select:focus, label:focus { outline: none; }
a:focus, a:hover, a:active { outline: none !important; }

/* --- Form inputs ---------------------------------------------- */
#main-content .action-form select,
#main-content .action-form input[type="text"],
#main-content .action-form .en__field__input {
    width: 100%;
    padding: 10px;
    margin: 0;
    font-size: 14px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid #fff;
    box-shadow: none;
    background-color: #edf6f9;
}

#main-content .action-form .en__field__input:focus {
    border: 1px solid #fff;
}

#main-content .action-form .en__field__input {
    height: 50px;
    vertical-align: bottom !important;
    padding: 14px 7px 0px 10px !important;
    font-weight: 500;
    font-size: 16px !important;
}

#main-content .action-form .en__field__input:focus-within {
    background-color: #FFFFFF;
    border-bottom: 1px solid #a4c552;
    caret-color: #a4c552;
}

#main-content .action-form .en__field__input::-webkit-input-placeholder { color: transparent; }
#main-content .action-form .en__field__input:-moz-placeholder { color: transparent; }

#main-content .action-form {min-height: 400px;}

#main-content .action-form select { -webkit-appearance: none; padding-right: 36px !important; }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select:focus, textarea:focus, input:focus { font-size: 14px; }
}

/* --- Float labels --------------------------------------------- */
#main-content .en__field { padding-bottom: 10px; padding-top: 15px; }

.en__field--textarea .en__field__label,
.en__field--number .en__field__label,
.en__field--text .en__field__label,
.en__field--select .en__field__label,
.en__field--emailAddress .en__field__label,
.en__field--telephone .en__field__label {
    display: block;
    padding: 0;
    position: absolute;
    top: 28px;
    left: 8px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
    font-size: 14px;
    width: 100%;
    z-index: 99;
    line-height: 1.2;
}

.en__field--textarea.populated .en__field__label,
.en__field--emailAddress.populated .en__field__label,
.en__field--text.populated .en__field__label,
.en__field--select .en__field__label,
.en__field--telephone.populated .en__field__label {
    top: 8px;
    left: 8px;
    font-size: 12px;
}

.en__field--number .en__field__label {
    display: block;
    padding: 0;
    position: absolute;
    top: 37px;
    left: 8px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
    font-size: 14px;
}

.en__field--number.populated .en__field__label { top: 8px; left: 8px; font-size: 12px; }

#main-content .populated.en__field .en__field__label {
    font-size: 15px;
    top: 4px;
    font-weight: 500 !important;
    left: 10px;
    width: 100%;
}

.en__field--text .en__field__label,
.en__field--select .en__field__label,
.en__field--emailAddress .en__field__label,
.en__field--telephone .en__field__label,
.en__field--action-team-prefs .en__field__label { width: 100%; }

#main-content .en__field >.en__field__label { font-weight: normal !important; z-index: 99; }

#main-content .en__field--select .en__field__label {
    position: relative;
    top: 0px;
    font-size: 15px;
    font-weight: 500 !important;
    left: 0;
}

#main-content .en__field.en__field--select >.en__field__label {
    font-size: 15px;
    top: -1px;
    font-weight: 500 !important;
    left: 0;
}

/* --- Select element ------------------------------------------- */
#main-content .en__field--select { position: relative; }
#main-content .en__component--row--2, .en__field--select, .en__field { position: relative; }

#main-content .en__field__element--select { position: relative; }
#main-content .en__field__element--select:after {
    content: '\25B8';
    font: 37px "Consolas", monospace;
    color: #0d3043;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 0;
    top: -4px;
    position: absolute;
    pointer-events: none;
    padding: 0px 8px;
    cursor: pointer;
}

#main-content .en__field__element--select .en__field__item { padding: 0; }

/* Custom select */
#main-content .sub-content .en__field__element--select select { display: block; }
#main-content .select-selected { background-color: #edf6f9; }
#main-content .select-selected.select-arrow-active:after {
    border-color: transparent transparent #0d3043 transparent;
    top: -39px;
}
#main-content .select-items div, .select-selected {
    color: #686d6f;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
}
#main-content .select-items {
    position: absolute;
    background-color: #ffffff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #0d3043;
    overflow: scroll;
    max-height: 300px;
}
#main-content .select-items:first-of-type { z-index: 999; }
#main-content .select-hide { display: none; }
#main-content .select-items div:hover, .same-as-selected { background-color: #00f0f0; }
#main-content .en__field.en__field--select { padding-top: 10px; z-index: 999; }
#main-content .en__field--select .en__field__error { padding-top: 77px; }

/* --- Checkbox / radio ----------------------------------------- */
#main-content .en__field__input--radio,
#main-content .en__field__input--checkbox { display: none; }

#main-content .en__field__input--radio + .en__field__label,
#main-content .en__field__input--checkbox + .en__field__label {
    position: relative;
    padding-left: 34px;
    cursor: pointer;
}

#main-content .action-form .en__field__input--radio + .en__field__label:before,
#main-content .action-form .en__field__input--checkbox + .en__field__label:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

#main-content .en__field__input--checkbox:checked + .en__field__label:before { content: "\a0\2713"; }

#main-content .action-form .en__field__input--checkbox + .en__field__label:before {
    border: 2px solid #000;
    background: #fff;
    width: 18px;
    height: 18px;
    border-radius: 0;
}

.wrapper #main-content .en__field__input--radio + .en__field__label:before,
.wrapper #main-content .en__field__input--checkbox + .en__field__label:before { outline: none; }

.wrapper #main-content .en__field__input--radio:checked + .en__field__label:before,
.wrapper #main-content .en__field__input--checkbox:checked + .en__field__label:before {
    border-color: #000;
    background-color: #fff;
    outline: none;
    color: #fff;
}

#main-content .sub-content .en__field__input--checkbox:checked + .en__field__label:before {
    background: url(https://aaf1a18515da0e792f78-c27fdabe952dfc357fe25ebf5c8897ee.ssl.cf5.rackcdn.com/2281/check.png?v=1629302296000) no-repeat;
    background-size: 20px;
    content: '';
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

/* --- Submit button -------------------------------------------- */
#main-content .en__submit button {
    width: 100%;
    background: #0021ab !important;
    color: #fff !important;
    border: 1px solid #0021ab !important;
    border-radius: 40px !important;
    margin: 30px auto 0;
    display: block;
    padding: 12px;
    font-family: Barlow, sans-serif;
    font-size: 20px;
    font-weight: bold;
}

#main-content .en__submit button:hover {
    background: #fff !important;
    color: #0021ab !important;
    border: 1px solid #0021ab !important;
}

.enWidget__copy.enWidget__copy--below { font-family: Barlow, sans-serif; }

/* --- Validation errors ---------------------------------------- */
#main-content .action-form .en__component .en__field__error {
    position: absolute;
    top: 0;
    bottom: auto;
    margin-top: 66px;
    padding: 0;
    padding-top: 1px;
    width: 100%;
    padding-left: 10px;
    line-height: normal;
    border: none;
    font-size: 11px;
    font-weight: 600;
    color: #f00;
    z-index: 9;
}

#main-content .action-form .en__component .en__field__error:after {
    content: '';
    display: block;
    width: 98%;
    height: 1px;
    background: #f00;
    position: absolute;
    top: 0;
    left: 1%;
}

#main-content .val-error { color: #f00; font-size: 13px; line-height: 18px; }

.en__field--validationFailed { margin-top: 10px; }

#main-content .en__field__element { z-index: 19; position: relative; }
.en__field--text .en__field__label, .en__field--select .en__field__label,
.en__field--emailAddress .en__field__label, .en__field--telephone .en__field__label { z-index: 99; }

/* --- Error list modal ----------------------------------------- */
.en__errorHeader { display: none; }
#main-content ul.en__errorList b { display: none; }

ul.en__errorList { margin: 0; padding: 0; }
ul.en__errorList li {
    list-style: none;
    padding: 10px 20px;
    background: #ffffff;
    color: #040f15;
    width: 50%;
    margin: 0 auto;
}

.msg_wrap {
    background: #000000b0;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

#main-content ul.en__errorList .msg_wrap b {
    position: absolute;
    font-size: 62px;
    font-weight: 100;
    transform: rotate(45deg);
    color: #fff;
    cursor: pointer;
    padding: 10px;
    display: block;
    color: #fff;
    top: -94px;
    right: -27%;
    position: relative;
}

.en__errorList.hide_msg .msg_wrap { display: none; }
.msg-cls { width: 50%; margin: 0 auto; height: 50px; position: relative; border-bottom: 1px solid #eee; }
.msg_wrap .msg-cls { background: #fff; }
.msg_wrap li:last-child { padding-bottom: 30px; }
.msg_wrap .msg-cls + li { padding-top: 30px; }

/* --- Field visibility ----------------------------------------- */
.en__field.en__field--hidden { display: none; }
#main-content .action-form .en__field__item--hidden { display: none; }
.en__field__item { display: block; }
.en__field__item.en__field__item--hidden { display: none; }
.en__field--email-opt-in { display: none; }
.en__field--safe-opt-in { display: none; }
.ui-sortable .en__field--safe-opt-in { display: block; }
.en__field--lpuk-email-opt-in > .en__field__label { display: none !important; }
#main-content .en__field--city,
#main-content .en__field--region,
#main-content .en__field--ziptastic-result-returned { display: none; }
.en__field--894920, .en__field--region, .en__field--city { display: none; }
.en__field--NOT_TAGGED_105 { display: none !important; }

/* --- Display helpers ------------------------------------------ */
#main-content .en__field__element--calendar,
#main-content .en__field__element--checkbox,
#main-content .en__field__element--email,
#main-content .en__field__element--number,
#main-content .en__field__element--password,
#main-content .en__field__element--radio,
#main-content .en__field__element--range,
#main-content .en__field__element--rating,
#main-content .en__field__element--select,
#main-content .en__field__element--splitselect,
#main-content .en__field__element--splittext,
#main-content .en__field__element--telephone,
#main-content .en__field__element--text,
#main-content .en__field__element--textarea,
#main-content .en__field__element--tripleselect,
#main-content .en__field__element--tripletext,
#main-content .en__field__item { display: block; }

.en__component--row { display: flex; flex-wrap: wrap; box-sizing: border-box; }
#en__pagebuilder .en__component--column { min-height: 25px; outline: dashed 1px #999; }
.en__component--column--2.ui-sortable { z-index: 9999; }

/* --- Split select --------------------------------------------- */
.en__field--splitselect .en__field__element { display: flex; flex-wrap: wrap; margin: 0; }
#main-content .en__field--splitselect .en__field__element { display: flex; flex-wrap: wrap; margin: 0; }
#main-content .en__field--splitselect .en__field__element .en__field__item { width: 48.75%; padding: 0; }
#main-content .en__field--splitselect .en__field__element .en__field__item { padding-right: 8px; }
.en__component--row--2 .en__component--column { width: 100%; }

/* --- Survey fields -------------------------------------------- */
.en__field--survey .en__field__label--positionabove { font-size: 18px; font-weight: 500; }
.en__field__element .en__field__item label { font-size: 18px; }

/* --- NeverBounce ---------------------------------------------- */
#main-content div.nb-feedback { position: relative !important; }
#main-content .en__field--email .en__field__element--email .nb-success input {
    border-color: #000 !important;
    color: #000;
}
#main-content .en__field--email .en__field__element--email .nb-success div.nb-feedback {
    border-color: #000 !important;
    color: #000 !important;
}
.nb-feedback .nb-result.nb-feedback-success { color: #00f0f0; }
body .wrapper #main-content .hide_err { opacity: 0; visibility: hidden; height: 0px !important; }
body .wrapper #main-content .hide_err { background: #f00; padding: 0px !important; margin: 0px !important; }
body .wrapper #main-content .hide_err .nb-result { display: none !important; }
#main-content div[id^=nb-field-].nb-error input { border-color: #fff !important; }

/* --- Mobile popup CTA button ---------------------------------- */
input#popup { position: absolute; opacity: 0; top: 0; left: 0; }

label.popup-btn {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 6px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: block;
    cursor: pointer;
}

label.popup-btn span {
    background: #00784a;
    display: block;
    text-align: center;
    color: #ffffff;
    padding: 18px 0;
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    animation: wiggle 2.7s 5;
}

label.popup-btn:hover { animation: none; }

.mobile_popup_text { display: none; }
.ui-sortable .mobile_popup_text { display: block; }

@keyframes wiggle {
    2%  { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
    4%  { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); }
    6%  { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
    8%  { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); }
    10% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
    12% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
    14% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
    16% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
    18% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0); }
    20% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0); }
}

/* --- Footer ---------------------------------------------------- */
#footer {
    border-top: 1px solid #eee;
    text-align: center;
    background: #FBE0FF;
    padding: 20px 0;
    color: #00784a;
    margin-top: 40px;
}

#footer a { color: #00784a; }

#footer .sm-nav {
    display: flex;
    justify-content: center;
    margin: 0;
}

#footer .sm-nav__link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    margin-left: 10px;
}

#footer .sm-nav__icon { fill: #ebf5bf; }
#footer .sm-nav__link .st0:hover { fill: #00f0f0 !important; }
#footer .sm-nav__icon--facebook { height: 58.34px; width: 17px; }
#footer .sm-nav__icon--twitter { height: 15.14px; width: 17.18px; }
#footer .sm-nav__icon--instagram { height: 18.5px; width: 18px; }
#footer .sm-nav__icon--linkedin { height: 16.82px; width: 16.63px; }
#footer .sm-nav__icon--youtube { height: 30.14px; width: 22.96px; }
#footer .sm-nav__icon--tiktok { height: 15.14px; width: 19.96px; }

.assistive-text {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

/* --- Social share (thank you page) ---------------------------- */
.wrapper .en__share__button--facebook { background-color: #38589c; }
.wrapper .en__share__button--twitter { background-color: #1aa8e4; }
.wrapper .en__share__button--facebook,
.wrapper .en__share__button--twitter { border-radius: 50%; padding: 24px; width: 60px; height: 60px; }

/* --- Progress bar --------------------------------------------- */
.enWidget--progressBar .enWidget__copy--below { margin-top: 10px; text-align: right; }
.enWidget__progress {
    overflow: visible !important;
    min-height: 16px !important;
    height: 16px !important;
    background: #ebf5bf !important;
    position: relative;
    border-radius: 0px !important;
    border: none !important;
}
.enWidget__fill {
    background-color: #a4c552 !important;
    background-size: 40px 40px;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
    position: relative;
}
.enWidget__fill__count { display: none; }
.enWidget--progressBar .enWidget__copy--below p { color: #000; }
.enWidget--progressBar {
    padding: 20px 20px 0px 20px !important;
    display: inline-block;
}

@-webkit-keyframes progress-bar-stripes {
    from { background-position: -40px 0; }
    to   { background-position: 0 0; }
}
@keyframes progress-bar-stripes {
    from { background-position: -40px 0; }
    to   { background-position: 0 0; }
}

/* --- Date of birth field -------------------------------------- */
#main-content .en__field.en__field--dateOfBirth > label.en__field__label {
    position: absolute;
    font-size: 11px;
    top: 16px;
    left: 10px;
    padding: 0;
    color: #666;
}

.higherage, .lowerage { display: none; }
#main-content .ui-sortable .higherage,
#main-content .ui-sortable .lowerage { display: block; }

#en__field_supporter_dateOfBirth + div { display: none !important; }

/* --- Twilio opt-in checkboxes --------------------------------- */
#main-content .en__field--checkbox.en__field--question.en__field--ace-twilio-opt-in-checkbox { display: block; }
#main-content .en__field--checkbox.en__field--question.en__field--ace-twilio-opt-in-checkbox label { font-size: 12px; line-height: 18px; }
#main-content .en__field--checkbox.en__field--question.en__field--cea-twilio-opt-in-checkbox { display: block; }
#main-content .en__field--checkbox.en__field--question.en__field--cea-twilio-opt-in-checkbox label { font-size: 12px; line-height: 18px; }

/* --- Cookie banner suppression -------------------------------- */
.termly-styles-termly-banner-e1ed59 { display: none !important; }

/* --- Footer quick links --------------------------------------- */
.footer-quick-links {
    text-decoration: none;
    padding: 5px 30px;
    opacity: .55;
}
.footer-quick-links:hover { opacity: 1; }

/* --- Page builder editor only --------------------------------- */
#main-content img.main-image { display: none; }
#main-content .ui-sortable img.main-image { display: block; }
#main-content img.mob-image { display: none; }
#main-content .ui-sortable img.mob-image { display: block; }
