@import "login.css";
@import "login-reset-password.css";
@import "terms-of-service.css";

html {
    min-width: 0;
}

body {
    height: auto
}

.kc-verjo-topbar {
    height: 1.5rem;
}

.kc-btn-primary{
    width: 100%;
    margin: 0.5rem 0 0.5rem 0;
    border-radius: 2em;
}

.kc-verjo-content {
    display: flex;

    height: calc(100vh - 1.5rem);
    margin-top: 1.5rem;
}

.kc-verjo-content__form {
    display: flex;
    flex-direction: column;

    width: 50%;
    margin: 50px;
}

.kc-verjo-content__form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kc-verjo-content__form-header .logo img{
   max-width: 100%;
}

.kc-verjo-content__form-body {
    align-self: center;
    width: 67%;
    margin-top: auto;
    margin-bottom: auto;
}

.kc-verjo-content__banner {
    width: 50%;
    text-align: end;
}

.kc-verjo-content__banner > img {
    height: 100%;
    width: auto;
}

.browser-link-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.browser-link {
    text-align: center;
}

.browser-link--image {
    max-width: 150px;
    display: block;
    margin: auto;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

@media (max-width: 992px) {

    .kc-verjo-content__form-header {
        flex-direction: column;
    }
    #verjo-kc-locale-dropdow{
        position: absolute;
        right: 0.5rem;
        top: 2rem;
    }

    .kc-verjo-content__welcome-title {
        font-size: 1.5rem;
    }

    .kc-verjo-content__form {
        width: 100%;
        margin: 0;
    }

    .kc-verjo-content__banner {
        display: none;
    }

}

@media (max-width: 650px) {
    .reset-and-register{
        flex-direction: column;
        align-items: center;
    }

    #reset-password{
        padding-bottom: 1rem;
    }

    #reset-password, #register{
        width: 100%;
        text-align: center;
    }
}

.kc-totp-supported-apps {
    margin-bottom: 1rem !important;
}