[class$="journey-main-wrapper-fields-container"] {
    text-align: center;
    margin:0 auto;
    width: 100% !important;
}
.payment-container {
    padding: 2rem 0 0;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

fieldset {
    border: none;
}
div#dob-form-row select, div#surnames-form-row + div select, .small {
    width: 32.4%;
    display: inline-block;
}

/*progress bar*/
.col-12.col-sm-10.offset-sm-1.col-lg-8.offset-lg-0 {
    padding: 5rem 19% 0;
}
.container {
    position: relative;
}
.pound-play {
    position: absolute;
    top: 0;
    right: 0;
}
.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.form-progress__item {
    color: #4f5054;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: .82353rem;
    height: auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    text-align: center;
}
.form-progress__item-title {
    margin-bottom: 15px;
}
.form-progress__item-marker {
    display: block;
    margin: 20px auto;
    z-index: 1;
    font-size: 1.2rem;
    background: url("/image/skins/nts/complete-1-22.svg?v=1") no-repeat center center / 100% 100%;
    padding: 1rem 1.4rem 0rem;

}
.active .form-progress__item-marker {
    background: url("/image/skins/nts/active-22.svg") no-repeat center center / 100% 100%;

}

.form-progress__item.active .form-progress__item-marker {
    color: #00a19b;
    border-color: #00a19b;

}

.form-progress__item.active .form-progress__item-marker, .form-progress__item.complete {
    opacity:1;
}
.content--dark .form-progress__item-marker {
    color: var(--bs-blue);

}
.completion_block {
    text-align: center;
}
/*

.form-progress__item.complete .form-progress__item-marker {
  opacity: 1;
    border-color: #b58bb0;
}
.form-progress__item-marker::before {
	background: url(/image/skins/nts/complete.svg) no-repeat;
	background-size: auto;
	background-size: contain;
	top: 32px;
    content: " ";
    display: block;
    height: 37px;
    left: 38.6%;
    position: absolute;
    width: 100%;
    opacity:.5;

}
.active .form-progress__item-marker::before {
    opacity: 1;
}
.active .form-progress__item-marker::before {
	background: url(/image/skins/nts/active.svg) no-repeat;

}
.complete .form-progress__item-marker::before {
	background: url(/image/skins/nts/complete.svg) no-repeat;

}
*/
.form-progress__item:after {
    background: url("/image/skins/nts/progress-segment.svg") no-repeat 50%;
    background-size: contain;
    bottom: 34px;
    content: " ";
    display: block;
    height: 28px;
    left: 50%;
    position: absolute;
    width: 100%;
}
.form-progress__item.last:after {
    background:none;
    width: 0;
    border-bottom:none;
}
.form-progress__item:nth-child(2n):after {
    bottom: 10px;
    -webkit-transform: scale(-1);
    transform: scale(-1);
}

/*END progress*/

/*START - journey*/
h3, legend {
    text-align: center;
    font-size: 2rem;
    margin: 1rem auto;
    width: 100%;
}
label {
    color: #444;
    display: block;
    padding: 1rem 0 0.5rem ;
}
input, select {
    border: 2px solid var(--bs-gray-300);
    border-radius: 0;
    color: #444;
    text-overflow: ellipsis;
    box-sizing: border-box;
    -webkit-appearance: none;
    width: 100%;
    padding: .5rem;

}
#giftaid-form-row .radio-button-container {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}
.radio-button-container input[type=radio] {
    width: 20px;
    padding:0;
    height:20px;
}
.radio-button-container input[type=radio]:checked {
    background-color: var(--bs-blue);
}
.radio-button-container label {
    padding-top: 0rem;
    padding-left: 1rem;
}
.radio-button-container > div {
    display: block;
    float: left;
}
.radio-button-container .radio-label {
    width: calc(100% - 50px);
}
.radio-button-container .radio-button {
    width: 20px;
}
#giftaid-form-row {
    width: 100%;
}
label[for=giftaidN] {
    /*  margin-top: -1rem;*/
}
input[type=radio] {
    width: auto;
    -webkit-appearance: auto;
}
input:focus, select:focus {
    border: 2px solid var(--bs-gray-100);
}
select {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+");
    background-position: 100% center;
    background-repeat: no-repeat;
    background-color:#ffffff;
}

/*product widget*/
.form-row.widget {
    text-align: center;
    margin: 2em 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(6, 1fr);
}



/*end product widget*/









