#kc-attempted-username {
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    padding-right: 10px;
}

#kc-back {
    margin-top: 5px;
}

#kc-code textarea {
    height: 8em;
    width: 100%;
}

#kc-content, #kc-logo, .login-pf-page .list-view-pf-description {
    width: 100%;
}

#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

#kc-form-buttons {
    margin-top:10px;
    text-align:right;
}

#kc-form-options .checkbox {
    color:#333;
    margin-top:0;
}

#kc-locale ul li a:hover {
    background-color:#f3f3f3;
    border:none;
}

#kc-totp-secret-key {
    border:1px solid #eee;
    font-size:16px;
    margin:50px 0;
    padding:10px;
}

#kc-form-login div.form-group:last-of-type, #kc-register-form div.form-group:last-of-type, #kc-update-profile-form div.form-group:last-of-type, #kc-update-email-form div.form-group:last-of-type, .no-bottom-margin {
    margin-bottom: 0;
}

#kc-form-options span, #kc-locale-dropdown:hover ul {
    display: block;
}

#kc-form-webauthn .pf-l-stack__item {
    margin: -1px 0;
}

#kc-form-webauthn .select-auth-box-icon {
    flex: 0 0 3em;
}

#kc-form-webauthn .select-auth-box-icon-properties {
    font-size: 1.8em;
    margin-top: 10px;
}

#kc-form-webauthn .select-auth-box-icon-properties.unknown-transport-class {
    margin-top: 3px;
}

#kc-form-webauthn .select-auth-box-parent {
    pointer-events: none;
}

#kc-header {
    color: #ededed;
    font-weight: 700;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    text-transform: uppercase;
    white-space: normal;
}

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

#kc-info-wrapper {
    font-size: 16px;
    padding-top: 15px;
}

#kc-locale ul {
    display: none;
    min-width: 100px;
    padding: 0;
    top: 20px;
}

#kc-locale-dropdown {
    display: inline-block;
}

#kc-locale-dropdown a {

}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

#kc-oauth h3, .login-pf-page .btn-primary {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-registration {
    margin-bottom: 15px;
    text-align: center;
}

#kc-terms-text {
    margin-bottom: 20px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333;
    font-size: 16px;
    padding: 10px 0;
}

#kc-totp-secret-qr-code {
    max-height: 150px;
    max-width: 150px;
}

#kc-username {
    margin-bottom: -10px;
    text-align: center;
}

#kc-webauthn-settings-form {
    padding-top: 8px;
}

.alert-error {
    background-color: #fff;
    border-color: #c00;
    color: #333;
}

.btn {
    padding: 1rem 2rem;
    font-size: 21px;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1.43;
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: none;
}

.card-pf {
    background: #fff;
    margin: 0 auto;
    max-width: 500px;
    padding: 25px 20px;
    border-top: 0;
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

.checkbox, #kc-form-options .checkbox {
    color: #72767b;
    margin-top: 0;
}

.kc-login-tooltip {
    display: inline-block;
    position: relative;
}

.kc-login-tooltip .kc-tooltip-text {
    background-color: #000;
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .6);
    color: #fff;
    left: 160%;
    min-width: 130px;
    opacity: 0;
    padding: 5px;
    position: absolute;
    text-align: center;
    top: -3px;
    transition: opacity .5s;
    visibility: hidden;
}

.kc-login-tooltip .kc-tooltip-text::after {
    border-color: transparent #000 transparent transparent;
    border-style: solid;
    border-width: 5px;
    content: " ";
    margin-top: -5px;
    position: absolute;
    right: 100%;
    top: 15px;
}

.kc-login-tooltip:hover .kc-tooltip-text {
    opacity: .7;
    visibility: visible;
}

.kc-recovery-codes-actions {
    margin-bottom: 24px;
}

.kc-recovery-codes-actions button {
    padding-left: 0;
}

.kc-recovery-codes-actions button i {
    margin-right: 8px;
}

.kc-recovery-codes-confirmation {
    align-items: baseline;
    margin-bottom: 16px;
}

.kc-recovery-codes-list {
    border: 1px solid #d2d2d2;
    columns: 2;
    list-style: none;
    margin: 16px 0;
    padding: 16px 16px 8px;
}

.kc-recovery-codes-list li {
    font-size: 11px;
    margin-bottom: 8px;
}

.kc-recovery-codes-list li span {
    color: #6a6e73;
    display: inline-block;
    margin-right: 1px;
    text-align: right;
    width: 16px;
}

