@font-face {
  font-family: Ubuntu-Medium;
  src: url(../font/Ubuntu-Medium.ttf);
}

@font-face {
  font-family: Ubuntu;
  src: url(../font/Ubuntu-Regular.ttf);
}

@media(min-width: 768px) {
  body {
    background-color: #F7F7F7;
  }

  body>div {
    padding: 3.5rem 5.5rem !important;
    box-shadow: 0 0 10px #00000017;
  }

  #kc-header-wrapper {
    font-size: 60px;
  }
}

html {
  height: 100%;
}

body {
  font: normal normal medium Ubuntu;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  margin: 0;
  flex-direction: column;
}

body>div {
  background-color: #fff;
  padding: 1rem;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

#kc-header-wrapper {
  font: normal normal medium Ubuntu-Medium;
  letter-spacing: 0;
  font-size: 45px;
  color: #2B2859;
  opacity: 1;
  margin-bottom: 29px;
}

#kc-page-title {
  font-size: 16px;
  line-height: 18px;
  font-weight: normal;
  margin: 0 0 30px;
}

#ls-logo {
  height: 24px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  grid-gap: 10px;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
}

input {
  width: 100%;
  box-sizing: border-box;
  display: block;
  height: 30px;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  border-radius: 0 3px 3px 0;
  border-left: none;
}

input:focus {
  border-color: #65b5f1;
  outline: 0;
  box-shadow: 0 0 5px #65b5f1;
}

.input-append {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr;
}

.input-icon {
  border-radius: 3px 0 0 3px;
  background-color: #222222;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.input-icon>svg {
  height: 14px;
}

.hide {
  display: none;
}

.eye {
  position: absolute;
  right: 0;
  width: 34px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.3;
  cursor: pointer;
}

.eye>svg {
  height: 16px;
}

.btn {
  text-decoration: none;
  font-family: Ubuntu, serif;
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  padding: 6px 12px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 3px;
  border: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #2E8FD0;
}

.btn-primary:active {
  color: #fff;
  background-color: #143954;
}

.btn-primary:hover {
  color: #fff;
  background-color: #2a6c9e;
}

.btn-link {
  display: flex;
  align-items: center;
  height: 24px;
  font-size: 14px;
  color: #343a40;
  text-decoration: none;
}

.btn-link:active {
  background-color: #8ac9fa;
}

.btn-link:hover {
  background-color: #c8e8ff;
}

.actions {
  padding-top: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-gap: 8px;
}

.connect-btn {
  white-space: nowrap;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  grid-gap: 10px;
}

.changepass-btn {
  display: grid;
  grid-template-columns: 15px 1fr;
  align-items: center;
  grid-gap: 10px;
}

.float-right {
  float: right;
}

footer {
  color: #D3D3D3;
  width: 100%;
  min-height: 40px;
  background-color: #222222;
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-right: 20px;
}

.box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.box:first-child>span {
  margin-right: auto;
}

.box:last-child>span {
  margin-left: auto;
}


footer div:nth-child(1) {
  display: none;
  margin-left: 18px;
}

footer a {
  opacity: 0.5;
  transition: opacity .15s ease-in-out;
  text-decoration: none;
}

footer a:hover {
  opacity: 1;
}

footer div:nth-child(3) {
  margin-right: 20px;
}

.copyright {
  justify-content: flex-start;
  margin-left: 18px;
  font-size: 14px;
}

@media(min-width: 1200px) {
  footer div:nth-child(1) {
    display: inherit;
  }

  .copyright {
    justify-content: center;
    margin-left: 0;
  }
}

.alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  text-align: center;
}

.alert-danger,
.alert-error {
  color: #c02b2b;
  background-color: #ffebeb;
  border-color: #f69e9e;
}

.alert-success {
  color: #23a237;
  background-color: #ebffee;
  border-color: #98e3a3;
}

.alert-info {
  color: #3586c3;
  background-color: #ebf7ff;
  border-color: #b1dfff;
}

.alert-warning {
  color: #e47513;
  background-color: #fff5eb;
  border-color: #ffca99;
}

span[class*='alert-'],
div[class*='alert-'] {
  font-size: 15px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  max-width: 326px;
}

span[class*='alert-'] svg,
div[class*='alert-'] svg {
  height: 16px;
}

span[class*='alert-'] span,
div[class*='alert-'] span {
  text-align: left;
}

.reset-actions {
  display: flex;
  justify-content: flex-end;
  grid-gap: 8px;
}

#kc-totp-settings {
  position: relative;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;

  text-align: left;
  max-width: 500px;
  font-size: 15px;
  display: grid;
  align-items: center;
  max-width: 326px;

  color: #3586c3;
  background-color: #ebf7ff;
  border-color: #b1dfff;
}

#kc-totp-settings p {
  margin: 0;
}

.qrcode-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

#kc-totp-secret-key {
  font-weight: 800;
  color: black;
}

.secret-key-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.try-another {
  margin-top: 2rem;
  justify-content: center;
  display: flex;
}

.select-2fa-parent {
  display: flex;
  grid-gap: 1rem;
}

.select-2fa-parent>div {
  max-width: 200px;
}

.totp-inputs {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  grid-gap: 6px;
  max-width: 300px;
}

.totp-inputs input {
  text-align: center;
}

input {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.full-input {
  border-radius: 3px;
  border-left: 1px solid #ced4da;
}

#cancelTOTPBtn {
  height: 36px;
}

#bit-notification-bar,
#bit-notification-bar-spacer {
  display: none;
}

.logout-sessions {
  display: flex;
  align-items: center;
  grid-gap: 1rem;
  margin-bottom: 1.5rem;
}

#logout-sessions {
  width: auto;
  height: auto;
}

.required {
  color: red;
}

.otp-opt > input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.otp-select {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 1rem;
}

.otp-opt  label {
    border: 1px solid #ced4da;
    display: block;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 3px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.otp-opt label:hover {background-color: #EBF7FF;}

.otp-opt input:checked ~ label {
    background-color: #C8E8FF;
    border-color: #8AC9FA;
}

.otp-select-label {
    margin-top: 0.5rem;
}