.form-input.form-input-radio[name="product_code"],
.form-input.form-input-radio[name="donation_amount"],
.form-input.form-input-radio[name="product-code-selection"]
{
    height: 0;
    visibility: hidden;
    margin: 0;
    position: absolute;
    width: 0;
    visibility: hidden;
}
.pos {
    display: block;
    font-size: 3rem;
}
input[name="product_code"] + label,
input[name="donation_amount"] + label,
input[name="product-code-selection"] + label, .label {
    color: var(--bs-blue);
    cursor: pointer;
    display: inline-block;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid #144477;
    color: #144477;
    font-size: 1.5rem;
    line-height: 1;
    padding: .5rem;
    box-sizing: border-box;

}
.label:hover, .label:focus, input[name="product_code"]:hover + label,
input[name="product_code"]:checked + label,
input[name="donation_amount"]:checked + label,
input[name="product-code-selection"]:checked + label {
    background-color: var(--bs-blue);
    color: #fff;

}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[name="product_code"] + label > input#quantity, input[name="product_code"] + label > input#donation_quantity,
input[name="product-code-selection"] + label > input#donation_quantity,
input[name="product_code"] + label > input#product_quantity {
    display: none;
}
input[name="product_code"]:checked + label > input#quantity,
input[name="product-code-selection"]:checked + label > input#quantity,
input[name="product_code"]:checked + label > input#product_quantity {
    background-color: var(--bs-blue);
    display: block;
    top: 0;
    position: absolute;
    height: 100%;
    color: #fff;
    font-size: 2.64706rem;
    width: 100%;
    padding: 0 .5rem;
    text-align: center;
    margin: 0;
    left: 0;
    border: 0;
}
span.other {
    position: relative;
    display: block;
    vertical-align: middle;
    width: 39%;
    margin: 1.5rem auto 0;
}
span.other  input[name="product_code"] + label,
span.other  input[name="product-code-selection"] + label {
    width:100%;
}
span.other input[name="product_code"]:checked + label,
span.other input[name="product-code-selection"]:checked + label
{
    text-align: left;
}
input[name="product_code"] + label,
input[name="product-code-selection"] + label {

}
input#quantity,
input#product_quantity {
    z-index: -1;

    display: none;

}
input:checked + label + input#quantity,
input:checked + label + input#product_quantity {
    z-index: 1;
    display: block;
    z-index: 1;
    display: block;
    position: absolute;
    top: 2.5em;
    right: 2em;
}
/*donation raffle*/

.highlight {
    color: var(--bs-pink);
}
input#donation {
    display: inline-block;
    width: auto;
}
.field {
    position:relative;
}

div#giftaid-stage-group .field {
    text-align: left;
}

.disclaimer {
    color: #4f5054;
    font-size: .82353rem;
}
input[type="checkbox"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;

}
input[type="checkbox"] + label, input[type="checkbox"] + span {
    color: #000;
    cursor: pointer;
    display: block;
    font-size: .82353rem;
    margin-bottom: 0;
    padding: .4rem 0 .4rem 2.96rem;
    position: relative;
    font-size: 1rem;

}
input[type="checkbox"] + label:before, input[type="checkbox"] + span:before {
    font-size: 1rem;
    border: 2px solid #000;
    content: " ";
    height: 34px;
    position: absolute;
    margin-left: -45px;
    transition: background .14s,border .14s;
    width: 34px;
    top: -2px;
    border-radius: 3px;
}
div#giftaid-stage-group, #tooltip-help, #donations {
    width: 50%;
    margin: 0 auto;

}

#giftaidyourremainingcredit-stage-group > div, #giftaidyourremainingcredit-stage-group p, div#keepingintouch-stage-group > div, div#keepingintouch-stage-group p,
div#subscribetoemails-stage-group > div, div#subscribetoemails-stage-group p {
    width: 80%;
    margin:1rem auto;
    display: block;
}
div#keepingintouch-stage-group, div#giftaidyourremainingcredit-stage-group, #tooltip-help,
div#subscribetoemails-stage-group {
    color: #4f5054;
    text-align:left;
    font-size: .8rem;
}
#keepingintouch-stage-group a, #gift-stage-group a,
.text-link {
    border-bottom: 2px solid var(--bs-pink);
}

#keepingintouch-stage-group a:hover, #gift-stage-group a:hover, .text-link:hover {
    border-bottom: 2px solid  var(--bs-pink);
    background: var(--bs-pink);
    color:#fff;
}

sup {
    font-size: .7rem;
}
input[type="checkbox"]:focus + label:before,
input[type="checkbox"]:focus + span:before,
input[type="checkbox"]:hover + label:before,
input[type="checkbox"]:hover + span:before {
    background: rgba(207,0,124, 0.1);
    border-color:  var(--bs-pink);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}
input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:checked + span:before{
    background: var(--bs-blue);
    border-color: var(--bs-blue);
}

input[type="checkbox"]:checked + label:after,
input[type="checkbox"]:checked + span:after {
    border-bottom: 4px solid #fff;
    border-left: 4px solid #fff;
    content: "";
    height: 12px;
    margin-left: 8px;
    position: absolute;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 24px;
    left: 0;
    top: 6px;
}