.kc-recovery-codes-warning {
    margin-bottom: 32px;
}

.kc-recovery-codes-warning .pf-c-alert__description p {
    font-size: .875rem;
}

.kc-social-grid {
    --pf-l-grid__item--gridcolumnend: span 6;
    display: grid;
    grid-column-end: span 6;
    grid-column-gap: 10px;
    grid-row-gap: 5px;
}

.kc-social-grid .kc-social-icon-text {
    left: -10px;
}

.kc-social-icon-text {
    left: -15px;
}

.kc-social-item {
    font-size: 15px;
    text-align: center;
}

.kc-social-provider-logo {
    float: left;
    font-size: 23px;
    height: 25px;
    width: 30px;
}

.kc-social-provider-name {
    position: relative;
    top: 3px;
}

.kc-social-section {
    text-align: center;
}

.login-pf {
    background: none;
}

.login-pf .container {
    padding-top: 40px;
}

.login-pf a:hover {
    color: #0099d3;
}

.login-pf body {
    height: 100%;
    padding-bottom: 20px;
}

.login-pf-page .card-pf {
    margin-bottom: 10rem;
}

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .login-pf-brand {
    margin-top: 20px;
    max-width: 360px;
    width: 40%;
}

.login-pf-page .login-pf-signup {
    color: #72767b;
    font-size: 15px;
}

.login-pf-page .login-pf-social-link {
    margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
    padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

.login-pf-settings {
    -ms-flex-pack: justify;
    -ms-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pf-c-button.pf-m-control {
    border-color: rgba(230, 230, 230, .5);
}

.select-auth-box-arrow {
    align-items: center;
    display: flex;
    margin-right: 2rem;
}

.select-auth-box-headline {
    font-weight: 700;
}

.select-auth-box-icon {
    display: flex;
    flex: 0 0 2em;
    justify-content: center;
    margin-left: 3rem;
    margin-right: 1rem;
}

.select-auth-box-paragraph {
    margin-bottom: 5px;
    text-align: center;
}

.select-auth-box-parent {
    cursor: pointer;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.select-auth-box-parent:hover {
    background-color: #f7f8f8;
}

.select-auth-container {
    padding-bottom: 0 !important;
}

.subtitle {
    color: #909090;
    margin-top: 30px;
    text-align: right;
}

h1#kc-page-title, #kc-form-wrapper {
    margin-top: 10px;
}


ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

p.instruction {
    margin: 5px 0;
}

textarea.pf-c-form-control {
    height: auto;
}

ul#kc-totp-supported-apps, .kc-social-section hr {
    margin-bottom: 10px;
}


.navbar-pf .navbar-utility {
    top:-24px;
}

@media (min-width: 768px) {
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
        margin-bottom: 0;
    }

    .login-pf-page .login-pf-social-section:first-of-type {
        border-right: 1px solid #d1d1d1;
        margin-right: -1px;
        padding-right: 39px;
    }

    .login-pf-page .login-pf-social-section:last-of-type {
        padding-left: 40px;
    }
}

@media (max-width: 767px) {
    #kc-form {
        float: none;
    }

    #kc-header {
        float: none;
        padding-left: 15px;
        padding-right: 15px;
        text-align: left;
    }

    #kc-header-wrapper {
        color: #72767b;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0;
        padding: 20px 60px 0 0;
    }

    #kc-info-wrapper {
        background-color: transparent;
        border-top: 1px solid rgba(255, 255, 255, .1);
        margin-top: 15px;
        padding-left: 0;
        padding-right: 15px;
        padding-top: 15px;
    }

    #kc-locale {
        position: absolute;
        right: 20px;
        text-align: right;
        top: 20px;
        width: 200px;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        margin: 20px 0 0 20px;
        width: 100px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

    .card-pf.login-pf-accounts {
        max-width: none;
    }

    .kc-social-grid {
        --pf-l-grid__item--gridcolumnend: span 12;
        grid-column-end: 12;
    }

    .kc-social-grid .kc-social-icon-text {
        left: -15px;
    }

    .login-pf .container {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    .login-pf body {
        background: #FFF;
    }

    .login-pf-page .card-pf {
        border-top: 0;
        box-shadow: 0 0;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        padding-top: 0;
    }
}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

@media (max-width: 840px) {
    .login-pf-page .card-pf {
        margin-left: 20px;
        margin-right: 20px;
        max-width: none;
        padding: 20px 20px 30px;
    }
}
