.pf-v5-c-login {
    min-height: 600px;
    padding-bottom: 50px;
}

.pf-v5-c-login__container {
    max-width: 36rem;
}

@media (min-width: 768px) {
    div.pf-v5-c-login__main-header {
        grid-template-columns: 100%;
    }
}

@media (min-width: 1200px) {
    .pf-v5-c-login__container {
        grid-column-gap: unset;
        grid-template-columns: 36rem;
    }
}

.login-pf body {
    background: url("../img/keycloak-bg.png") no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 35px;
    border-bottom: thick double #a0a0a0;
    position: relative;
    top: 5px;
}

div.kc-title-text {
    background-image: url(../img/cd_top.png);
    background-repeat: no-repeat;
    color: white;
    height: 50px;
    margin-top: 15px;
    font-family: 'MS Pゴシック', sans-serif;
    font-size: 16pt;
    padding-left: 5px;
    line-height: 50px;
}

div.kc-page-name {
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 1.25rem;
}

div.kc-login-msg {
    font-size: 0.875rem;
}

div#footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
}

div#footer_message {
    height: 20px;
    line-height: 20px;
    text-indent: 14px;
    background: url(../img/cp_bg.png) repeat-x bottom left;
    color: #fff;
    font-size: 14px;
}

div.kc-align-right {
    text-align: right;
}

div.available-msg {
  color:red;
  font-size: 25px;
}

ul.kc-login-msg-list {
    list-style-type: disc;
    padding-top: 10px;
    padding-left: 20px;
}

#kc-email-resend-form {
    margin-bottom: 24px;
}



@media all and (-ms-high-contrast: none) {
  .pf-v5-c-login {
    display: block !important;
  }
  
  .pf-v5-c-input-group__item{
    display: block !important;    
  }

  .pf-v5-c-login__container {
    max-width: 400px !important;
    width: 90% !important;
    margin: 40px auto !important;
    padding: 20px !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    border: 1px solid #ddd !important;
  }

  input[type="text"], input[type="password"] {
    width: 100% !important;
    height: 32px !important;
    margin-bottom: 10px !important;
    padding: 6px 10px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #333 !important; 
  }

  button {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    font-size: 16px !important;
    background-color: #0066cc !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 15px !important;
    box-sizing: border-box !important;
  }

  label, input[type="checkbox"] {
    font-size: 13px !important;
    vertical-align: middle !important;
  }

  .kc-login-msg, .kc-page-name {
    text-align: center !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    word-break: break-word !important;
  }
  button.btn-toggle-password {
    /* position: absolute !important; */
    /* top: 0px;  */
    /* right: 10px !important; */
    width: 34px !important;
    height: 32px !important;  
    padding: 0 !important;  
    margin: 0 !important;
    border: none !important;
    /* background: transparent !important; */
    cursor: pointer !important;
    font-size: 18px !important;
    line-height: 36px !important;
    background-color: #fff !important;
    color: #000 !important;
  }
}

@font-face {
  font-family: Font Awesome\ 5 Free IE Fix;
  font-style: normal;
  font-weight: 900;
  src: url("fonts/fa-solid-900.woff") format("woff"),
       url("fonts/fa-solid-900.ttf") format("truetype");
}

.ie11 .fa,.fas {
  font-family: Font Awesome\ 5 Free IE Fix;
  font-weight: 900;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
