﻿:root {
    --brand-purple: #6A27DB;
    --brand-purple-dark: #4600B4;
    --brand-purple-light: rgba(91, 74, 216, 0.1);
    --brand-purple-lightest: #F2F1F8;
    --left-background: #F0F1F1;
}

.page_content {
    display: flex;
    flex-direction: column;
}

.login-page {
    display: flex;
    width: 100%;
    flex-grow: 1;
}
.help-link {
    text-align: right;
    max-width: 700px;
    margin-top: -40px;
    margin-bottom: 14px;
}

.help-link a:hover {
    text-decoration: none;
}

.logo-img {
    position: absolute;
    top: 16px;
    left: 24px;
    z-index: 1;
}

.logo-img img {
    height: 32px;
}

.top-banner + .page .logo-img {
    top: 47px;
}

.top-banner + .page .page_content {
    padding-top: 32px;
}

.login-page_content {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
}

    .login-page_content .login-page_left {
        padding: 128px 60px 72px 60px;
        box-sizing: border-box;
        width: 400px;
        position: relative;
        background-color: var(--left-background);
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: auto 20%;
    }

.login-page a {
    color: var(--brand-purple);
    font-weight: 600;
}

.login-page .labeled-input_field:focus {
    border-color: var(--brand-purple);
}

.login-page .labeled-input_field:focus ~ .labeled-input_label {
    color: var(--brand-purple);
}

.login-page .labeled-select_field:focus ~ .labeled-select_label {
    color: var(--brand-purple);
}

.login-page .labeled-select_field:focus ~ .labeled-select_display {
    border-color: var(--brand-purple);
}

.login-page_left h1 {
    color: var(--brand-purple);
    padding-bottom: 32px;
    margin: 0;
}

.login-page_left p {
    margin-top: 0px;
    margin-bottom: 24px;
}

.login-page_left small {
    color: rgba(34,49,63,.7); 
}

.login-page_content .login-page_main {
    padding: 72px 7% 0 7%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.login-page_content .login-page_main_footer {
    box-sizing: border-box;
    padding: 14px 0 14px 0;
    width: 100%;
    max-width: 600px;
    color: rgba(34, 49, 63, 0.52);
}

.login-page_quote {
    display: none;
    font-size: 20px;
    line-height: 30px;
    color: var(--brand-purple);
    font-weight: 300;
}

.login-page_quote.is-migrationwiz, .login-page_quote.is-mspcomplete,
.login-page_left h1.is-migrationwiz, .login-page_left h1.is-mspcomplete {
    /* Don't display until the page is set to the corresponding product */
    display: none;
}

.login-page[data-product-type="MSPComplete"] .login-page_quote.is-mspcomplete,
.login-page[data-product-type="MSPComplete"] .login-page_left h1.is-mspcomplete {
    /* Reveal MSPComplete quotes when that product is selected */
    display: block;
}

.login-page[data-product-type="MigrationWiz"] .login-page_quote.is-migrationwiz,
.login-page[data-product-type="MigrationWiz"] .login-page_left h1.is-migrationwiz {
    /* Reveal MigrationWiz quotes when that product is selected */
    display: block;
}

.login-page_quote.is-displayed {
    display:block;
}

.login-page_quote_attribution {
    display: block;
    color: rgba(34, 49, 63, 0.98);
    padding-top: 8px;
    font-size: 14px;
    line-height: 16px;
}

.login-page_quote_attribution .job_title {
    font-size: 12px;
}

.login-form {
    width: 100%;
    max-width: 600px;
    flex-grow: 1;
}

.login-form h1 {
    margin-bottom: 16px;
}

.login-form p {
    margin-top: 0;
    margin-bottom: 16px;
}

.login-form .is-icon.i-eye {
    color: var(--brand-purple-dark);
    box-sizing: border-box;
    text-align: center;
    line-height: 30px;
    padding: 0;
    width: 32px;
    font-size: 16px;
}

.login-form .btn.is-icon.i-eye.is-flat:hover {
    background: var(--brand-purple-light);
}

.login-form .labeled-select:before {
    color: var(--brand-purple-dark);
}

.login-form_submit-button {
    width: 100%;
    margin-bottom: 25px;
}

.login-form .btn.is-primary {
    background: var(--brand-purple);
}

.login-form .btn.is-primary:hover {
    background: var(--brand-purple-dark);
}

.login-form_product-radio {
    cursor: pointer;
    height: 55px;
    width: 100%;
    position: relative;
    margin-bottom: 24px;
}

    .login-form_product-radio label {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        cursor: pointer;
        padding: 15px;
        border: 1px solid #C1CED2;
        border-radius: 4px;
        color: rgba(34, 49, 63, 0.52)
    }

    .login-form_product-radio input {
        /* Don't use display: none to hide the input, otherwise it won't be in the form's tabindex */
        opacity: 0.011;
    }

    .login-form_product-radio label {
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 80% auto;
    }

    .login-form_product-radio.is-migrationwiz label {
        background-image: url(/Styles/Account/product-radio_migrationwiz.svg);
    }

    .login-form_product-radio.is-mspcomplete label {
        background-image: url(/Styles/Account/product-radio_mspcomplete.svg);
    }

    .login-form_product-radio input[type="radio"]:checked + label {
        border: solid 1px var(--brand-purple);
        background-color: var(--brand-purple-lightest);
    }

    .login-form .checkbox_display {
        color: var(--brand-purple);
    }

    .login-form .checkbox_field:focus ~ .checkbox_display {
        border-color: var(--brand-purple);
    }
