﻿body {
    margin: 0;
    font-family: Graphik;
}

@supports (display: grid) {
    .login-container {
        display: grid;
        grid-template-columns: 250px 0.75fr 1.5fr 300px;
        grid-template-rows: 5px 75px 1fr 1fr 1fr 0.5fr;
        height: 100vh;
    }
}

@supports not (display: grid) {
    /* Display mobile experience */
    .login-container {
        display: block;
    }
}

.login-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    grid-template-rows: repeat(12, 1fr);
    height: 100vh;
}

.login-container {
    background-color: rgba(241,248,254,.2); /*#F1F8FE;*/
}

    .login-container > div {
        
    }

.override-full {
    grid-template-rows: 1fr !important;
}

.h-full {
    height: 100% !important;
}

.w-full {
    width: 100% !important;
}

.qr-code {
    display: grid;
    justify-items: center;
}

.p-25 {
    padding: 25px;
}

/* QR Code Example -- TODO: remove if necessary */
hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

#uri {
    color: gray;
}

    #uri:focus {
        color: inherit;
    }

#app {
    padding: 10px 20px;
    background-color: white;
    border-top: 15px solid #f2f2f2;
    border-bottom: 15px solid #f2f2f2;
    font-family: 'Roboto', sans-serif;
}

#app_code {
    color: #4285f4;
    font-weight: 500;
    font-size: xx-large;
}

#app_label {
    color: #757575;
}

.left-hello {
    width: auto;
    height: 388.75px;
    position: absolute;
    z-index: -1;
    left: 200px;
    top: 25%;
}

.right-hello {
    width: auto;
    height: 406.25px;
    position: absolute;
    z-index: -1;
    right: 215px;
    top: 25%;
}

.center-container {
    grid-row: 2/12;
    grid-column: 2;
    z-index: 100;
    max-height: 1024px;
    margin-top: 25px;
}

.center-container {
    display: grid;
    grid-gap: 0.5em;
    grid-template-rows: 10fr 1fr;
}

    .center-container.full {
        min-width: 744px;
        max-width: 1024px;
    }

.list-style-decimal {
    display: list-item;
    list-style: decimal;
    margin-bottom: 15px;
}

.login-content {
    display: grid;
    grid-gap: .75em;
    grid-template-rows: repeat(6, 1fr);
}

    .login-content.sm {
        grid-template-rows: 1fr 1fr 1fr 1fr 100px 60px 50px;
    }

.p-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.h-50p {
    height: 50px;
}

.gap-none {
    grid-gap: 0em !important;
}

.grid-row-1 {
    grid-template-rows: 1fr !important;
}

.my-25 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.my-35 {
    margin-top: 35px;
    margin-bottom: 35px;
}

.pr-40 {
    padding-right: 40px;
}

.login-content {
    background-color: #fff;
    border: 1px solid #D9E2EC;
    border-radius: 6px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.1);
    min-width: 400px;
}

    .login-content.normalized {
        grid-template-rows: 110px 1fr;
    }

.p-4 {
    padding: 1.5rem !important;
}

.text-center {
    text-align: center !important;
}

