.login-pf body {
  background: #fff url(../img/bg.jpg) no-repeat 0 0;
  background-size: cover;
  height: 100%;
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
}

.login-pf body::before,
.login-pf body::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background-color:#1d262c;
  z-index: 0;
}

.login-pf body::before {
  top: 0; /* acts as header */
}

.login-pf body::after {
  bottom: 0; /* acts as footer */
}
#kc-header-wrapper {
  display: none;
}
.login-pf-page {
  z-index: 10;
  padding-top: 0;
}

.login-pf-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 40px;
  background-image: url('../img/company_logo.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100px auto;
  z-index: 1;
}

.login-pf-page::after {
  content: "Custom Trade Manager";
  position: absolute;
  font-weight: lighter;
  font-size: 10px;
  height: 40px;
  z-index: 1;
  color: white;
  top: 12px;
  left: 120px;
  width: 150px;
}

.card-pf {
  border-top: 0;
  width: 500px;
}

body, .pf-c-form-control {
  --pf-global--primary-color--100: #DB0011;
  --pf-global--primary-color--200: #DB0011;
}

button.pf-c-button.pf-m-control[aria-controls="password"]  {
  --pf-global--BorderColor--300: #ffffff;
  --pf-global--BorderColor--200: #ffffff;
 }
 
#kc-page-title {
  font-size: 16px;
  padding-top: 60px;
  font-weight: 500;
  text-align: left;
  position: relative;
  margin: 0;
}

#kc-page-title::before {
  content: "HSBC Custom Trade Manager";
  position: absolute;
  font-weight: 400;
  font-size: 27px;
  top: 5px;
  width: max-content;
  transform: translateX(-50%);
  left: 50%;
}

a {
  color: black;
  text-decoration: none;
}

@media (min-width: 768px) {
  .login-pf-page .card-pf {
      padding: 20px 40px 30px 40px;
  }
}

.pf-c-button[aria-controls="password"]:after {
  border: unset;
}

button.pf-c-button[aria-controls="password"].pf-m-control {
  border: 1px solid black;
  border-left: none;
  padding-block: 0;
}

input.pf-c-form-control {
  border: 1px solid black !important;
}

input:focus {
  outline: none;
  box-shadow: none;
  border-color: inherit;
}

ul.policy-links {
  margin-top: 1em;
  margin-bottom: 0;
  text-align: center;
}

ul.policy-links li {
  display: inline;
  padding: 0 1em;
}
