.login-pf {
    background: linear-gradient(296.82deg, #15191E 0%, #122539 100%);
    background: var(--main-bg, linear-gradient(296.82deg, #15191E 0%, #122539 100%));
}

.login-pf body {
    background: var(--body-bg, url("../img/bg.png") no-repeat center center / cover fixed);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.alert-error {
    color: #F51111;
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 16px;
    padding: 0;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

/* a#kc-current-locale-link:hover {
    background-color: rgba(0,0,0,0.2);
} */

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

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

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

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
    margin-bottom: 48px;
}

#kc-header-wrapper {
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-title-color, #FFFFFF);
    height: 54px;
}

#kc-content {
    width: 100%;
}

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

#kc-username {
    text-align: center;
}

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
    margin: 32px 0 0;
}

#kc-info-wrapper {
    font-size: 16px;
    text-align: left;
    color: #2C323F;
    line-height: 24px;
}

#kc-info-wrapper a {
    font-size: 16px;
}


#kc-form-options span {
    /* display: block; */
}

#kc-form-options .checkbox {
    margin: 0;
    color: #7D8291;
}

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

#kc-registration {
    /* margin-bottom: 15px; */
    text-align: center;
    color: #777D8A;
    line-height: 16px;
}

/* TOTP */

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

.required {
    color: #CB2915;
}

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

ul#kc-totp-supported-apps {
    margin-bottom: 10px;
}

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

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

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

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

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

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

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

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

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

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

.kc-login-tooltip .kc-tooltip-text {
    top: -3px;
    left: 160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width: 130px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    padding: 5px;

    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity: 0.7;
}

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

.zocial,
a.zocial {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}

.zocial:before {
    border-right: 0;
    margin-right: 0;
}

.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}

.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
    content: "\f15d";
}

.zocial.stackoverflow:before {
    color: inherit;
}


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

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

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

@media (max-width: 767px) {

    .login-pf body {
        background: white;
    }

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

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

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #kc-form {
        float: none;
    }

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

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

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

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

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

}

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

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

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

#kc-form-buttons {
    margin-top: 24px;
    padding: 0;
}

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

.card-pf {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 448px;
    border-top: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

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

@media (max-width: 767px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
    }

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

.login-pf-page .login-pf-signup {
    font-size: 16px;
    line-height: 16px;
    /* identical to box height, or 100% */
    text-align: center;
    color: #777D8A;
}

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

@media (min-width: 768px) {
    .login-pf-page .login-pf-social-section:first-of-type {
        padding-right: 39px;
        border-right: 1px solid #d1d1d1;
        margin-right: -1px;
    }

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

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

.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-page .btn-primary {
    margin-top: 0;
    background: var(--btn-primary-color, #0A78EE);
    border-radius: 4px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    /* identical to box height, or 100% */
    text-align: center;
    color: #FFFFFF;
    padding: 20px;
    border: 0px;
    width: 100%;
}

.login-pf-page .btn-primary:focus {
    outline-color: var(--btn-primary-color--focus, #0263cc);
}

.login-pf-page .btn-primary:focus:active {
    background-color: var(--btn-primary-color--active, #378ae4);
}

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

.login-pf-page .list-view-pf-description {
    width: 100%;
}

.login-pf-page .card-pf {
    /* margin-bottom: 10px; */
    padding: 64px;
}

#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 {
    margin-bottom: 0px;
}

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

form#kc-select-back-form div.login-pf-social-section {
    padding-left: 0px;
    border-left: 0px;
}

.login-pf-page .login-pf-header h1 {
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 32px;
    text-align: left;
    margin: 0;
    margin-bottom: 24px;
}

.login-pf-page .login-pf-header {
    position: relative;
    margin: 0;
}

body {
    font-family: 'Inter', sans-serif;
}

.login-pf-page .login-pf-signup a {
    border-bottom: 1px solid #0A78EE;
}

.login-pf-page .login-pf-signup a:hover {
    text-decoration: none;
}

a {
    color: #0A78EE;
    display: inline-block;
    font-size: 14px;
}

a:focus {
    outline-color: #0A78EE;
    outline-offset: 3px;
    border-bottom: none !important;
    text-decoration: none;
}

.login-pf-page .login-pf-settings {
    margin: 0;
}

.form-group {
    position: relative;
}

.form-group label.toFloat {
    position: absolute;
    transition: top 200ms, opacity 200ms;
    font-size: 12px;
    line-height: 12px;
    z-index: -1;
    opacity: 0;
    color: #959BA6;
    left: 16px;
    top: 20px;
    font-weight: normal;
}

.form-group label.toFloat.floating {
    top: 8px;
    z-index: 1;
    opacity: 1;
}

.form-control {
    background: #FFFFFF;
    border: 1px solid #CDD0D6;
    box-sizing: border-box;
    border-radius: 4px;
    height: 56px !important;
    padding: 28px 16px 12px;
    color: #26324B;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
}

.form-control::placeholder {
    color: #959BA6;
    font-style: normal;
}

.form-control:placeholder-shown {
    padding: 20px 16px;
}

.form-control:focus {
    border: 1px solid #0A78EE;
    box-shadow: none;
    background: rgba(10, 120, 238, 0.04);
}

.checkbox > label {
    padding-left: 24px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    line-height: 24px;
}

.checkbox > label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox > label .checkmark {
    position: absolute;
    top: 3px;
    left: 1px;
    height: 16px;
    width: 16px;
    background: #FFFFFF;
    border: 1px solid #CCD0D6;
    box-sizing: border-box;
    border-radius: 3px;
    transition: all 200ms;
}

.checkbox > label:hover input ~ .checkmark {
    background-color: rgba(10, 120, 238, 0.04);
}

.checkbox > label input:checked ~ .checkmark {
    background-color: rgba(10, 120, 238, 0.9);
    border: 1px solid #0A78EE;
}

.checkbox > label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox > label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox > label .checkmark:after {
    left: 4px;
    top: 2px;
    width: 6px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-pf-page .login-pf-settings a {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
}

#kc-header #kc-header-wrapper img {
    max-width: 54px;
    max-height: 54px;
    margin-right: 16px;
    margin-top: 0px;
}

#kc-header #kc-header-wrapper i {
    margin-left: 16px;
    background: rgba(106, 187, 255, 0.1);
    border: 1px solid var(--header-title-color, #FFFFFF);
    border-radius: 4px;
    padding: 8px 10px;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    /* margin-top: -8px; */
}

#kc-header #kc-header-wrapper span {
    font-family: 'Khula', sans-serif;
    font-size: 32px;
    /* line-height: 20px; */
    display: inline-block;
    margin-top: 5px;
}

.login-pf-page {
    padding: 0;
    margin-top: auto;
    margin-bottom: 88px;
}

.login-pf-page .form-group.login-pf-settings #kc-form-buttons {
    padding: 0;
}

.form-group #kc-form-buttons {
    padding: 0 20px;
}

#kc-content-wrapper .alert.alert-error > .pficon {
    display: none;
}

.persidius-footer {
    margin-top: auto;
    font-size: 14px;
    line-height: 18px;
    color: #8F99A3;
    text-align: center;
    margin-bottom: 16px;
}