/* Converted rem sizing to px to avoid dependency on html font-size. */

.login-root-container {
    color: #182026;
    width: 100%;
    height: 100%;
    max-width: 100vw;
}


.login-section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.login-header-text {
    font-weight: bold;
    font-size: 24px;
    width: 100%;
}

.login-paragraph-container {
    width: 100%;
    margin-top: 10px;
}

.login-paragraph {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.login-skip-link {
    font-size: 11px;
    line-height: 16px;
    color: #5C7080;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.5;
    width: 250px;
}

.login-skip-link:hover {
    text-decoration: underline;
}

.login-default-button {
    min-width: 127px;
    padding: 10px 20px;
    margin: 10px 0;
    font-size: 14px;
    min-height: initial;
    line-height: initial;
}

.login-default-input {
    width: 100%;
    margin-top: 10px;
}

.login-default-input.bp4-input-group > .bp4-input {
    height: 35px;
    max-width: 100%;
    font-size: 16px;
}

.login-default-input .lock-button {
    line-height: 30px;
}

.login-popover {
    position: relative;
    width: calc(100% - 40px);
    left: 20px;
}

.login-popover-content {
    padding: 20px;
    max-width: 500px;
}

.login-popover-opener {
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}


.login-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 2px;
}

.login-google-button {
    background-image: url("../imgs/continue_with_google.png");
    display: block;
    width: 256px;
    height: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    cursor: pointer;
    margin: 8px 0 2px 0;
}

.login-google-button.login-minor {
    display: none;
}

.login-office365-button.login-minor {
    display: none;
}

.login-office365-button {
    background-image: url("../imgs/continue_with_ms.png");
    display: block;
    width: 256px;
    height: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    cursor: pointer;
    margin: 8px 0 2px 0;
}

.login-other-link {
    margin-top: 5px;
    font-size: 12px;
    color: #5C7080;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}

.login-other-link hr {
    margin: unset;
    width: 40px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    border-bottom-color: #5C7080;
    border-bottom-width: 1px;
}

.login-other-link:hover {
    text-decoration: underline;
}

.pref-vendor-msg {
  font-size: 12px;
  line-height: 15px;
  margin-bottom: 5px;
  text-align: center;
}

span.unknown-error a.login-contact-link {
    text-decoration: underline;
    color: #ffffff;
}

span.unknown-error  a.login-contact-link:hover {
    color: rgba(255, 255, 255, 0.7);
}


.login-back-button {
    margin-bottom: 15px;
    align-self: start;
    font-size: 20px;
    cursor: pointer;
}

.email-mismatch-actions .login-default-button {
    display: block;
}

.email-mismatch-actions {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.outlook-root .email-mismatch-actions {
    justify-content: space-around;
}


@media only screen and (max-width: 900px) {
    .login-header-text {
        font-size: 20px;
    }
}


.outlook-login-modal .login-default-input {
    min-width: 250px;
}

.bp4-dialog.login-modal {
    background: white;
    margin: 0px;
    padding: 20px 0px;
}


@media only screen and (max-width: 600px) {
    .email-mismatch-actions {
        flex-direction: column;
    }
}
