html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #3D464D;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

a {
    color: #4A89DC;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

a:visited,
a:active,
a:hover {
    color: #4A89DC;
}

.toast {
    display: none;
    position: fixed;
    align-content: center;
    -ms-flex-align: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #8CC152;
    color: #fff;
    padding: 15px 15px 15px 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toast > .toast-icon {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -ms-flex-align: center;
    align-items: center;
    float: left;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    margin-right: 15px;
}

.toast > .toast-content > p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

.login-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: center;
    height: 100%;
}

.forgot-password > .login-container, .change-password > .login-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
}

.marketing {
    display: none;
    background: #202945;
}

.login {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    background: #FFF;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5% 10px 0;
    max-width: 350px;
    margin: 0 auto;
}

.forgot-password {
    max-width: 40%;
}

.login img {
    width: 100%;
    max-width: 350px;
    margin-bottom: 10px;
}

.login > form, .login-form > form {
    width: 100%;
    margin: 0 auto;
}

.login > form > div, .login-form > form > div{
    width: 100%;
    position: relative;
}

.login > form > div i, .login-form > form > div i {
    position: absolute;
    width: 20px;
    left: 0;
    top: 7px;
    color: #999;
    font-size: 1.4em;
    display: inline-block;
}

.login > form > div i.active {
    color: #4A89DC;
}

.login > form input, .login-form > form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #999;
    background: rgba(0, 0, 0, 0);
    padding: 10px 0 10px 25px;
    text-indent: 5px;
    font-size: 18px;
    margin-bottom: 25px;
    font-family: "Montserrat", sans-serif;
}

.login > form input:focus, .login-form > form input:focus {
    outline: none;
    border-bottom: 1px solid #4A89DC;
    color: #4A89DC;
}

.login > form button, .login-form > form button, #submit-mfacode-button {
    margin-bottom: 10px;
    width: 100%;
    color: #fff;
    background: #4A89DC;
    font-size: 1rem;
    border: none;
    border-radius: 3px;
    padding: 10px 15px;
    text-transform: uppercase;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
}

.login > form button:focus, .login-form > form button:focus {
    outline: none;
}

.login > form button[disabled], .login-form > form button[disabled] {
    opacity: .75;
    cursor: not-allowed;
}

.login > .error-message {
    margin-bottom: 15px;
    text-align: center;
    color: #DA4453;
    font-weight: 600;
    max-width: 100%;
}

.login > .error-message > i {
    margin-right: 10px;
    font-size: 1.4em;
}

.login div.links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 0.9rem;
    margin: 0 auto;
    width: 100%;
}

.login div.links a.privacy {
    color: #999;
}

.login div.links a.privacy:visited,
.login div.links a.privacy:focus,
.login div.links a.privacy:active {
    color: #999;
}

.login-loading {
    display: none;
    padding: 0 10px;
    max-width: 350px;
}

.saml-login {
    display: none;
    padding: 0 10px;
    max-width: 350px;
}

.saml-relogin-message {
	display: none;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    max-width: 100%;
}

.saml-relogin-message > i {
    margin-right: 10px;
    font-size: 1.4em;
}

.saml-relogin {
    display: none;
    padding: 0 10px;
    max-width: 350px;
}

