
.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

#kc-locale ul {
    background-color: #fff;
    width: auto;
    padding: 2px;
    border: 1px solid #ccc;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    list-style: none;
    display: none;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
    position: absolute;
    top: 59px;
    text-align: left;
    padding-left:9px;
}
#kc-locale ul:after {
    position: absolute;
    content: "";
    background: hsl(0, 0%, 100%);
    rotate: 45;
    transform: rotate(45deg);
    border: 1px solid #d5d5d5;
    border-right: 0;
    border-bottom: 0;
    width: 0.7rem;
    height: 0.7rem;
    top: -0.4rem;
    left: 2.6rem;
    z-index: 1;
}
#kc-form-button-container{
    position: relative;
    display: inline-block;
}
#kc-right-arrow{
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    right:14px;
    position: absolute;
    bottom: 21px;
}
#kc-arrow-reset-bottom{
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    right: 18px;
    position: absolute;
    bottom:21px;
}

#kc-locale ul li a {
    padding: 5px 15px;
    line-height: 20px;
    border-bottom: 1px solid #ccc;
    display: block;
}

#kc-locale ul li a:last-child {
    border-bottom: none;
}

#kc-locale ul li a:hover {
    color: #1d477e !important;
    background-color: #fff;
}

#kc-locale-dropdown a {
    color: #333;
}

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

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

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

.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: 57px;
    width: 125px;
}

div.kc-logo-text {
    background-image: url("../img/keycloak-logo-text.png");
    background-repeat: no-repeat;
    width: 250px;
    height: 38px;
}

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

#kc-header {
    color: #fff;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 15px;
}

#kc-content {
    position: relative;
}

#kc-content-wrapper {
    overflow-y: hidden;
    margin-right: 0px;
    margin-left: 0px;
}

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

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

.instruction {
    margin: 0px 20px;
    font-family: 'Athlon', sans-serif;
    font-size: 15px;
    color: #8d887e;
    font-weight: 300;
}

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

#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: 150px;
}

.zocial:hover {
    color: #fff !important;
}

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

    font-family: 'Athlon', sans-serif;
    font-weight: 300;

    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.microsoft:hover,
.zocial.stackoverflow:hover,
.zocial.linkedin:hover,
.zocial.twitter:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft {background-color: #0052a4; color: #fff;}
.zocial.microsoft:before { content: "\f15d"; }


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

    #kc-logo-wrapper {
        position: absolute;
        top: 50px;
        right: 50px;
    }

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

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

@media (max-width: 767px) {

    #kc-logo-wrapper {
        background-position: center;
        width: 100%;
        margin: 20px 0;
    }

    #kc-header {
        float: none;
    }

    #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: inline-block;
        margin-right: 5px;
    }

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

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

#browser-alert {
    padding-top: 0;
    display: none;
}

#browser-alert-area {
    width: 591px;
    margin: 0 0px 11px 0px;
    border-radius: 2px;
    background-color: rgba(204,51,50,0.2);
    color: #fff;
    padding-left: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

#alert-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

#browser-alert-text-area {
    padding-left: 1%;
}

#browser-alert-title {
    font-size: 16px;
    line-height: 1.3;
    color: #333;
}

#browser-alert-desc {
    font-size: 14px;
    font-weight: 300;
    margin-top: 1%;
    color: #333;
}

#browser-alert-subtext {
    font-family: 'Athlon';
    font-size: 16px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.75;
    letter-spacing: normal;
    color: #333;
}

.browser-icons {
    margin-left: 1%;
    margin-top: -0.5%;
    object-fit: contain;
}

#alert-icon-container {
    margin-top: 0.3%;
}