@font-face {
    font-family: Inter;
    src: url("/ims/assets/ctx/1653f44e/fonts/inter/Inter-VariableFont.ttf") format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: Inter;
    background: url("/ims/assets/ctx/3f7874f6/images_provlife/bg-login.jpg") center/cover no-repeat;
}

hr {
    display: none;
}

p, input {
    margin-bottom: 0;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.brandedPublicContainer #header {
    max-width:  1170px;
    margin-inline: auto;
    margin-bottom: 155px;
    padding: 110px 12px 0;
}

#header-logo a {
    width: 379px;
    height: 56px;
    display: inline-block;
    background: url("/ims/assets/ctx/e8846f51/images_provlife/logo-white.png") center/cover;
}

#header-logo img {
    opacity: 0;
}

#header-box {
    display: none;
}

.footerContainer {
    margin-top: auto;
    padding: 100px 0;
    color: white;
    background-color: #040961;
}

.footerContainer :is(h2, h3, a) {
    color: white;
}

.footerContainer h2 {
    margin-bottom: 20px; 
    font-size: 35px;
    font-weight: 500;
    line-height: 1.5;
}

.footerContainer h3 {
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.footerContainer h3 i {
    display: none;
}

.footerContainer h3 button {
    padding: 0;
    color: white;
    font-family: inherit;
    font-size: inherit;
    font-weight: 200;
    text-transform: uppercase;
    background-color: transparent;
    border: none;
    cursor: default;
}

.footerContainer nav {
    display: flex;
    justify-content: space-between;
    gap: 10%;
}

.footerContainer nav div:first-child {
    margin-bottom: 100px;
    flex-grow: 2;
}

.footerContainer nav div:first-child i {
    margin-right: 1rem;
    width: 1.6rem;
    aspect-ratio: 1;
    color: #040961;
    font-size: 16px;
    line-height: 1.5rem;
    text-align: center;
    background-color: white;
    border-radius: 2px;
    opacity: 0.6;
    transition: opacity 0.15s ease-in-out;
}

.footerContainer nav div:first-child i:is(:hover, :active, :focus) {
    opacity: 1;
}

.footerContainer nav div:first-child i::before {
    vertical-align: -1px;
}

.footerContainer h3 + div a {
    font-size: 15px;
    line-height: 2.2;
    opacity: 0.6;
    transition: opacity 0.15s ease-in-out;
}

.footerContainer h3 + div a:is(:hover, :active, :focus) {
    opacity: 1;
}

.copyright {
    font-size: 16px;
    font-weight: 200;
}

.brandedLoginBox {
    width: 100% !important;
    max-width: 450px !important;
    margin: auto !important;
    margin-bottom: 150px !important;
    padding: 50px;
    float: none !important;
    position: relative;
    background-color: white;
    border-radius: 30px;
}

.showPwdLoginFormDiv {
    max-width: 100%;
}

.brandedLoginBox:has(#forgotPasswordForm) + .col-3 {
    display: none;
}

.brandedLoginBox::before,
.brandedLoginBox fieldset .hsection {
    content: 'Log in';
    margin-bottom: 35px;
    display: block;
    color: black;
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    border-bottom: none;
}

.brandedLoginBox form {
    margin-bottom: 0;
}

.brandedLoginBox input.form-control {
    min-width: 100%;
    height: 62px;
    margin-bottom: 0;
    padding: 24px 24px 4px !important;
    font-size: 16px;
    font-weight: 300;
    background-color: hsla(42 26% 93% / 0.5);
    border: none;
    border-radius: 16px;
    box-shadow: 0 3px 5px hsl(0 0% 0% / 0.25) inset;
}

.brandedLoginBox label {
    height: auto;
    padding: 0;
    display: inline-block;
    position: relative;
    z-index: 1;
    transform: translate(25px, 45px);
    font-size: 15px;
    font-weight: 500;
    opacity: .2;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

.brandedLoginBox:has(input[name="login"]:is(:not(:placeholder-shown), :focus)) label[for="login"],
.brandedLoginBox:has(.showPwdLoginFormDiv > input[name="password"]:is(:not(:placeholder-shown), :focus)) label[for="password"],
.brandedLoginBox:has(input[name="usernameField"]:is(:not(:placeholder-shown), :focus)) label[for="usernameField"],
.brandedLoginBox:has(input[name="emailField"]:is(:not(:placeholder-shown), :focus)) label[for="emailField"],
.brandedLoginBox:has(input[name="codeField"]:is(:not(:placeholder-shown), :focus)) label[for="codeField"],
.brandedLoginBox:has(input[name="answerField"]:is(:not(:placeholder-shown), :focus)) label[for="answerField"],
.brandedLoginBox:has(input[name="idField"]:is(:not(:placeholder-shown), :focus)) label[for="idField"],
.brandedLoginBox:has(input[name="codeFieldVal"]:is(:not(:placeholder-shown), :focus)) label[for="codeFieldVal"],
.brandedLoginBox:has(input[name="newPasswordField"]:is(:not(:placeholder-shown), :focus)) label[for="newPasswordField"],
.brandedLoginBox:has(input[name="repeatedPasswordField"]:is(:not(:placeholder-shown), :focus)) label[for="repeatedPasswordField"] {
    transform: scale(.85) translate(15px, 35px);
    opacity: .6;
}

.btn-primary {
    min-width: 100% !important;
    margin-top: 20px;
    padding: 20px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 16px;
    box-shadow: 0 4px 4px hsl(0 0% 0% / 0.25);
    transition: 0.15s ease-in-out;
    transition-property: color, background-color;
}

.btn-primary:is(:hover, :active, :focus) {
    color: #333F48;
    background-color: white;
}

.btn-primary[value="Log in"] {
    margin-top: 70px;
}

.showPwdLoginForm {
    left: auto;
    right: 30px;
    top: 18px;
    opacity: .3;
}

#loginForm + div {
    position: absolute;
    bottom: 135px;
}

#loginForm + div a {
    color: #EF3340;
    font-size: 14px;
    font-weight: 300;
}

