.left-panel {
  flex: 0 0 300px;
}

.right-panel {
  flex: 1 1 auto;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.65) translateY(-0.5rem) translateX(0.15rem) !important;
  color: #808080 !important;
  font-family: Golos Text;
  font-size: 16px;
  font-weight: 400;
  padding-left: 22px !important;
}

.form-control:focus ~ label {
  transform: scale(0.65) translateY(-0.5rem) translateX(0.15rem) !important;
  color: #808080 !important;
  font-family: Golos Text;
  font-size: 16px;
  font-weight: 400;
  padding-left: 22px !important;
}

.form-floating:focus ~ .label {
  transform: scale(0.65) translateY(-0.5rem) translateX(0.15rem) !important;
  color: red !important;
  font-family: Golos Text;
  font-size: 16px;
  font-weight: 400;
  padding-left: 16px !important;
}

.form-floating:focus ~ .floating-label {
  transform: scale(0.65) translateY(-0.5rem) translateX(0.15rem) !important;
  color: red !important;
  font-family: Golos Text;
  font-size: 16px;
  font-weight: 400;
  padding-left: 16px !important;
}

.form-floating > label {
  color: #808080 !important;
  font-family: Golos Text;
  font-size: 16px;
  font-weight: 400;
  line-height: 122%;
  padding: 18px 16px;
  text-wrap:nowrap;
}

.form-label {
  color: #808080 !important;
  font-family: Golos Text;
  font-size: 16px;
  font-weight: 400;
}

.danger-floating-label {
  color: #ff4e4e;
  font-style: normal;
  font-weight: 400;
  font-family: "Golos Text";
  line-height: 122%;
  font-size: 16px;
}

.floating-label {
  color: #808080;
  font-style: normal;
  font-weight: 400;
  font-family: "Golos Text";
  line-height: 122%;
  font-size: 16px;
}

.form-control-danger {
  background-color: #fff5f5 !important;
  border: 1px solid #ff4e4e !important;

  color: #ff4e4e !important;
}

.invalid-feedback {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 112%;
  /* or 13px */
  display: block;

  /* Danger 35 */

  color: #ff4e4e;

  margin-top: 8px;
  margin-bottom: 8px;
}

.form-floating {
  height: 56px !important;
  outline: 0 !important;
  margin-bottom: 16px;
}

.iconleft-button-text {
  flex: 1 1 auto;
  font-smooth: never;
  -webkit-font-smoothing: none;

  font-weight: 500;
  font-size: 16px;
  line-height: 122%;
  font-family: "Golos Text";
  color: white !important;
  text-align: center;
  height: 18px;

  height: 18px;
  margin-top: 14px;
  margin-bottom: 14px;
  margin-right: 16px;
}

.bpmn-input {
  padding-left: 16px !important;
  background-color: #fcfcfc !important;

  border-radius: 8px;

  min-height: 56px;
}

.form-floating > .form-control:focus {
  border-color: #cccccc;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-floating > .form-control {
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: none;
  height: 56px !important;
  font-family: "Golos Text";
  font-weight: 400;
  font-size: 16px;
  line-height: 122%;
  color: #1a2633;
}

.bpmn-button {
  width: 100%;
  background-color: #196DFF;
  color: white !important;
  border: 0 !important;
  display: flex;
  box-shadow: none;

  padding: 0 !important;
  border-radius: 4px;

  height: 46px;

  border: 0;
  outline: 0 !important;

  font-smooth: never;
  -webkit-font-smoothing: none;

  color: #1a2633;
  font-size: 14px;
  line-height: 130%;
  font-weight: 500;

  font-family: "Golos Text";
}

.bpmn-button:focus {
  outline: 0;
}

.login-pf body {
  background: white;
  background-size: cover;
  height: 100vh;
}

.login-pf-page {
  padding: 28px;
  height: 100%;
  display: flex;
}

.login-pf-header {
  margin-bottom: 0px !important;
}

.pf-c-form-control[aria-invalid="true"] {
  border-color: #ff6358;
  border-width: 1px;
}

.formcontainer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#kc-form-login {
  display: flex;
  flex-direction: column;
}

.username-block {
  flex: 0 0 auto;
  margin-bottom: 8px;
}

.password-block {
  flex: 0 0 auto;
  margin-bottom: 16px;
}

.image-container {
  flex: 0 0 auto;
  width: 220px;
  height: 37.89px;
  margin-bottom: 32px;
}

#kc-header-wrapper {
  visibility: hidden;
}

