
.login-pf body {
    background: #0f0f0f url("../img/wants-bg.png") center center no-repeat;
    position: relative;
    min-height:100%; padding:0; margin:0;
}

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

.login-pf .container [class^='alert'] {
    color: black;
}
#kc-locale {
    position: absolute;
    width: 200px;
    top: 10px;
    right: 10px;
    text-align: right;
    z-index: 9999;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0px;
    top: 30px;
    width: 200px;
    padding: 2px;
}

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

#kc-locale ul li a {
    display: block;
    padding: 1px 11px;
    color: #000 !important;
    border: 1px solid #fff;
    text-decoration: none;
    display:block;
    line-height: 20px;
}

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

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

#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);
}

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

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

.login-pf a {
    color: #d0d0d0;
}

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

#kc-logo {
    background-color: white;
    position: absolute;
    width: 100%;
    bottom: 0px;
    height: 50px;
}

#kc-logo-wrapper {
    background-image: url("../img/wni-logo.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    float: right;
    height: 42px;
    width: 131px;
    margin: 2px 25px;
}

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;
}

body::after {
    content: '';
    display: block;
    height: 50px; /* Set same as footer's height */
}

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

#kc-header-wrapper {
    font-size: 50px;
    font-family: Helvetica, Arial, sans-serif;
    /* text-transform: uppercase; */
	font-weight: bold;
    line-height: 1.2em;
    margin-bottom: 15px;
}

#kc-content {
    position: relative;
    color: black;
    margin-bottom: 10px;
}

#kc-content-wrapper {
    overflow-y: hidden;
    max-width: 400px;
    width: 90vw;
    margin: auto;
}

#kc-container-wrapper
{
    filter: drop-shadow(3px 3px 3px #222);
}
#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

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

.formGroupClass {
    margin-bottom: 15px;
}

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

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

.feedbackAreaClass {
    background-color: white;
    text-align: left;
}

.kcFormButtonsClass {
    margin: 20px;
    text-align: center;
}

#kc-login {
    background-color: orange;
    max-width: 300px;
    padding: 5px;
    font-size: 1em;
    font-weight: bold;
}
#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;
}

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

/* 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: "Open Sans", sans-serif;
    font-weight: normal;

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

.zocial.google {
    background-color: #dd4b39 !important;
}

.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"; }


.login-pf .container {
    padding: 1rem;
}

@media only screen and (min-width:415px){
    /* styles for width >= 415px*/

    #kc-header-wrapper {
        font-size: 5rem;
    }

    #kc-login {
        width: 200px;
    }
}  

@media only screen and (max-width:414px){
    /* styles for height smaller than 360px, 375px, 414px*/

    #kc-header-wrapper {
        font-size: 3.7rem;
    }

    #kc-login {
        width: 150px;
    }

    #kc-logo-wrapper {
        height: 20px;
        width: 65px;
        margin: 3px 15px;
    }

    #kc-logo {
        height: 27px;
    }

    body::after {
        height: 27px; /* Set same as footer's height 30px */
    }
}

@media only screen and (max-width:320px){
    /* styles for width smaller than 320px; */
    #kc-container-wrapper {
        width: 90vw;
    }
  }

  

  @media only screen and (min-height:415px){
    /* styles for height >= 415px; */
    #kc-container-wrapper {
        padding-top: 7rem;
        top: 12%;
        position: absolute;
        width: 100%;
    }


    .login-pf .container {
        padding-top: 1.5rem;
    }
  }

  /* styles for width <= 360px, 375px, 414px*/
  @media only screen and (max-height:414px){
    
    #kc-container-wrapper {
        padding-top: 3rem;
    }

    .login-pf .container {
        padding-top: 1.5rem;
    }

  }

  @media only screen and (max-height:320px){
    /* styles for height <= 320px; */
    #kc-container-wrapper {
        padding-top: 1.5rem;
    }
  }

  @media only screen and (max-height:812px){
    /* styles for height smaller than 812px; */
  }

  @media only screen and (max-height:740px){
    /* styles for height smaller than 736px, 740px */
  }

  @media only screen and (max-height:667px){
    /* styles for height smaller than 640px, 667px */
  }

  @media only screen and (max-height:568px){
    /* styles for height smaller than 568px; */
  }

