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

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url("../img/keycloak-logo.png");
    background-repeat: no-repeat;
    background-position: top right;

    height: 37px;

    margin: 50px;
}

#kc-header {
    overflow: visible;
    padding-left: 80px;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 26px;
    text-transform: uppercase;
/*    display: block;
    position: relative;
    top: -80px;*/
}

#kc-container-wrapper {
    bottom: 13%;
    position: absolute;
    width: 100%;
}

#kc-content {
    position: relative;
}

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

#kc-login {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

#kc-feedback-wrapper {
    display: inline-block;
    width: auto;

    background-position: left bottom;
    background-repeat: no-repeat;
    padding-bottom: 10px;

}

#kc-feedback span {
    display: block;
    padding: 0.90909090909091em 3.63636363636364em;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    background-repeat: no-repeat;
    background-position: 1.27272727272727em center;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.4em;
    border-radius: 2px;
    color: #4d5258;
    margin-bottom: 0;
}

.feedback-error #kc-feedback-wrapper {
    background-image: url(../img/feedback-error-arrow-down.png);
}
.feedback-error span {
    border-color: #b91415;
    background-image: url(../img/feedback-error-sign.png);
    background-color: #f8e7e7;
}

.feedback-success #kc-feedback-wrapper {
    background-image: url(../img/feedback-success-arrow-down.png);
}
.feedback-success span {
    border-color: #4b9e39;
    background-image: url(../img/feedback-success-sign.png);
    background-color: #e4f1e1;
}

.feedback-warning #kc-feedback-wrapper {
    background-image: url(../img/feedback-warning-arrow-down.png);
}
.feedback-warning span {
    border-color: #f17528;
    background-image: url(../img/feedback-warning-sign.png);
    background-color: #fef1e9;
}

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

/* TOTP */

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

ol#kc-totp-settings li {
    margin-top: 1em;
}

ol#kc-totp-settings li:first-of-type {
    margin-top: 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 30px;
}

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

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

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

.zocial {
    width: 125px;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.twitter {
    background-image: none;
    border-radius: 2px;

    font-family: "Open Sans", sans-serif;
    font-weight: normal;

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

.zocial.google {
    background-color: #dd4b39 !important;
}
.zocial.google .text:after {
    content: "+";
}

.zocial.facebook:hover,
.zocial.github:hover,
.zocial.google:hover,
.zocial.twitter:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}

@media (max-width: 767px) {
    #kc-logo-wrapper {
        background-image: url("../img/keycloak-logo.png");
        background-repeat: no-repeat;
        background-position: top center;

        height: 37px;

        margin: 20px;
    }

    #kc-header {
        padding-left: 40px;
        padding-right: 40px;
        white-space: normal;
        float: none;
    }

    #kc-feedback {
        padding-left: 40px;
        padding-right: 40px;
        float: none;
    }

    #kc-container-wrapper {
        position: inherit;
        float: none;
    }

    #kc-form {
        padding-left: 40px;
        padding-right: 40px;
        float: none;
    }

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

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