.pf-c-form__label-text {
  color: white;
  font: 500 14px/16px Roboto, sans-serif;
}

.card-pf {
  margin: 0 auto;
  background-color: white;
  box-shadow: none;
}

/* default - IE compatibility */
.pf-m-primary {
  color: #ffffff;
  background-color: #379aff !important;
  width: 50% !important;
  font: 500 14px/16px Roboto, sans-serif;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
  margin-bottom: 0px;
  display: flex;
  justify-content: center;
}

/*default values*/

/*IE compatibility*/
.pf-c-form-control {
  font-size: 14px;
  font-size: var(--pf-global--FontSize--sm);
  border-width: 1px;
  border-width: var(--pf-global--BorderWidth--sm);
  border-color: #ededed #ededed #8a8d90 #ededed;
  border-color: var(--pf-global--BorderColor--300) var(--pf-global--BorderColor--300) var(--pf-global--BorderColor--200) var(--pf-global--BorderColor--300);
  background-color: #ffffff;
  background-color: var(--pf-global--BackgroundColor--100);
  height: 36px;
  height: calc(var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) + var(--pf-c-form-control--BorderWidth) * 2 + var(--pf-c-form-control--PaddingTop) + var(--pf-c-form-control--PaddingBottom));
  padding: 5px 0.5rem;
  padding: var(--pf-c-form-control--PaddingTop) var(--pf-c-form-control--PaddingRight) var(--pf-c-form-control--PaddingBottom) var(--pf-c-form-control--PaddingLeft);
}

.pf-c-form-control:hover,
.pf-c-form-control:focus {
  border-bottom-color: #0066cc;
  border-bottom-color: var(--pf-global--primary-color--100);
  border-bottom-width: 2px;
  border-bottom-width: var(--pf-global--BorderWidth--md);
}

.pf-c-form-control[aria-invalid="true"] {
  border-bottom-color: #c9190b;
  border-bottom-color: var(--pf-global--danger-color--100);
  border-bottom-width: 2px;
  border-bottom-width: var(--pf-global--BorderWidth--md);
}

.pf-c-alert.pf-m-inline {
  margin-bottom: 0.5rem;
  /* default - IE compatibility */
  margin-bottom: var(--pf-global--spacer--sm);
  padding: 0.25rem;
  padding: var(--pf-global--spacer--xs);
  border: solid #ededed;
  border: solid var(--pf-global--BorderColor--300);
  border-width: 1px;
  border-width: var(--pf-c-alert--m-inline--BorderTopWidth) var(--pf-c-alert--m-inline--BorderRightWidth) var(--pf-c-alert--m-inline--BorderBottomWidth) var(--pf-c-alert--m-inline--BorderLeftWidth);
  display: -ms-flexbox;
  display: grid;
  -ms-grid-columns: max-content 1fr max-content;
  grid-template-columns: max-content 1fr max-content;
  grid-template-columns: var(--pf-c-alert--grid-template-columns);
  grid-template-rows: 1fr auto;
  grid-template-rows: var(--pf-c-alert--grid-template-rows);
}

.pf-c-alert.pf-m-inline::before {
  position: absolute;
  top: -1px;
  top: var(--pf-c-alert--m-inline--before--Top);
  bottom: -1px;
  bottom: var(--pf-c-alert--m-inline--before--Bottom);
  left: 0;
  width: 3px;
  width: var(--pf-c-alert--m-inline--before--Width);
  content: "";
  background-color: #ffffff;
  background-color: var(--pf-global--BackgroundColor--100);
}

.pf-c-alert.pf-m-inline.pf-m-success::before {
  background-color: #92d400;
  background-color: var(--pf-global--success-color--100);
}

.pf-c-alert.pf-m-inline.pf-m-danger::before {
  background-color: #c9190b;
  background-color: var(--pf-global--danger-color--100);
}

.pf-c-alert.pf-m-inline.pf-m-warning::before {
  background-color: #f0ab00;
  background-color: var(--pf-global--warning-color--100);
}

.pf-c-alert.pf-m-inline .pf-c-alert__icon {
  padding: 1rem 0.5rem 1rem 1rem;
  padding: var(--pf-c-alert--m-inline__icon--PaddingTop) var(--pf-c-alert--m-inline__icon--PaddingRight) var(--pf-c-alert--m-inline__icon--PaddingBottom) var(--pf-c-alert--m-inline__icon--PaddingLeft);
  font-size: 16px;
  font-size: var(--pf-c-alert--m-inline__icon--FontSize);
}

