/* higher specificity (0,1,1) beats PatternFly html { display: flex } (0,0,1) */
html.login-pf {
  display: block !important;
  height: 100%;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* background cleared from body — image lives only on the content area */
.login-pf body {
  background: none;
}

.pf-c-form-control:hover {
  border-bottom-color: #005776;
}

button, input, optgroup, select, textarea {
  color: #005776;
}

a {
  color: #2175c9;
}

.pf-c-button.pf-m-control::after {
  border-color: #d9d9d9;
}

.card-pf {
  box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  border-top: 0;
  padding: 0;
  min-width: 500px;
  background-color: #ffffff;
}

@media (max-width: 500px) {
  .card-pf {
    min-width: 240px;
  }
}

/* .login-pf-page is the flex child between header and footer; centers the card */
.login-pf-page {
  flex: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  max-width: none;
  background-color: #f5f5f5;
  background-image: url("../img/X-siemens-bg-image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1000px) {
  .login-pf-page {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

.pf-c-button.pf-m-primary {
  background-color: #005776;
  color: #ffffff;
}


.pf-c-form-control {
  border-radius: 2px;
  border-color: #d9d9d9;
}

@media (max-width: 767px) {
  #kc-info {
    margin: 20px 0 -30px;
  }
}

.btn-lg {
  border-radius: 0;
}

.login-pf-page-header {
    background: url(../img/wordmarkAIHub.svg);
    background-repeat: no-repeat;
    background-position: center;
  }

#kc-header {
    width: 100%;
    height: 36px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

#kc-header-logo {
    height: 16px;
}

#kc-footer {
    width: 100%;
    background: #f5f5f5;
    padding: 8px 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

#kc-page-title {
    font-weight: bold;
}