a.step__btn.button,
a.step__btn.button:hover {
    cursor: pointer;
    text-align: left;
    border-width: 0px;
    text-decoration: none;
    display: inline-block;
    min-height:39px;
}

a.step__btn.button {
    color: white;
}

a.step__btn.button:hover {
    
}


a.step__btn.button:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.319 7.828'%3E%3Cpath d='M1.414 6.414v0l2.493-2.5-2.493-2.5v0' fill='none' stroke='white' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E");
    background-position: 0 50%;
    background-repeat: no-repeat;
    content: "";
    display: inline-block;
    height: 0.5em;
    margin-left: 0.25em;
    transition: all .3s;
    width: 0.5em;
}


a.step__btn.button:hover:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.319 7.828'%3E%3Cpath d='M1.414 6.414v0l2.493-2.5-2.493-2.5v0' fill='none' stroke='whitesmoke' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E");
    background-position: 0.15em 50%;
}

    a.step__btn.button > span {  
        line-height: 1.6;
        vertical-align: middle;
        font-family: Nexa,sans-serif;
        font-weight: 700;
        letter-spacing: .2em;
        text-transform: uppercase;
        font-size: 15px;
    }

    a.step__btn.button:focus:not(:focus-visible),
    a.step__btn.button:focus,
    button.step__btn.button:focus:not(:focus-visible),
    button.step__btn.button:focus {
        border-radius: 3px;
        border: 1px solid #000;
        outline: 1px solid #000;
    } 


.button:hover, .cookies-msg__btn:hover {
    background-color: #1a2749;
}


.button, .cookies-msg__btn {
    background-color: #257bbe;
    border-width: 0;
    color: #fff;
    cursor: pointer;
    padding: 0.5em 2em;
    text-align: left;
    text-decoration: none;
    transition: background-color .3s;
}



.d-date-table {
    border-spacing: 0;
}
.d-date-table td {
    padding-right: 10px;

}

    .d-date-table tr,
    .d-date-table th {
        text-align: center;
        font-weight: normal;
        padding-right: 5px;
    }


.white__btn.button {
    background-color: #fff;
    color: #257bbe; 
}