.pf-c-alert.pf-m-success .pf-c-alert__icon {
  color: #92d400;
  color: var(--pf-global--success-color--100);
}

.pf-c-alert.pf-m-success .pf-c-alert__title {
  color: #486b00;
  color: var(--pf-global--success-color--200);
}

.pf-c-alert.pf-m-danger .pf-c-alert__icon {
  color: #c9190b;
  color: var(--pf-global--danger-color--100);
}

.pf-c-alert.pf-m-danger .pf-c-alert__title {
  color: #a30000;
  color: var(--pf-global--danger-color--200);
}

.pf-c-alert.pf-m-warning .pf-c-alert__icon {
  color: #f0ab00;
  color: var(--pf-global--warning-color--100);
}

.pf-c-alert.pf-m-warning .pf-c-alert__title {
  color: #795600;
  color: var(--pf-global--warning-color--200);
}

.pf-c-alert__title {
  font-size: 14px;
  /* default - IE compatibility */
  font-size: var(--pf-global--FontSize--sm);
  padding: 5px 8px;
  padding: var(--pf-c-alert__title--PaddingTop) var(--pf-c-alert__title--PaddingRight) var(--pf-c-alert__title--PaddingBottom) var(--pf-c-alert__title--PaddingLeft);
}

.pf-c-button {
  padding: 0.375rem 1rem;
  padding: var(--pf-global--spacer--form-element) var(--pf-global--spacer--md);
  color: #379aff;
}

/* default - IE compatibility */
.pf-m-primary:hover {
  background-color: #004080;
  background-color: var(--pf-global--primary-color--200);
}

/* default - IE compatibility */
.pf-c-button.pf-m-control {
  border: solid 1px;
  border: solid var(--pf-global--BorderWidth--sm);
  border-color: rgba(230, 230, 230, 0.5);
}

/*End of IE compatibility*/

#kc-locale ul {
  display: none;
  position: absolute;
  background-color: #fff;
  list-style: none;
  right: 0;
  top: 20px;
  min-width: 100px;
  padding: 2px 0;
  border: solid 1px #bbb;
}

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

#kc-locale ul li a {
  display: block;
  padding: 5px 14px;
  color: #000 !important;
  text-decoration: none;
  line-height: 20px;
}

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

#kc-locale-dropdown a {
  color: #4d5258;
  background: 0 0;
  padding: 0 15px 0 0;
  font-weight: 300;
}

#kc-locale-dropdown a:hover {
  text-decoration: none;
}

a#kc-current-locale-link {
  display: block;
  padding: 0 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:hover {
  color: #0099d3;
}

.kc-logo {
  width: 100%;
}

.kc-logo-wrapper {
  background-image: url(../img/keycloak-logo-2.png);
  background-repeat: no-repeat;
  height: 63px;
  margin: 62px auto 0;
}

div.kc-logo-text {
  background-image: url(../img/keycloak-logo-text.png);
  background-repeat: no-repeat;
  height: 63px;
  margin: 0 auto;
}

div.kc-logo-text span {
  display: none;
}

#kc-header {
  color: #ededed;
  overflow: visible;
  white-space: nowrap;
  visibility: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0px;
  width: 0px;
}

#kc-content {
  flex: 0 0 auto;
}

#kc-attempted-username {
  font-size: 20px;
  font-family: inherit;
  font-weight: normal;
  padding-right: 10px;
}

#kc-username {
  text-align: center;
  margin-bottom: -10px;
}

#kc-webauthn-settings-form {
  padding-top: 8px;
}

#kc-content-wrapper {
  margin-top: 20px;
}

#kc-form-wrapper {
}

#kc-info {
  margin: 20px -40px -30px;
}

#kc-info-wrapper {
  font-size: 13px;
  padding: 15px 35px;
  background-color: #f0f0f0;
}

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

#kc-form-options .checkbox {
  margin-top: 0;
  color: #72767b;
}

#kc-terms-text {
  margin-bottom: 20px;
}

#kc-registration {
  margin-bottom: 0;
}

/* TOTP */

.subtitle {
  text-align: right;
  margin-top: 30px;
  color: #909090;
}

.required {
  #color: #a30000;
  /* default - IE compatibility */
  #color: var(--pf-global--danger-color--200);
  color: #ff6358;
  font: 500 14px/16px Roboto, sans-serif;
}

ol#kc-totp-settings {
  margin: 0;
  padding-left: 20px;
}

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

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

#kc-totp-secret-key {
  background-color: #fff;
  color: #333333;
  font-size: 16px;
  padding: 10px 0;
}

