@media (max-width: 767px) {
    .identity-logo {
        background-image: url(../assets/favicon.svg);
        width: 2.8125rem;
        height: 2.8125rem;
    }
    .identity-bg-layout {
        display: none;
    }
}

@media (min-width: 420px) and (max-width: 991px) {
    .identity-bg-layout {
        height: 35%;
    }
}


/* Form Container */

.identity-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

@media (max-width: 991px) {
    .identity-container {
        min-height: 65%;
        height: unset;
    }
}

.identity-container ol {
    padding-left: 1rem;
    font-size: 0.875rem;
}

.identity-container__panel {
    animation-delay: 0.525s;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.identity-container__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 38rem;
    padding: 0 2rem;
}

.identity-page-wide .identity-container__form {
    max-width: 35.25rem;
}

.identity-qr-code {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 12.5rem;
}

.identity-section--highlight:focus {
    outline: 0;
    box-shadow: 0 0 0 3px #dceaf7;
    border-radius: 0.5rem;
    margin: -0.5rem;
    padding: 0.5rem;
}

.bb-terms-container {
    max-height: 50vh;
    overflow: scroll;
    margin: 1rem 0;
}

@media (max-width: 420px) {
    .bb-terms-container {
        max-height: 40vh;
    }
}


/* Theme Modifications */

a {
    color: #007aff;
    font-size: 0.875rem;
    font-weight: 600;
}

hr {
    border-top: 1px solid #c5c5c5;
}

#kc-page-title {
    line-height: 3.1875rem;
    margin-bottom: 2rem;
}

#kc-login {
    margin-top: 1rem;
}

.bb-icon-info-outline:before {
    content: "info_outline";
}

.btn-primary,
.btn-primary:not(:disabled):not(.disabled):hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    background-color: #000;
    border-color: #000;
}

.form-error-container input[type="text"],
.form-error-container input[type="password"] {
    border-color: #d32f2f;
}

input[type="password"] {
    padding-right: 2.5rem;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #7f7f7f;
    color: #fff;
    background-color: #7f7f7f;
    border-color: #7f7f7f;
}

.info-text {
    position: absolute;
    z-index: 1;
    color: white;
    top: 1rem;
    left: 1rem;
    width: 1.5rem;
}

.alert-danger,
.alert-success {
    padding-left: 3rem;
}

.toggle-password {
    right: 0.625rem;
    top: 0.625rem;
    cursor: pointer;
}

.bb-icon-visibility::before {
    color: #616161;
    font-size: 20px;
}

.bb-icon-visibility-off::before {
    content: "visibility_off" !important;
}

.android-icon {
    background-image: url(../assets/android/symbol@1.5x.svg);
    width: 2.8125rem;
    height: 2.8125rem;
    background-repeat: no-repeat;
}

.ios-icon {
    background-image: url(../assets/ios/symbol@1.5x.svg);
    width: 2.8125rem;
    height: 2.8125rem;
    background-repeat: no-repeat;
}

.appstore-logo {
    background-image: url(../assets/icons-appstore-badge.svg);
    width: 15.9rem;
    height: 6rem;
    background-repeat: no-repeat;
}

.playstore-logo {
    background-image: url(../assets/icons-playstore-badge.svg);
    width: 15.9rem;
    height: 6rem;
    background-repeat: no-repeat;
}

#bb-device-dropdown-menu {
    min-width: 100%;
}

#bb-device-dropdown-button {
    font-size: 1rem;
    font-weight: normal;
    border-radius: 0.5rem;
    background: transparent;
    border: solid 1px #979797;
}

.fw-600 {
    font-weight: 600 !important;
}

.selected-locale {
    color: #000;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
    margin-right: 5px;
}

#kc-locale {
    padding-right: 9.1rem;
    padding-bottom: 5.5rem;
    margin-top: -6rem;
}

@media (max-width: 767px) {
    #kc-locale {
        padding-right: 0;
        margin-top: -5rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #kc-locale {
        margin-top: 0;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    #kc-locale {
        padding-right: 3.1rem;
    }
}