.login-loading > .loading {
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    font-size: 13px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.login-loading > .loading span.dot {
    display: block;
    border-radius: 50%;
    margin: 3px;
    height: 13px;
    width: 13px;
}

.login-loading > .loading span.dot:nth-of-type(1) {
    background-color: #4A89DC;
    -webkit-animation: jump 1600ms ease-in-out 70ms forward infinite "" "";
    animation: jump 1600ms ease-in-out 70ms forward infinite "" "";
    -webkit-animation-name: jump;
    animation-name: jump;
    -webkit-animation-duration: 1600ms;
    animation-duration: 1600ms;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-delay: 70ms;
    animation-delay: 70ms;
    -webkit-animation-direction: forward;
    animation-direction: forward;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-fill-mode: "";
    animation-fill-mode: "";
    -webkit-animation-play-state: "";
    animation-play-state: "";
}

.login-loading > .loading span.dot:nth-of-type(2) {
    background-color: #967ADC;
    -webkit-animation: jump 1600ms ease-in-out 140ms forward infinite "" "";
    animation: jump 1600ms ease-in-out 140ms forward infinite "" "";
    -webkit-animation-name: jump;
    animation-name: jump;
    -webkit-animation-duration: 1600ms;
    animation-duration: 1600ms;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-delay: 140ms;
    animation-delay: 140ms;
    -webkit-animation-direction: forward;
    animation-direction: forward;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-fill-mode: "";
    animation-fill-mode: "";
    -webkit-animation-play-state: "";
    animation-play-state: "";
}

.login-loading > .loading span.dot:nth-of-type(3) {
    background-color: #DA4453;
    -webkit-animation: jump 1600ms ease-in-out 210ms forward infinite "" "";
    animation: jump 1600ms ease-in-out 210ms forward infinite "" "";
    -webkit-animation-name: jump;
    animation-name: jump;
    -webkit-animation-duration: 1600ms;
    animation-duration: 1600ms;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-delay: 210ms;
    animation-delay: 210ms;
    -webkit-animation-direction: forward;
    animation-direction: forward;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-fill-mode: "";
    animation-fill-mode: "";
    -webkit-animation-play-state: "";
    animation-play-state: "";
}

.login-loading > .loading span.dot:nth-of-type(4) {
    background-color: #F6B042;
    -webkit-animation: jump 1600ms ease-in-out 280ms forward infinite "" "";
    animation: jump 1600ms ease-in-out 280ms forward infinite "" "";
    -webkit-animation-name: jump;
    animation-name: jump;
    -webkit-animation-duration: 1600ms;
    animation-duration: 1600ms;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-delay: 280ms;
    animation-delay: 280ms;
    -webkit-animation-direction: forward;
    animation-direction: forward;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-fill-mode: "";
    animation-fill-mode: "";
    -webkit-animation-play-state: "";
    animation-play-state: "";
}

.login-loading > .loading span.dot:nth-of-type(5) {
    background-color: #37BC9B;
    -webkit-animation: jump 1600ms ease-in-out 350ms forward infinite "" "";
    animation: jump 1600ms ease-in-out 350ms forward infinite "" "";
    -webkit-animation-name: jump;
    animation-name: jump;
    -webkit-animation-duration: 1600ms;
    animation-duration: 1600ms;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-delay: 350ms;
    animation-delay: 350ms;
    -webkit-animation-direction: forward;
    animation-direction: forward;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-fill-mode: "";
    animation-fill-mode: "";
    -webkit-animation-play-state: "";
    animation-play-state: "";
}

.login-loading > .login-loading-message {
    display: block;
    color: #808080;
    font-size: 26px;
    margin-bottom: 25px;
    text-align: center;
    max-width: inherit;
}

.login-loading > .login-loading-message > span {
    text-transform: capitalize;
    max-width: inherit;
}

.login-frame {
    display: none;
}

div.login-form div.message-container {
    margin-bottom: 30px;
    text-align: center;
}

div.login-form div.message-container .message {
    color: #999;
    font-weight: 300;
    margin-bottom: 5px;
    font-size: 18px;
    display: block;
}

div.login-form div.message-container .message:first-child, div.login-form div.message-container  .message-main {
    font-size: 28px;
    color: #3D464D;
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 15px;
}

div.login-form div.error-message-container {
    height: 30px;
    margin-bottom: 15px;
    text-align: center;
}

div.login-form div.error-message-container span.error-message {
    color: #DA4453;
    font-weight: 600;
    display: none;
}

div.login-form div.error-message-container span.error-message > i:before {
    vertical-align: inherit;
}

div.password-helper {
    width: 100%;
    margin: 0 auto 25px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 15px 30px;
}

div.password-helper > span {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 10px;
    color: #999999;
    font-weight: 500;
}

div.password-helper > span > i {
    color: #cccccc;
    margin-right: 10px;
}

div.password-helper > span > i.bhi-times {
    color: #DA4453;
}

div.password-helper > span > i.bhi-check {
    color: #8CC152;
}

div.password-helper > span:last-child {
    margin-bottom: 0;
}

div.password-strength {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

div.password-strength > .password-strength-bar-container {
    background-color: #CCCDCC;
    border-radius: 3px;
    height: 10px;
    position: relative;
    margin-bottom: 10px;
}

div.password-strength > .password-strength-bar-container .password-strength-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

div.password-strength > .password-strength-bar-container .password-strength-bar.LOW {
    background-color: #DA4453;
    width: 33%;
}

div.password-strength > .password-strength-bar-container .password-strength-bar.MEDIUM {
    background-color: #F6B042;
    width: 66%;
}

div.password-strength > .password-strength-bar-container .password-strength-bar.STRONG {
    background-color: #8CC152;
    width: 100%;
    border-radius: 3px;
}

div.password-strength > .password-strength-bar-label {
    font-weight: 700;
}

div.password-strength > .password-strength-bar-label span {
    font-weight: 500;
    color: #000000;
}

div.password-strength > .password-strength-bar-label.LOW {
    color: #DA4453;
}

div.password-strength > .password-strength-bar-label.MEDIUM {
    color: #F6B042;
}

div.password-strength > .password-strength-bar-label.STRONG {
    color: #8CC152;
}

@media screen and (min-width:800px) {
    .login-container {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .marketing {
        -ms-flex-preferred-size: 300px;
        flex-basis: 300px;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .login {
        -ms-flex-preferred-size: 1;
        flex-basis: 1;
    }

    .login-loading-message br {
        display: none;
    }
}

@-webkit-keyframes jump {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    30% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }

    45% {
        -webkit-transform: translateY(-1.5em);
        transform: translateY(-1.5em);
        opacity: 0.5;
    }

    60% {
        -webkit-transform: translateY(.8em);
        transform: translateY(.8em);
        opacity: 0.95;
    }

    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes jump {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    30% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }

    45% {
        -webkit-transform: translateY(-1.5em);
        transform: translateY(-1.5em);
        opacity: 0.5;
    }

    60% {
        -webkit-transform: translateY(.8em);
        transform: translateY(.8em);
        opacity: 0.95;
    }

    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
}

svg.loading {
        animation: rotate 1200ms linear infinite;
        width: 100%;
        height: 100%;
        max-width: 15px;
        max-height: 15px;
        enable-background:new 0 0 18.2 18.5;
}

.spinner {
    fill:#FFFFFF;
}

#loading-spinner {
    padding-left: 5px;
    display: none;
    vertical-align: top;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#mfa-section {
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .message-container {
        text-align: center;
    }
    .error-message {
        color: #DA4453;
    }
    .info-message {
        color: #4A89DC;
    }
    .error-message, .info-message {
        display: flex;
        font-weight: 600;
        width: fit-content;
        margin: 0 auto;
        i {
            padding-right: 5px;
        }
    }
    .login-loading {
        margin: 30px auto;
    }
}

#mfa-initial-message {
    width: 600px;
    font-weight: 500;
}

#mfa-enter-digits-message {
    padding-bottom: 2rem;
}