/* 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 0;
}

#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-links {
  margin-top: 20px;
}

.kc-social-provider-logo {
  font-size: 23px;
  width: 30px;
  height: 25px;
  float: left;
}

.kc-social-gray {
  color: #737679;
  /* default - IE compatibility */
  color: var(--pf-global--Color--200);
}

.kc-social-item {
  margin-bottom: 0.5rem;
  /* default - IE compatibility */
  margin-bottom: var(--pf-global--spacer--sm);
  font-size: 15px;
  text-align: center;
}

.kc-social-provider-name {
  position: relative;
  top: 3px;
}

.kc-social-icon-text {
  left: -15px;
}

.kc-social-grid {
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  grid-column-end: span 6;
  --pf-l-grid__item--GridColumnEnd: span 6;
}

.kc-social-grid .kc-social-icon-text {
  left: -10px;
}

.kc-login-tooltip {
  position: relative;
  display: inline-block;
}

.kc-social-section {
  text-align: center;
}

.kc-social-section hr {
  margin-bottom: 10px;
}

.kc-login-tooltip .kc-tooltip-text {
  top: -3px;
  left: 160%;
  background-color: black;
  visibility: hidden;
  color: #fff;

  min-width: 130px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  padding: 5px;

  position: absolute;
  opacity: 0;
  transition: opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
  visibility: visible;
  opacity: 0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
  content: " ";
  position: absolute;
  top: 15px;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}

#kc-container-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.login-pf .container {
  padding-right: 80px;
}

#kc-locale {
  position: relative;
  text-align: right;
  z-index: 9999;
}

@media (max-width: 767px) {
  .login-pf body {
    background: white;
  }

  #kc-header {
    visibility: hidden;
    margin: 0 !important;
    padding: 0 !important;
    height: 0px;
    width: 0px;
  }

  #kc-header-wrapper {
    visibility: hidden;
  }

  div.kc-logo-text {
    margin: 0;
    width: 150px;
    height: 32px;
    background-size: 100%;
  }

  #kc-form {
    float: none;
  }

  #kc-info-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
  }

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

  #kc-locale {
    position: absolute;
    width: 200px;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 9999;
  }

  #kc-logo-wrapper {
    background-size: 100px 21px;
    height: 21px;
    width: 100px;
    margin: 20px 0 0 20px;
  }
}

.card-pf form.form-actions .btn {
  float: right;
  margin-left: 10px;
}

#kc-form-buttons {
  margin-top: 20px;
}

.login-pf-brand {
  margin-top: 20px;
}

/* Internet Explorer 11 compatibility workaround for select-authenticator screen */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .select-auth-box-parent {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    cursor: pointer;
  }

  .select-auth-box-headline {
    font-size: 16px;
    color: #06c;
    font-weight: bold;
  }

  .select-auth-box-desc {
    font-size: 14px;
  }

  .pf-l-stack {
    flex-basis: 100%;
  }
}

/* End of IE11 workaround for select-authenticator screen */

.select-auth-box-arrow {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.select-auth-box-icon {
  display: flex;
  flex: 0 0 2em;
  justify-content: center;
  margin-right: 1rem;
  margin-left: 3rem;
}

.select-auth-box-parent {
  border-top: 1px solid var(--pf-global--palette--black-200);
  padding-top: 1rem;
  padding-bottom: 1rem;
  cursor: pointer;
}

.select-auth-box-parent:hover {
  background-color: #f7f8f8;
}

.select-auth-container {
  padding-bottom: 0px !important;
}

.select-auth-box-headline {
  font-size: var(--pf-global--FontSize--md);
  color: var(--pf-global--primary-color--100);
  font-weight: bold;
}

.select-auth-box-desc {
  font-size: var(--pf-global--FontSize--sm);
}

/*phone*/
@media (max-width: 767px) {
  .login-pf-page .card-pf {
    max-width: none;
    #margin-left: 0;
    #margin-right: 0;
    padding-top: 0;
    border-top: 0;
    box-shadow: 0 0;
  }

  .kc-social-grid {
    grid-column-end: 12;
    --pf-l-grid__item--GridColumnEnd: span 12;
  }

  .kc-social-grid .kc-social-icon-text {
    left: -15px;
  }
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}

#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}

.login-pf-page .btn-primary {
  margin-top: 0;
}

.login-pf-page .list-view-pf .list-group-item {
  border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
  width: 100%;
}

.no-bottom-margin {
  margin-bottom: 0;
}

#kc-back {
  margin-top: 5px;
}