#loginForm + div a:is(:hover, :active, :focus) {
    color: #333F48;
}

/* Forgot password */
.brandedLoginBox:has(form[action*="forgotpasswordform"])::before {
    display: none;
}

.brandedLoginBox fieldset .hsection {
    margin-bottom: 17px;
}

.forgotPasswordText {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 250;
}

.forgotPasswordText p:first-child {
    margin-bottom: 15px;
}

fieldset > p:nth-of-type(2) {
    translate: 10px 10px;
}

.brandedLoginBox form[action*="forgotpasswordform"] {
    margin-bottom: 0;
}

.brandedLoginBox:has(form[action*="forgotpasswordform"]) .btn-link {
    display: none;
}

.alert h4,
.alert li {
    margin-bottom: 5px;
    line-height: 1.3 !important;
}

/* Reset password */
:is(.forgotPasswordInfo, .resetPassword)::before {
    display: none;
}

.btn-link[href="/ims/login?r=false"] {
    margin: 20px auto 0;
}

#resetPasswordForm .col-3 {
    width: 100% !important;
}

#resetPasswordForm .col-3 + .col-3 {
    min-height: 0;
}

#resetPasswordForm .col-3 + .col-3 div {
    margin-top: 0 !important;
    margin-bottom: 10px;
}

.pwdChangeWell {
    width: 100%;
}

#resetPasswordForm .col-4:has(.pwdChangeWell) .pwdChangeTitle {
    margin-top: 1rem;
}

#resetPasswordForm .col-4:has(.pwdChangeWell) {
    width: 100%;
}

.g-recaptcha {
    margin-top: 10px;
}

.resetSubmit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .brandedPublicContainer #header {
        margin-bottom: 95px;
        padding-top: 35px;
    }

    #header-banner {
        padding: 0 25px;
    }

    #header-logo a {
        width: 379px;
    }

    .row:has(.brandedLoginBox) {
        padding: 0 35px;
    }

    .brandedLoginBox {
        padding: 35px;
        border-radius: 20px;
    }

    .brandedLoginBox::before,
    .brandedLoginBox fieldset .hsection {
        margin-bottom: 20px;
        font-size: 20px;
    }

    .brandedLoginBox input {
        border-radius: 12px !important;
    }

    #loginForm + div {
        bottom: 112px;
    }

    .btn-primary[value="Log in"] {
        margin-top: 55px;
    }

    .footerContainer {
        padding: 35px 35px 50px;
    }

    .footerContainer h2 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .footerContainer nav {
        display: block;
    }

    .footerContainer nav div:first-child {
        margin-bottom: 65px;
    }

    .footerContainer div:has(h3) {
        margin-bottom: 20px;
    }

    .footerContainer div:has(h3):last-child {
        margin-bottom: 60px;
    }

    .footerContainer h3 button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .footerContainer h3 i {
        display: inline-block;
    }

    .footerContainer h3:has(button:is(:active, :focus)) i {
        rotate: 180deg;
    }

    .footerContainer h3 + div {
        display: none;
        margin-bottom: 30px;
        padding: 15px 20px;
        background-color: #D9D9D6;
    }

    .footerContainer h3 + div a {
        color: #333f49;
        font-size: 16px;
        font-weight: 600;
        opacity: 1;
    }

    .footerContainer h3:has(button:is(:active, :focus)) + div {
        display: block;
    }
}