.numbered-steps__heading h3 {
    display: block;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    border-bottom: 1px solid gainsboro;
    margin-block-end: 1em;
    padding-block-end: 5px;
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    .numbered-steps__heading h3 {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 768px) {
    .numbered-steps__step {
        padding: 15px 0 30px 60px;
    }
}

.numbered-steps__detail {
    padding-bottom: 30px;
}


.numbered-steps__step:before { 
    background-color: #257bbe; 
}

input, select {
    vertical-align: top;
    padding: 0.325em ;
}

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
        input [type=number] {
        -moz-appearance: textfield;
    }


    input[type=radio] {
        z-index: 1;
        top: 0;
        left: 0;
        width: 32px;
        min-width: 32px;
        height: 32px;
        cursor: pointer;
        margin: 0;
        opacity: 1;
        margin-right: 10px;
    }  
.govuk-radios__item{
    padding-top:5px;
}


/*input {
    border-color: #d8dade;
}*/


@media screen and (min-width: 768px) {
    .page-sub-footer .container {
        flex-direction: row;
    }
}


.page-sub-footer {
    background-color: #ebecef;
    color: #1a2749;
    font-family: Nexa,sans-serif;
    padding: 20px 0;
    text-align: center;
}

.page-sub-footer__list li {
    margin-left: 0px;
    margin-right: 30px;
}


.page-sub-footer__copyright{
    float:right; 
}
 

.breadcrumbs__item a {
    font-weight: 700;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .module {
        padding-bottom: 40px;
    }
}

.headline-underlined, h2 {
    color: #005597;
    border-bottom-color: rgba(190, 193, 201, 0.5);
}

@media screen and (min-width: 768px) {
    .container {
        padding-left: 120px;
    }
}

@media screen and (min-width: 768px) {
    .module.-grey .maintext {
        padding-right: 220px;
        font-size: 18px;
        line-height: 28px;
    }
}

@media screen and (min-width: 768px) {
    section.module.-grey { 
        padding-bottom: 140px;
    }
}

ul {
    margin-inline-start: -12px;
} 

 .icon-phone {
    stroke: hsla(0,0%,100%,.5);
    display: inline-block;
    margin-right: 0.25em;
    transform: rotate( 90deg);
    transition: stroke .3s;
    vertical-align: bottom;
}

.button, input, optgroup, select, textarea {
    margin-top: 0.5em;
    border: solid 1px #d8dade;
    min-height: 36px;
}

label{
    padding-bottom:0.25em;
}

.govuk-input--width-2 {
    width:69px;
}
.govuk-input--width-4 {
    width: 101px;
}

.collapse { 
    visibility:hidden;
    height:0px;
}

span[data-toggle="collapse"] {
    text-decoration:underline;
    cursor:pointer;
}


[type=checkbox], [type=radio] {
    min-height: auto;
}

.validation-errors {
    font-family: Faustina; 
    font-stretch: normal;
    font-style: normal; 
    letter-spacing: normal;
    text-align: left;
    color: #b10e1e;
}

.errors-msg-large {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.27; 
}

.errors-msg-small {
    font-size: 12px;
    font-weight: normal;
    line-height: 2.33;
}

.d-continue-table td{
    vertical-align:top;
}



.govuk-input--width-75pc {
   width: 75%;
}
.govuk-input--width-50pc {
    width: 50%;
}

.govuk-input--width-25pc {
    width: 25%;
}

input.larger {
    width: 30px;
    height: 30px;
    margin: 0px;
}

.govuk-input.govuk-date-input__input{
text-align:center;
}


.radio_collapse_wrapper .govuk-label {
    font-weight: bold;
    max-width: 200px;
}

.radio_collapse_wrapper .govuk-label.govuk-checkboxes__label {
    max-width: max-content;
    padding-left: 20px;
}

.radio_collapse_wrapper .govuk-checkboxes__item {
    display: flex;
    align-items: center;
    margin-top: 0.5em;
}

.radio_collapse_wrapper .govuk-inset-text {
    background-image: linear-gradient( 180deg,#d3d3d3,#d3d3d3);
    background-position: 14px 0;
    background-repeat: no-repeat;
    background-size: 3px 100%;
    padding-left: 45px;
    padding-top: 10px;
    padding-bottom: 20px;
}
.d-flex {
    display: flex;
}

@media (max-width: 321px) {
    .radio_collapse_wrapper .govuk-radios--inline {
        display: block;
    }
}
@media (min-width: 321px) {
    .radio_collapse_wrapper .govuk-radios--inline {
        display: flex;
    }
}



.radio_collapse_wrapper .govuk-radios--inline .govuk-radios__item {
    padding-right: 20px;
}

.radio_collapse_wrapper .govuk-form-group {
    padding: 15px;
}

.radio_collapse_wrapper .govuk-radios__item {
    padding-top: 0px;
}

.rp-1 {
    padding-top: 5px !important;
}

.pt-1 {
    padding-top: 1em;
} 

.pt-2 {
    padding-top: 2em;
} 

.d-postcode-selector-wrapper .govuk-form-group{
    padding:0px;
}


text-align: left;


input[type="email"],
.d-fullname-entry {
    width: 75%;
}

.dpx-review-and-submit-wrapper .numbered-steps__detail {
     max-width:100%;
}


fieldset {
    padding: 0;
    border: none;
}

.pb-1{
    padding-bottom:1em;
}

.pb-2 {
    padding-bottom: 2em;
}

.govuk-fieldset__heading,
.govuk-fieldset__legend.govuk-fieldset__legend--l,
bold {
    font-weight: 700;
}


.govuk-fieldset__heading,
.govuk-fieldset__legend.govuk-fieldset__legend--l,
.govuk-label--l,
strong {
    font-size: 22px;
}





table.ReviewAndSubmitStep {
    width: 100%;
}

    table.ReviewAndSubmitStep td,
    table.ReviewAndSubmitStep th {
        padding: 20px 15px;
        font-size: 22px;
        text-align: left;
        vertical-align: top;
    }



.CheckAnswerWrapperGrid a {
padding-left:1rem;
}

.CheckAnswerWrapperGrid a,
.bodycopy a.d-step-link {
    color: #005597;
    display: inline-block;
    text-decoration: none;
    transition: all .3s;
    white-space: nowrap;
    font-family: Nexa,sans-serif;
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.29412;
    background-color: transparent;
}

    .CheckAnswerWrapperGrid a:after,
    .bodycopy a.d-step-link:after {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.319 7.828'%3E%3Cpath d='M1.414 6.414v0l2.493-2.5-2.493-2.5v0' fill='none' stroke='%23db2828' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E");
        background-position: 0 50%;
        background-repeat: no-repeat;
        content: "";
        display: inline-block;
        height: 0.5em;
        margin-left: 0.25em;
        transition: all .3s;
        width: 0.5em;
    }

    .CheckAnswerWrapperGrid a:hover:after,
    .bodycopy a.d-step-link:hover:after {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.319 7.828'%3E%3Cpath d='M1.414 6.414v0l2.493-2.5-2.493-2.5v0' fill='none' stroke='%231a2749' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E");
        background-position: 0.15em 50%; 
    }

.d-border-bottom-gainsboro {
    border-bottom: 1px solid gainsboro;
}


.CheckAnswerWrapperGrid {
    display: grid;
    grid-template-columns: auto 1fr;
    margin: 1em;
    line-height: 1.4;
    background-color: gainsboro;
    gap: 1;
}
.CheckAnswerWrapperGrid h3{
    display: grid;
    grid-template-columns: auto 1fr;
    margin: 1em;
    line-height: 1.4;
    background-color: gainsboro;
    gap: 1;
}
    .CheckAnswerWrapperGrid > * {
        background-color: #f6f8f9; 
    }

    .CheckAnswerWrapperGrid > div {
        padding: 20px 15px 20px 15px; 
        font-size: 22px;
        text-align: left;
        vertical-align: top;
    } 

    .CheckAnswerWrapperGrid .pageHeading {
        grid-column-start: 1;
        grid-column-end: 3; 
        margin-bottom: 1px;
    }

    .CheckAnswerWrapperGrid .navAmendHeading h3,
    .CheckAnswerWrapperGrid .navAmendHeading h2 {
        margin-block-end: 0px;
    }



    .CheckAnswerWrapperGrid .navAmendHeading,
    .CheckAnswerWrapperGrid .infoRow 
    {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .CheckAnswerWrapperGrid .sidebar {
        grid-column-start: 1;

    }
    .CheckAnswerWrapperGrid .checkdata {
        grid-column-start: 2; 
    }

    .CheckAnswerWrapperGrid .hrAbove {
        grid-column-start: 1;
        border-top: 1px solid gainsboro;
    }

.postcode-link-button {
    display: inline;
    padding: 0;
    border: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    background: transparent;
    color: currentColor;
    -webkit-appearance: none;
}