#mfa-form {
    padding-top: 1rem;

    .mfa-input-container {
        height: 6.5rem;
    }
    .mfa-form-container {
        margin: 0 auto;
        width: 25.1rem;
        padding-top: 1rem;
    }
}

#mfa-links {
    margin: 0 auto;
    width: 25.1rem;
}

.mfa-standalone-section {
    padding-top: 1rem;
}

#mfa-code {
    --scaling: 60px;
    border: none;
    outline: none;
    font-family: "Roboto Mono", monospace;
    background-image: linear-gradient(#fff, #fff), url("../../resources/images/mfa-background.png");
    background-size: var(--scaling);
    background-position-x: right, left;
    background-repeat: no-repeat, repeat-x;
    width: calc(7 * var(--scaling));
    font-size: calc(0.6 * var(--scaling));
    color: inherit;
    line-height: 1.6em;
    letter-spacing: calc(0.64 * var(--scaling));
    padding-inline-start: calc(0.25 * var(--scaling));
}

#request-mfacode-button {
    background: #fff;
    color: #4A89DC;
    border: 1px solid #4a89dc;
    margin-bottom: 10px;
    width: 100%;
    font-size: 1rem;
    border-radius: 3px;
    padding: 10px 15px;
    text-transform: uppercase;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
}

.caret-mask {
    position: relative;
    top: -60px;
    left: 355px;
    height: 60px;
    width: 65px;
    background-color: white;
    z-index: 2;
}

.custom-multi-tenant-select {
    color: #ffffff;
    padding: 8px 16px;
    border-bottom: 1px solid #000000;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
    margin-bottom: 20px;
}

/*style the arrow inside the select element:*/
.custom-multi-tenant-select:after {
    position: absolute;
    content: '';
    top: 14px;
    right: 5px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: rgb(134, 130, 130) transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.custom-multi-tenant-select.select-arrow-active:after {
    border-color: transparent transparent rgb(134, 130, 130) transparent;
    top: 7px;
}

.custom-select {
    position: relative;
    font-family: "Montserrat", sans-serif;
    width: 220px;
}

.custom-select select {
    display: none; /*hide original SELECT element:*/
}
.custom-options {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    margin-bottom: 20px;
}
.custom-option:not(:last-child) {
    border-bottom: #cacaca 1px solid;
}
.custom-option {
    padding: 16px 18px;
}

.custom-option-corpName {
    padding: 8px 0;
    font-weight: bold;
    font-size: 0.8rem;
}

.custom-option-userName {
    font-size: 0.8rem;
    color: rgb(122, 122, 122);
}

.custom-option:hover,
.same-as-selected {
    background-color: rgba(112, 157, 240, 0.1);
}

.custom-options-hide {
    display: none;
}