.logo {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

    /* Care4 Logo */
    .logo input {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: center;
        justify-self: center;
        width: 175px;
        padding-top: .4em;
        margin-top: 1em;
    }

.remember-me {
    display: flex;
    padding-top: 10px;
    width: 80%;
    max-width: 350px;
    justify-self: center;
    align-items: center;
}

    .remember-me > label {
        padding-left: 5px;
    }

.email-container, .pwd-container {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.email-container, .pwd-container, .sign-in-container {
    width: 80%;
    max-width: 350px;
    justify-self: center;
}

    .email-container > label, .pwd-container > label {
        align-self: end;
        font-family: Graphik-Semibold;
        font-size: 16px;
        color: #1d3a58;
        margin-bottom: 3px;
        letter-spacing: 0.03em;
    }

.email, .pwd {
    border: 2px solid #627d98;
    border-radius: 4px;
    padding: 1em;
    font-size: 1em;
    font-family: Graphik;
    color: #102a43;
    letter-spacing: 0.02em;
}

    .email:hover, .email:active, .email:focus, 
    .pwd:hover, .pwd:active, .pwd:focus {
        border-color: #2680c2;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

.forgot-password,
.forgot-username {
    font-size: 14px;
    float: right !important;
    font-family: Graphik;
    text-decoration: none !important;
    color: #4098d7;
    background: none;
    border: none;
    padding-right: 0px;
    margin: 0px;
    cursor: pointer;
}

    .forgot-password:active, .forgot-password:focus,
    .forgot-username:active, .forgot-username:focus {
        outline: auto !important;
    }

    .forgot-password:hover,
    .forgot-username:hover {
        color: #2680c2;
    }

.sign-in-container {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-gap: .5em;
}

.caremodels {
    color: #486581 !important;
    font-family: Graphik;
    font-size: 1em;
    font-style: normal;
    border: 2px solid #627d98;
    border-radius: 4px;
    height: 35px !important;
    align-self: center;
    vertical-align: central;
    padding: 6px 6px 6px 13px;
    cursor: pointer;
}

    .caremodels:hover {
        border-color: #2680c2;
    }

.max-height {
    max-height: 50px;
    cursor: default !important;
}

.login, .send {
    grid-row: 2/3;
}

.login, .send {
    border: none !important;
    border-radius: 4px;
    color: #fff;
    font-family: Graphik-Semibold;
    font-size: 16px;
    white-space: nowrap;
    letter-spacing: 0.03em;
    cursor: pointer;
    background-color: #2680c2;
}

.login {
    background: url('../Resources/closed-lock.png') left 38% top 45% no-repeat;
    background-color: #2680c2;
    background-size: 18px 20px;
    text-align: center;
    padding-left: 9%;
}

    .login:hover {
        background-image: url('../Resources/open-lock.png');
    }

    .login:hover, .send:hover {
        background-color: #0f609b;
        box-shadow: 0 4px 6px rgba(0,0,0,.2);
        /*box-shadow: 0 1px 3px rgba(0,0,0,.15);*/
    }

.verify {
    grid-row: 2/3;
}

.verify {
    border: none !important;
    border-radius: 4px;
    color: #fff;
    font-family: Graphik-Semibold;
    font-size: 16px;
    white-space: nowrap;
    letter-spacing: 0.03em;
    cursor: pointer;
    /*background: url('../Resources/closed-lock.png') left 38% top 45% no-repeat;*/
    background-color: #2680c2;
    /*background-size: 18px 20px;*/
    text-align: center;
    /*padding-left: 9%;*/
}

    .verify:hover {
        background-color: #0f609b;
        /*background-image: url('../Resources/open-lock.png');*/
        box-shadow: 0 4px 6px rgba(0,0,0,.2);
        /*box-shadow: 0 1px 3px rgba(0,0,0,.15);*/
    }

.resend-code {
    grid-row: 1;
}

.resend-code {
    border: none !important;
    border-radius: 4px;
    color: #fff;
    font-family: Graphik-Semibold;
    font-size: 16px;
    white-space: nowrap;
    letter-spacing: 0.03em;
    cursor: pointer;
    background-color: #2680c2;
    text-align: center;
    color: rgb(38, 128, 194);
    background-color: white;
}

    .resend-code:hover {
        /*background-color: #0f609b;*/
        box-shadow: 0 4px 6px rgba(0,0,0,.2);
    }       

.closed-lock {
    background: url('../Resources/closed-lock.png') no-repeat center center;
}

*:focus {
    outline: none;
}

#App.LabelWarningMessage_Container {
    justify-self: center;
    margin: 15px;
}

.warning-message {
    text-align: center;
    border: solid 2px #d5351f; /*#cbd2d9;*/
    border-radius: 4px;
    padding: 1em;
    margin-left: 3em;
    margin-right: 3em;
    margin-bottom: 1em;
    margin-top: 1em;
    background-color: #fff3ef;
    color: #334e68;
}

.success-message {
    text-align: center;
    border: solid 2px #d5351f; /*#cbd2d9;*/
    border-radius: 4px;
    padding: 1em;
    margin-left: 3em;
    margin-right: 3em;
    margin-bottom: 1em;
    margin-top: 1em;
    background-color: #fff3ef;
    color: #334e68;
}

.extra-container {
    width: 80%;
    max-width: 350px;
    justify-self: center;
    /*align-self: center;*/
    margin-top: 10px;
}

    .extra-container > p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        font-family: Graphik,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
        text-rendering: optimizeLegibility;
        text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        font-size: 13px;
        text-align: center;
        /*font-size: 12px;*/
        color: #525257;
        line-height: 1.2;
    }

.third-party {
    /*    display: grid;
    grid-template-rows: 1fr;*/
    display: flex;
    height: 50px;
    justify-content: center;
}

    .third-party > div {
        display: grid;
        grid-template-rows: 1fr;
        align-self: end;
        justify-self: center;
    }

    .third-party > div {
        background-color: #fff;
        border-radius: 6px;
        /*padding: 1em;*/
    }

        .third-party > div:hover {
        /*    border: 1px solid #D9E2EC;
            box-shadow: 0 1px 3px rgba(0,0,0,.15);
            cursor: pointer;*/
            
            /*box-shadow: 0 4px 6px rgba(0,0,0,.1);*/
            /*background-color: rgba(98,176,232, .1);*/
        }

        .third-party div img {
            align-self: end;
            justify-self: center;
        }

.help {
    display: grid;
    grid-template-rows: 1fr;
}

    .help > div {
        align-self: center;
        justify-self: center;
        font-size: 14px;
        font-family: Graphik;
        color: #486581;
    }

    .help div a {
        text-decoration: none !important;
        color: #4098d7;
    }

        .help div a:hover {
            color: #2680c2;
        }

.footer {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 10px;
}

.footer {
    margin-top: 10px;
}

    .footer > div {
        align-self: center;
        justify-self: center;
        font-size: 14px;
        font-family: Graphik;
        color: #627d98;
    }

    .footer div a {
        text-decoration: none !important;
        color: #4098d7;
    }

        .footer div a:hover {
            color: #2680c2;
        }

/* Media Queries for Mobile Experience */

@media only screen and (max-width: 1444px) {
    .login-container:not(.no-include) {
        grid-template-columns: .5fr 400px .5fr;
    }

    .forgot-password {
        font-size: 12px;
    }

    .right-hello {
        right: 55px;
    }
    
    .left-hello {
        left: 50px;
    }
}

@media only screen and (max-width: 1012px) {
    .right-hello {
        right: 0px;
    }

    .left-hello {
        left: -173px;
    }
}

@media only screen and (max-width: 800px) {
    .login-container {
    }
}

