/* CSS RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

html, body { height: 100%; }

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

h1, h2,
h3, h4 {
    text-wrap: balance;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

textarea:not([rows]) {
    min-height: 10em;
}

:target {
    scroll-margin-block: 5ex;
}

/* FONTS */
@font-face {
    font-family: 'SFProText';
    src: url('/_assets/fonts/subset-SFProText-Light.eot');
    src: url('/_assets/fonts/subset-SFProText-Light.eot?#iefix') format('embedded-opentype'),
    url('/_assets/fonts/subset-SFProText-Light.woff2') format('woff2'),
    url('/_assets/fonts/subset-SFProText-Light.woff') format('woff'),
    url('/_assets/fonts/subset-SFProText-Light.ttf') format('truetype'),
    url('/_assets/fonts/subset-SFProText-Light.svg#SFProText-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProText';
    src: url('/_assets/fonts/subset-SFProText-Regular.eot');
    src: url('/_assets/fonts/subset-SFProText-Regular.eot?#iefix') format('embedded-opentype'),
    url('/_assets/fonts/subset-SFProText-Regular.woff2') format('woff2'),
    url('/_assets/fonts/subset-SFProText-Regular.woff') format('woff'),
    url('/_assets/fonts/subset-SFProText-Regular.ttf') format('truetype'),
    url('/_assets/fonts/subset-SFProText-Regular.svg#SFProText-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProText';
    src: url('/_assets/fonts/subset-SFProText-Medium.eot');
    src: url('/_assets/fonts/subset-SFProText-Medium.eot?#iefix') format('embedded-opentype'),
    url('/_assets/fonts/subset-SFProText-Medium.woff2') format('woff2'),
    url('/_assets/fonts/subset-SFProText-Medium.woff') format('woff'),
    url('/_assets/fonts/subset-SFProText-Medium.ttf') format('truetype'),
    url('/_assets/fonts/subset-SFProText-Medium.svg#SFProText-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProText';
    src: url('/_assets/fonts/subset-SFProText-Semibold.eot');
    src: url('/_assets/fonts/subset-SFProText-Semibold.eot?#iefix') format('embedded-opentype'),
    url('/_assets/fonts/subset-SFProText-Semibold.woff2') format('woff2'),
    url('/_assets/fonts/subset-SFProText-Semibold.woff') format('woff'),
    url('/_assets/fonts/subset-SFProText-Semibold.ttf') format('truetype'),
    url('/_assets/fonts/subset-SFProText-Semibold.svg#SFProText-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

/* ROOT STYLES */

:root {

    --font-size: 16px;
    --font-family: 'SFProText', sans-serif;

    --bg-main: #0100a4;
    --bg-form: #fff;

    --light-grey: #dcddde;
    --dark-grey: #565757;
    --dark-grey-faded: #a0a1a1;

    --blue: #033cd0;
    --blue-hover: #2059ed;

    --form-padding-lr:4.375rem;
    --form-padding-tb:5rem;

}

html { font-size: var(--font-size); }
body { font-size: 1rem; font-family: var(--font-family); font-weight: 300;  letter-spacing: 0.45px; }

h2,p,input,textarea,select,button { font-family: var(--font-family); }

/* Default */

body {
        background-color: #072146;
        display: flex;
        flex-flow:row wrap;
        justify-content: space-between;
}

/* HEADER */

.completed header,
.complete header {
    background: url(https://pb-investment.com/static/img/parker-blackwood-advisers-cta-01.webp);
    background-size: cover;
    background-position: 70% 0%;
    position: relative;
    order:2;
}

.completed img.logo {
    height: 2rem;
    margin-bottom: 5rem;
}


.welcome header > * { position: relative; }

.welcome header h1 {
    font-family: "SFProText",sans-serif;
    font-weight: 300;
    color: #fff;
    margin-top: auto;
    font-size: 2rem;
    line-height: 0.9;
    margin-bottom: 0;
}

.welcome header h2 {
    font-size: 1rem;
    color: #dcddde;
    line-height: 1.3;
    margin-top: 0;
    font-weight: 300;
}

.steps header {
    color: #fff;
    flex-grow: 1;
    background-size: cover;
    background-position: 54% 0%;
    position: relative;
    height: 100%;
    width: 55%;
    right: 0;
    top: 0;
    padding: 7.375rem;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
}

.welcome header {
    color: #fff;
    flex-grow: 1;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    padding: 3.375rem 6.375rem;
    box-sizing: border-box;
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
}


header hgroup {
    position:sticky;
    top: 4rem;
}


header hgroup img {
    height: 2.5rem;
    margin-bottom: 5rem;
}

header button {
    background-color: #005CFF;
}

header button:hover {
    background-color: #006fff;
}

h1 {
    font-family: "SFProText",Serif;
    font-weight: 300;
    margin-top: 0;
    font-size: 3.438rem;
    line-height: 0.9;
    margin-bottom: 4.375rem;
}

header h2 {
    font-size: 1rem;
    color: var(--light-grey);
    line-height: 1.3;
    margin-top: 0;
}

body::before {

    content:'';
    position:fixed;
    width: 100%;
    min-height: 100%;
    height: auto;
    left: 0;
    top: 0;

    background: linear-gradient(202deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
    background-size: 400% 400%;

    -webkit-animation: anim_bg_01 30s ease infinite;
    -moz-animation: anim_bg_01 30s ease infinite;
    -o-animation: anim_bg_01 30s ease infinite;
    animation: anim_bg_01 30s ease infinite;
}

@-webkit-keyframes anim_bg_01 {
    0%{background-position:0% 75%}
    50%{background-position:100% 26%}
    100%{background-position:0% 75%}
}
@-moz-keyframes anim_bg_01 {
    0%{background-position:0% 75%}
    50%{background-position:100% 26%}
    100%{background-position:0% 75%}
}
@-o-keyframes anim_bg_01 {
    0%{background-position:0% 75%}
    50%{background-position:100% 26%}
    100%{background-position:0% 75%}
}
@keyframes anim_bg_01 {
    0%{background-position:0% 75%}
    50%{background-position:100% 26%}
    100%{background-position:0% 75%}
}

/* MAIN */

main {
    position: relative;
    background-color: var(--bg-form);
    width: 55%;
    border-radius:0;
}

main .container {
    padding: 11.563rem 10.625rem;
}

main h3 {
    font-family: "SFProText",Serif;
    font-size: 3rem;
    margin-top: 0;
    font-weight: 300;
}

.welcome main .container {
    padding: 0 0;
    min-height: 100%;
    display: flex;
    align-items: center;
    flex-flow: column;
    height: 100%;
    width: 70%;
    justify-content: space-between;
}

.welcome .container-form {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.welcome .multiple-forms-container .active {
    display: flex;
    flex-flow: column;
}

.welcome .multiple-forms-container form {
    display: flex;
    flex-flow: column;
    align-content: space-between;
    flex-grow: 1;
}
.welcome .multiple-forms-container .form {
    flex-grow: 1;
    display: flex;
    padding-top: 3rem;
}

.welcome .form-row.action-buttons {
    margin-bottom: 0;
    margin-top: auto;
}

.welcome main h3 {
    font-family: "SFProText",Serif;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.form-title {
    border-bottom: 1px solid #FDF0EE;
    padding-bottom: 3rem;
}

.welcome .form-title p {
    margin-top: 0;
    line-height: 1.5;
    font-size: .85rem;
    margin-bottom: 0rem;
    font-weight: 300;
}

.welcome .multiple-forms-container {
    display: flex;
    flex-grow: 1;
}

.welcome img.logo {
    height: 2rem;
    margin-bottom: 5rem;
}

.welcome main {
    display: flex;
    flex-flow: column;
    padding: 0;
    width: 35%;
    border-radius: .5rem;
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
    align-items: center;
    box-sizing: border-box;
    overflow-y: auto;
    margin-top: 0rem;
}

.welcome .fields {
    margin-top: auto;
    margin-bottom: auto;
}

body.welcome {
    background: #072146;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    background-image: url('/_assets/img/welcome.webp');
    background-position: center;
    background-size: cover;
    padding-top: 14rem;
}

body.welcome::after {
    background: linear-gradient(0deg,rgba(7, 33, 70, 0.95) 0%, rgba(7, 33, 70, 1) 80%);
    content: '';
    position: fixed;
    left: 0;
    top: 00;
    width: 100%;
    height: 100%;
}


.welcome header img {
    height: 2.5rem;
}

.welcome header div {
    display: flex;
    flex-grow: 1;
    border-left: 1px solid rgba(255,255,255,0.2);
    margin-left: 4rem;
    justify-content: space-between;
    padding-left: 4rem;
}

.steps h1 {
    margin-bottom: 1rem;
}

body.steps header {
    width: 25%;
    padding:0;
    min-width: 27rem;
}

.fix {
    position: fixed;
    width: 25%;
    min-width: 27rem;
    padding: 3.5rem 3.375rem;
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.fix .form-row.action-buttons {
    margin-bottom: 0;
}

.steps header hgroup img {
    height: 2.5rem;
    margin-bottom: 7rem;
}

body.completed header .form-row.extra-buttons a {
    color: #fff;
}

body.completed header .form-row.extra-buttons {
    margin-top: auto;
}

body.steps main {
    width: 75% !important;
    border-radius: .5rem;
    flex-grow: 1;
    max-width: calc(100% - 35rem);
    position: fixed;
    right: 2rem;
    top: 2rem;
    height: calc(100% - 4rem);
    overflow-y: auto;
}



body.steps main > .container {
    padding: 5rem 4.375rem;
}

.steps .multiple-forms-container>div.active {
    display:flex;
}
.steps .multiple-forms-container>div {
    flex-flow: row wrap;
    justify-content: space-between;
}

.hide {
    display: none;
}

.steps main h3 {
    font-size: 2.25rem;
    font-family: "SFProText",Serif;
    margin-top: 0;
    font-weight: 300;
    margin-bottom: 2.25rem;
    color: #072146;
}