.form-input {


    text-align: left;
    vertical-align: top;
    position: relative;

    box-sizing: border-box;
}
.no-border {
    border:none;
}
#yourdetails-stage-group :first-child {
    grid-column: 1 / -1;
}
#yourdetails-stage-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:1rem;
}
#addresssearch-stage-group {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
    grid-template-columns: 1fr 1fr;
}
#addresssearch-stage-group :last-child {
    grid-column: 1 / -1;
}
#addresses-form-row br {
    display: none;
}
span[id$="-clear-text"] {
    width:100%;
    top: 30px;
    right: 6px;
    text-align: right;
}
#addressSwitch {
    padding: 12px 0px;
}
/*errors*/
div#errorSummary {
    width: 100%;
    background: #fff;
    margin: 2rem 0 0;

}
#errorSummary ul {
    padding: 0;
    margin: .5rem 1rem 1rem;
}

div#errorSummary h3 {
    border: none;
    background: var(--bs-red);
    padding: 1.4em;
    color: #fff;
    font-size: 1rem;
    margin:0;
}
.error a {
    border-bottom: 2px solid var(--bs-red);
}
.error a:hover {
    border-bottom: 2px solid var(--bs-red);
    background:var(--bs-red);
    color:#ffffff;
}
.form-error, .form_error {
    background-color: var(--bs-red);
    color: #fff;
    display: block;
    font-size: .88235rem;
    padding: .5em 1em;
    text-align: left;
}
#product_code_error {
    text-align: center;
    background: transparent;
    color: var(--bs-red);
    font-weight: bold;
}
.form-error a {
    color: #fff;
}
.error {
    border-color: var(--bs-red);
    outline-color: var(--bs-red);
}

/*Address*/
div#addressresults-stage-group {
    display: none;
}
div#enterukaddressyourself-stage-group {
    display: none;
}
#addresssearch-stage-group {
    position: relative;
}

#txtAddressLkp::-ms-clear {
    display: none;
}

div#findaddress-form-row, #second_entrant_findaddress-form-row {
    border: none;
    position: absolute;
    left: 51%;
    bottom: 0;
    width: auto;
}

.form__wrap {
    margin: 2rem 0 0;
}
form {
    padding: 0 0 6rem;
}

.bold {
    font-weight:bold;
}

iframe {


}
.title-block__strapline sup { 	font-size: 1rem; }
.title-block__title {
    margin: .58824rem auto;
    width: 80%;
}

/*==============
START - Payment page
===============*/
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form_row {
    text-align: left;
    position: relative;
    box-sizing: border-box;
}

@media (min-width: 599px) {
    div#dob-form-row select, div#surnames-form-row + div select, .small {
        width: 31.5%;
    }
}

@media (min-width: 899px) {

    div#dob-form-row select, div#surnames-form-row + div select, .small  {
        width: 32%;
    }
}

@media (max-width: 951.98px) {
    .main-lot {
        bottom: 53%;
    }
    .form-progress__item-marker::before {
        left: 34.6%;
    }
}

@media (max-width: 898.98px) {
    .col-xl-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .pound-play {
        width: 7rem;
        top: -1rem;
    }
    h1 {
        font-size: 1.76471rem;
    }
    .title-block__strapline {
        display: block;
        font-size: .88235rem;
        line-height: 1.4!important;
    }

    span.other {
        width: 80%;
    }
    .col-12.col-sm-10.offset-sm-1.col-lg-8.offset-lg-0 {
        padding: 2rem 0% 0;
    }
    .form-progress__item-marker::before {
        width:50%;
        left:12.4vw;
    }
    .main-lot {
        bottom: 80%;
        max-width: 200px;
    }
}

@media (max-width: 794.98px) {
    .form-row.widget {
        grid-template-columns: repeat(3, 1fr);
        justify-items: start;
    }
    .form-row.widget > :nth-last-child(-n+2) {

        grid-column: span 1;
        align-content: center;

    }
}

@media (max-width: 767.98px) {
    span[id$="-clear-text"] {
        position: relative !important;
        width: 100%;
        display: inline-block;
    }

}

@media (max-width: 600.9px) {
    .form-row.widget {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 598.98px) {
    .form_row.field.widget_description_text {
        text-align: left;
    }

    div#dob-form-row select, div#surnames-form-row + div select, .small {
        width:32.3%;
    }
    input:checked + label + input#quantity,
    input:checked + label + input#product_quantity {
        width:auto;
    }

    input[name="product_code"] + label,
    input[name="product-code-selection"] + label {

        margin-bottom: 15px;
    }

    iframe {
        width: 100% !important;
    }

    #yourdetails-stage-group {
        grid-template-columns: 1fr;
        gap: .5rem;
    }
}
@media (max-width: 448.98px) {

    .container {
        padding: 0 1rem;
        max-width: 400px;
    }
    div#giftaid-stage-group, div#keepingintouch-stage-group, div#subscribetoemails-stage-group {
        width:100%;
    }
    .col-12.col-sm-10.offset-sm-1.col-lg-8.offset-lg-0 {
        padding: 5rem 0 0;
    }
    input:checked + label + input#quantity,
    input:checked + label + input#product_quantity {
        top: .5em;
    }
}

@media (max-width: 429.98px) {
    input#quantity,
    input#product_quantity {
        width: 40% !important;
    }
}
@media (max-width: 349.98px) {
    input#quantity,
    input#product_quantity {
        width: 35% !important;
    }
}
