@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-BoldItalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Thin-webfont.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-ThinItalic-webfont.woff') format('woff');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light-webfont.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-LightItalic-webfont.woff') format('woff');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium-webfont.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}



html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Roboto, sans-serif;
}
input, button {
    font-family:inherit;
}
:root {
    --p2e--light-color: #E2E3EC;
    --p2e--dark-color: #383C4D;
    --p2e--blue-color: #47ABFF;
    --p2e--success-color: #39B334;
    --p2e--success-text-color: #FFF;
    --p2e--warn-color: #D9325F;
    --p2e--default-button-color: #BBC5D7;
    --p2e--base-background: #F1F1F1;
    --p2e--image-proportion: 60%;
    --p2e--form-proportion: 40%;
    --p2e--login-separator-color: #CCC;
    --p2e--sso-color: #EC932B;
    --p2e--mfa-grey-color: #999999FF;
}

/* ----- BEGIN COMMON PAGE ----- */
.pointer {
    cursor: pointer;
}
.content-container {
    display: flex;
    height: 100%;
    overflow: auto;
    background-color: var(--p2e--base-background);
}

.image-container {
    background-image: url('../images/login.jpg');
    background-size: contain;
    background-repeat: round;
    flex: 0 0 var(--p2e--image-proportion);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.logo-words-container {
    margin: 25vh auto auto;
    width: fit-content;
}

.logo-words {
    font-size: 38px;
    font-weight: bold;
    color: var(--p2e--light-color);
    line-height: 38px;
    text-align: center;
}

.logo-text {
    color: var(--p2e--light-color);
    font-size: 14px;
    text-align: center;
}

.border-line {
    height: 36px;
    background-color: var(--p2e--blue-color);
    width: 2px;
    margin: 0 20px 0 20px;
    display: inline-block;
}

.footer-rights {
    color: var(--p2e--light-color);
    text-align: center;
    margin-bottom: 30px;
}

.login-container {
    background-color: var(--p2e--base-background);
    flex: 0 0 var(--p2e--form-proportion);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.login-wrapper {
    width: 300px;
    margin: 25vh auto auto;
}

.welcome-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
}

.border-line-horizontal {
    height: 2px;
    background-color: var(--p2e--blue-color);
    width: 65px;
    display: block;
}

.welcome {
    font-size: 20px;
    color: var(--p2e--blue-color);
    font-weight: 500;
}

.powering-wrapper {
    margin-top: 20px;
}

.powering-text {
    font-size: 19px;
    color: #84817d;
    text-align: justify;
}

.errors-container {
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.errors-wrapper {
    height: 60px;
    width: 100%;
    font-weight: bold;
    color: var(--p2e--warn-color);
    font-size: 14px;
    text-align: center;
}

.input-field {
    width: calc(100% - 4px);
    display: block;
    border: none;
    line-height: 20px;
    font-size: 16px;
    color: var(--p2e--dark-color);
    background-color: var(--p2e--base-background);
}

input:focus, textarea:focus, button:focus {
    outline: none;
}

.input-underline {
    background-color: var(--p2e--blue-color);
    height: 1px;
    width: 100%;
    display: block;
    margin-top: 1px;
}

.input-field:focus + .input-underline {
    height: 2px;
    margin-top: 0;
}

.password-input {
    margin-top: 50px;
}

.forgot-wrapper {
    text-align: right;
    margin-top: 10px;
}

.forgot-password {
    font-size: 12px;
    line-height: 15px;
    color: var(--p2e--dark-color);
}

.forgot-password:visited {
    color: var(--p2e--dark-color);
}

.submit-container {
    margin-top: 40px;
}

.submit-button {
    width: 100%;
    background-color: var(--p2e--default-button-color);
    display: inline-block;
    color: var(--p2e--dark-color);
    height: 30px;
    border: none;
    border-radius: 15px
}
.submit-button:hover {
    opacity: 0.8;
}

.footer-links {
    margin-bottom: 10vh;
    text-align: center;
}

.footer-sso {
    margin-bottom: 2vh !important;
}

.footer-links a {
    color: var(--p2e--dark-color);
    text-decoration: none;
}


@media screen and (max-height: 769px) {
    .logo-words-container,
    .login-wrapper {
        margin: 5vh auto auto;
    }
}

@media screen and (max-height: 600px) {
    .errors-container {
       height:  85px;
    }
}

@media screen and (max-height: 500px) {
    .logo-words-container,
    .login-wrapper {
        margin: 20px auto auto;
    }

    .errors-container {
        height: 80px;
    }

    .powering-text {
        font-size: 14px;
        line-height: 14px;
        text-align: center;
    }

    .submit-container {
        margin-top: 20px;
    }

    .footer-links {
        margin-bottom: 3px;
    }
}


@media screen and (max-width: 1367px) {
    .image-container {
        flex: 0 0 67%
    }

    .login-container {
        flex: 0 0 33%;
    }
}

@media screen and (max-width: 1025px) {
    .image-container {
        flex: 0 0 var(--p2e--image-proportion);
        background-size: cover;
    }

    .login-container {
        flex: 0 0 var(--p2e--form-proportion);
    }

    .border-line {
        height: 30px;
        margin: 0 10px 0 10px;
    }

    .logo-words {
        font-size: 32px;
    }

    .logo-text {
        font-size: 12px;
    }
}

@media screen and (max-width: 769px) {
    .image-container {
        display: none;
    }

    .login-container {
        flex: 0 0 100%;
    }
}

/* ----- END COMMON PAGE ----- */

/* ----- BEGIN LOGIN PAGE ----- */
.login {
    color: var(--p2e--success-text-color);
    background-color: var(--p2e--success-color);
}
.login-separator {
    float: left;
    width: 100%;
    border-top: 1px solid var(--p2e--login-separator-color);
    text-align: center;
    margin: 30px 0 0;
}
.login-separator b {
    width: 40px;
    height: 30px;
    font-size: 16px;
    color: var(--p2e--login-separator-color);
    text-align: center;
    line-height: 30px;
    background-color: var(--p2e--base-background);
    display: inline-block;
    position: relative;
    top: -17px;
    z-index: 1;
}

.sso-login {
    color: var(--p2e--success-text-color);
    background-color: var(--p2e--sso-color);
}

.sso-login span {
    background-repeat: no-repeat;
    background-size: 16px;
    background-position-y: center;
    padding-left: 24px;
}

.sso-login span.logo-traxion-default {
    background-image: url('../images/traxion-logo.png');
}

.sso-login span.logo-okta-default {
    background-image: url('../images/okta-logo.png');
}
/* ----- END LOGIN PAGE ----- */

/* ----- BEGIN LOGOUT PAGE ----- */
.logout-message-container {
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logout-message {
    color: var(--p2e--success-color);
    font-weight: bold;
}
/* ----- END LOGOUT PAGE ----- */

/* ----- BEGIN MFA STYLES ----- */
.qrcode-container {
    text-align: center;
}

.mfa-error-container {
    min-height: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.mfa-error-wrapper {
    font-weight: bold;
    color: var(--p2e--warn-color);
    font-size: 0.9em;
}

.mfa-resend-email-wrapper {
    text-align: left;
    margin-top: 10px;
}

.mfa-resend-email-link {
    font-size: 12px;
    line-height: 15px;
    color: var(--p2e--dark-color);
    text-decoration: underline;
    cursor: pointer;
}

.mfa-resend-email-link:visited {
    color: var(--p2e--dark-color);
}

.mfa-resend-email-link.disabled {
    color: var(--p2e--mfa-grey-color);
    cursor: not-allowed;
    text-decoration: underline;
}

.mfa-remember-device-container {
    margin: 45px 0 15px 0;
    display: flex;
    align-items: center;
}

.mfa-remember-device-container input[type="checkbox"] {
    margin: 0 4px 0 0;
    transform: scale(1.0);
    accent-color: var(--p2e--mfa-grey-color);
}

.mfa-remember-device-container label {
    margin: 0;
    font-size: 14px;
    color: var(--p2e--mfa-grey-color);
    line-height: 1.2;
}

.mfa-remember-device-warning {
    margin: 5px 0 10px 0;
    font-size: 12px;
    color: var(--p2e--mfa-grey-color);
    line-height: 1.4;
    font-style: italic;
}

/* ----- END MFA STYLES ----- */

/* ----- OUTDATED STYLES ----- */
html,body {
    margin: 0px; padding: 0px; width: 100%;height: 100%;
}
img.logo {
    width: 350px; margin:0px auto; padding:50px 0 0 30px;
}
.login_card .full-width {
    color:#fff !important;
    width: 90%;
}
.login_card {
    background-color:rgba(18, 32, 44, 0.7);
    width: 700px;
    min-height: 500px;
    margin:100px auto;
    border:1px solid #fff;
}
.loginContainer {
    background-image: url('../images/login.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size:cover;
    justify-content: space-between;
}
.logoContainer {
    background-image: url(../images/old-logo.png);
    background-repeat: no-repeat;
    width: 100%;
    background-position: bottom;
    background-size: 350px 40px;
    padding-top: 90px;
    margin-left: 30px;
}
.footerContainer {
    color: #ffffff;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}
.footerContainer a {
    color: #ffffff;
    text-decoration: none;
}
.mdl-textfield {
    width: 100%;
}
.error {
    border: 1px solid white;
    padding: 16px;
    margin: 16px 100px 0px 100px;
    color: white;
    text-align: center;
}

input.mdl-textfield__input {
    color:#fff !important;
    width: 350px; margin: 0px auto;
    border-bottom: 1px solid #fff;
}
label.mdl-textfield__label {
    color:#fff !important;
    width: 350px; margin: 0px auto;
}
div.actions {
    margin-top: 60px; width: 100%; text-align: center;
}
button.tv-login-btn {
    width: 350px; background-color: #359ed9; color:#fff;  font-weight: bold; font-size: 16pt;
}
div.mdl-card__title {
    width: 100%;
}
div.mdl-card__supporting-text {
    width: 100%; margin-top: 30px; text-align: center;
}
