*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;}
h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2;margin-bottom:.5em}
h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.125rem}h5{font-size:1rem}h6{font-size:.875rem}
p,ul,ol{margin-bottom:1em}
a{text-decoration:none}
img,video{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit;color:inherit;background:none;border:1px solid #ccc;border-radius:4px;padding:.4em .6em}
button{cursor:pointer}
table{width:100%;border-collapse:collapse}


p,h1,h2,h3,h4,h5,h6,a,select,span,input,button,label,textarea{
    color: #2c3345;
    margin-block-start: 0px;
    margin-block-end: 0px;
    font-family: arial, helvetica, sans-serif;
    line-height: 1.5;
}
a{
    font-size: 15px;
}

p{
    margin-top: 10px;
    font-size: 15px;
}

h2{
    font-size: 19px;
    font-weight: 100;
}

body{
    background-image: url(https://image.email.mypensionexpert.com/lib/fe2e11737364047a701271/m/1/9a382576-d662-4055-a93f-4ee150815538.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
}

html, body, .inner-body, .outer-body, .column-body, form{
    height: 100vh;
}

#form-form{
    display: flex;
    flex-direction: column;
}

.column-body{
    display: flex;
    flex-direction: column;
    place-items: center;
}

header img{
    height: auto;
    width: 321px;
    margin: 2.5em auto;
}



/*/////////////////////////Pre from page///////////////////////////////*/

.form-section{
    max-width: 770px;
    background-color: #fff;
    padding: 1em 3.5em;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.information{
    margin-bottom: 2em;
}

.table{
    padding: 0.5em 0;
}

.divider, .divider-big, .divider-dull{
    background-color: #000;
    height: 1px;
    margin: 1em 0;
}

.divider-big{
    margin: 2em 0;
    margin-bottom: 2.5em;
}

.three-buttons{
    display: flex;
    flex-wrap: nowrap;
    place-content: space-between;
    margin-bottom: 2.5em;
    gap: 2em;
}
.three-buttons a{
    color: #fff;
    padding: 1em;
}
#Form-Start{
    background-color: navy;
    cursor: pointer;
}
.three-buttons-2nd{
    background-color: purple;
}
.three-buttons-3rd{
    background-color: turquoise;
}
.divider-dull{
    margin: 0;
    background-color: #e6e6e6;
}

/*///////////////////////////////////Existing Customer////////////////////////////////*/

.radio-box{
    display: flex;
    justify-content: space-around;
    gap: 2em;
    flex-wrap: wrap;
}

.radio-box div{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.radio-button{
    transform: scale(1.5);
    margin: auto 0;
    margin-right: 6px;
    cursor: pointer;
}

.next-button-box, .back-next-button-box{
    padding: 1.7em 0 0.7em;
    margin-top: 2.5em;
    border-top: solid 1px #e6e6e6;
    display: flex;
    justify-content: end;
}

.next{
    color: #fff;
    padding: 0.8em 3.2em;
    background-color: #2e69ff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.next:hover{
        background-color: #0055ff;
}

/*///////////////////////////////////Topics////////////////////////////////*/

.checkbox-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    gap: 5px;
}

.checkbox-box input{
    transform: scale(1.5);
    margin-right: 5px;
    cursor: pointer;
}

.additional-info-box{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.additional-info-box textarea, .additional-info-box p{
    font-size: 17px;
}
.additional-info-box p{
    margin: 0 0 10px;
}
.additional-info-box textarea{
    width: 100%;
    height: 40px;
    max-height: 250px;
    min-height: 40px;
    resize: vertical;
}

.back-next-button-box{
    justify-content: space-between;
}

.back{
    color: #2c3345;
    padding: 0.8em 3.2em;
    background-color: #e5e7f2;
    font-size: 16px;
    cursor: pointer;
    transition: background-color  0.2s;
}

.back:hover{
    background-color: #ced0da;
}

/*///////////////////////////////////Pension Access////////////////////////////////*/

.pension-extra-info a{
    text-decoration: underline;
    color: #0044dd;
}

/*///////////////////////////////////Text Input Double////////////////////////////////*/

.text-input-double, .text-input-quad{
    display: flex;
    flex-direction: row;  
    text-align: left;
    justify-content: space-between;
    flex-wrap: wrap;
}

.text-input-double div, .text-input-quad div{
    width: 48%;
}

.text-input-quad div{
    margin-bottom: 10px;
}

.text-input-double div p .text-input-quad div p{
    font-size: 16px;
}

.text-input-quad div p{
    margin-bottom: 10px;
}

.text-input-double div input, .text-input-quad div input{
    width: 100%;
    font-size: 16px;
}

.text-input-quad .full-width-input{
    width: 100%;
}

.text-input-quad .full-width-input p{
    font-size: 15px;
    margin-bottom: 0;
}


/*////////////////////////Submit Button///////////////////////*/

.submit-button{
    color: #fff;
    padding: 0.8em 3.7em;
    background-color: #18bd5b;
    font-size: 16px;
    cursor: pointer;
    transition: background-color  0.2s;
    border-radius: 5px;
}

.submit-button:hover{
    background-color: #16aa52;
}

/*///////////////////////////Thank You/////////////////////////////////*/

#Thank-You-Page{
    display: flex;
    flex-direction: column;
}

#Thank-You-Page img{
    width: 155px;
    margin: 10px auto;
    margin-bottom: 25px;
}

#Thank-You-Page .thank-you-text h1{
    font-size: 50px;
}

#Thank-You-Page .thank-you-text p{
    font-size: 16px;
    opacity: 0.67;
    margin-bottom: 45px;
    line-height: 1.2;
}


/*///////////////////////////////////Footer////////////////////////////////*/

footer{
    padding: 2% 15% 2% 15%;
    text-align: left;
    background-color: #343434;
    border-top: 1px solid #fff;
    margin-top: 4em;
}
#form-form table:last-of-type{
    margin-top: auto;
}

.Thank-you table:last-of-type{
    margin-top: auto;
}

footer p{
    color: #fff;
}


/*/////////////////////////////responsive//////////////////////////////*/
@media screen and (max-width: 782px) {
    .form-section {
        margin: 0 6px;
    }
}
@media screen and (max-width: 690px) {
    .three-buttons{
        place-content: space-around;
        flex-wrap: wrap;
    }
} 
@media screen and (max-width: 700px) {
    .checkbox-box {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 500px) {
    .text-input-double div,.text-input-quad div {
        width: 100%;
    }
    .text-input-double{
        gap: 1em;
    }
}
@media screen and (max-width: 470px) {
    .checkbox-box {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 400px) {
    .form-section {
        padding: 1em 1.5em;
    }
}
@media screen and (max-width: 350px) {
    .back-next-button-box {
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1em;
    }
}




.hidden{
    display: none;
}

.red{
    color: red;
}