body {
    margin:0;
}

.form {
    min-height: calc(100vh - 150px);
    padding-bottom: 50px;
}

#container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*HEADER*/
.header {
    height: 163px;
    border-bottom: 0.5px solid #CBCBCB;
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

.logo-image {
    margin-top: 21px;
    height: 125px;
    width:272px;
}

/*Page Title*/
.login-title {
    margin-bottom: 36px;
}

.reset-title {
    margin-bottom: 22px;
}

.login-subtitle{
    color: #122030;
    font-size: 24px;
    font-weight: normal;
    font-family: 'FS Me', sans-serif;
    margin-bottom: 56px;

}

h1 {
    color: #470076;
    text-align: center;
    font-size: 32px;
    letter-spacing: 0;
    margin: 0;
    font-weight: bold;
    font-family: 'FS Me Bold', sans-serif !important;
}

.description-text {
    max-width: 614px;
    text-align: center;
    font-size: 18px;
    line-height: 25px;
    color: #122030;
    margin: 0 16px 25px;
    font-weight: 400;
}

.login-description-text {
    max-width: 684px;
    margin-bottom: 18px;
}

.new-pass-desctiption-text {
    max-width: 367px;
}

.redirect-text {
    color: #122030;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0;
    margin: 0;
    padding: 0 20px;
    font-family: 'FS Me', sans-serif !important;
}

.text {
    color: #122030;
    font-size: 20px;
    font-family: 'FS Me', sans-serif !important;
}

/*Form Labels*/

label {
    text-align: left;
    font-size: 18px;
    letter-spacing: 0px;
    color: #122030;
}

.label-container, 
.input-container, 
.forgot-password-link {
    width: 412px;
}

.label-container {
    margin-bottom: 11px;
}

/*Form inputs*/
.input-container.reset-password {
    margin-bottom: 25px;
}

.input-container {
    position: relative;
}

.input {
    height: 52px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    width: 412px;
    outline: none;
    text-align: left;
    font-size: 18px;
    letter-spacing: 0px;
    color: #122030;
    -webkit-appearance: initial;
    padding: 8px 35px 9px 12px;
    margin-left: initial;
    margin-right: initial;
    box-sizing: border-box;
}

.input:focus {
    box-shadow: 0 0 3px #0070d2;
}

.input-description {
    text-align: left;
    font-size: 15px;
    letter-spacing: 0px;
    color: #122030;
    white-space: nowrap;
}

.username-input {
    margin-bottom: 25px;
    padding-right: 12px;
}

.email-input {
    margin-bottom: 33px;
    padding-right: 12px;
}

.password-input {
    margin-bottom: 25px;
}

.password-input.input_error {
    margin-bottom: 2px;
}

.reset-password-input {
    margin-bottom: 7px;
}

::placeholder {
    color: #CBCBCB;
    font-size: 15px;
    opacity: 1;
}

.old-password-hidden {
    display: none;
}

/*Forgot password link*/
.forgot-password-container {
    margin-bottom: 31px;
    width: 412px;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.forgot-password-link, .link-back {
    text-align: left;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0px;
    color: #036C80;
    outline: none;
    width: fit-content;
}

.link-back{
    background-color: #fff;
    border: none;
    font-size: 18px;
    font-family: 'FS Me', sans-serif;
}

/*Eye button*/
a.eye-button, 
.eye-button_off {
    position: absolute;
    top: 15px;
    right: 0;
    outline: none;
}

.eye-button svg {
    outline: none;
}

/*Errors */
.input_error {
    background: #FFD8D8;
}

.error-text {
    width: 412px;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0px;
    color: #FF5858;
    margin-bottom: 10px;
}

/*Visualforce page message*/
.messageText span h4 {
    display: none;
}

.messageText {
    text-align: center;
    font-size: 15px;
    color: #FF5858;
    margin: 0 15px 16px;
}

/*Buttons*/
.login-button {
    height: 73px;
    width: 412px;
    font-weight: 700;
    box-shadow: 0px 3px 5px #0000001A;
    background: #470076 0% 0% no-repeat padding-box;
    border: none;
    border-radius: 38px;
    cursor: pointer;
    font-size: 22px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #FFFFFF;
    outline: none;
    transition: all .3s;
    margin-bottom: 48px;
    -webkit-appearance: initial;
}

.nhs-login-button {
    height: 73px;
    width: 412px;
    font-weight: 700;
    box-shadow: 0px 3px 5px #0000001A;
    background: #005EB8 0% 0% no-repeat padding-box;
    border: none;
    border-radius: 38px;
    cursor: pointer;
    font-size: 22px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #FFFFFF;
    outline: none;
    transition: all .3s;
    margin-bottom: 48px;
    -webkit-appearance: initial;
}

/* .login-button:hover {
    background-color: #e7497d;
} */

.nhs-login-button:hover {
    background-color: #005499;
}

.login-button_clinician {
    background-color: #470076;
}

.login-button_clinician:hover {
    background-color: #DCC0F9;
}

/*Redirect links*/
.portal-redirect-link {
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0px;
    color: #036C80;
    outline: none;
    width: fit-content;
}

.portal-redirect-link:hover {
    text-decoration: underline;
}

/*Login page Divider Line*/
.divider {
    display: flex;
    align-items: center;
}

.divider-line {
    border-bottom: 1px solid #CBCBCB;
    width: 150px;
}

.divider-text {
    text-align: left;
    font-size: 18px;
    line-height: 54px;
    letter-spacing: 0px;
    color: #036C80;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

.bottom-line {
    color: #CBCBCB;
    width: 400px;
    margin: 30px;
 }

@media (max-width: 600px) {
    .form {
        min-height: inherit;
        padding-bottom: 130px;
    }

    .input-container {
        width: 320px;
    }

    .login-button {
        width: 360px;
    }

    .nhs-login-button {
        width: 360px;
    }

    .forgot-password-container {
        width: 320px;
    }

    .label-container {
        width: 320px;
    }

    .input {
        width: 320px;
    }

    .logo-image {
        margin-top: 17px;
        height: 42px;
        width:92px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-title {
        margin-bottom: 26px;
    }

    .login-subtitle,
    h1,
    .login-title.login-title_clinician:after {
        display: none;
    }

    .login-title.login-title_clinician h1,
    .login-subtitle.login-subtitle_clinician {
        display: block;
    }

    .header {
        height: 70px;
        margin-bottom:14px;
    }
    
    .header.header_new-password {
        margin-bottom: 25px;
    }

    .login-title::after {
        content: "Welcome to the portal";
        display: block;
        color: #470076;
        text-align: center;
        font-size: 32px;
        letter-spacing: 0;
        margin: 0;
        font-weight: bold;
        font-family: 'FS Me Bold', sans-serif !important;
    }
}

@media (max-width: 370px) {
    .login-button {
        width: 300px;
    }
}

@media (max-width: 340px) {
    .input,
    .input-container,
    .label-container,
    .forgot-password-container {
        width: 300px;
    }
}