.login-pf {
    background: none;
}

body {
    background-repeat: no-repeat !important;
    background: linear-gradient(180deg, #E9F4F6 7.92%, rgba(245, 248, 249, 0.2) 64.29%, rgba(255, 255, 255, 0.6) 100%);
}

#kc-login, #kc-login:hover, #kc-reset-password-form .btn-primary, #kc-passwd-update-form .btn-primary {
    background-image: none;
    background-color: #4C636F;
    width: auto;
    margin: 0 auto;
    height: 44px;
    border: none;
    border-radius: 22px;
    padding: 13px 16px;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    text-transform: capitalize;
}

.form__input.error {
    border-color: #ba2d2d;
}

#kc-page-title {
    padding: 0px;
    margin: 0px;
    text-align: left;
    white-space: normal;
    font-size: 20px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 1.4px;
    color: #2d3439;
}

.form-control, .form-control:hover, .form-control:focus {
    box-shadow: none;
    background: none;
    border-color: inherit;
}

#ljs-toggle {
    border: none !important;
    text-decoration: none !important;
    font-family: Montserrat, sans-serif;
    text-transform: capitalize !important;
}

#js-current-lang:hover {
    background: transparent;
}

#ljs-menu a {
    text-decoration: none !important;
    font-family: Montserrat, sans-serif;
    text-transform: capitalize !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

/*.form_control, .form-control:focus, .form-control:hover {*/
/*    box-shadow: none;*/
/*}*/

#provider-login {
    display: none;
    margin-top: -2em;
    color: white !important;
}

.visible {
    display: block !important;
}

.joor-login #top-left-navigation #joor-logo {
    width: 112px;
    height: 41px;
}

.joor-login #ljs-menu {
    top: 45px;
}

.login-pf-page {
    font-family: Montserrat, sans-serif;
}

.joor-login ul {
    list-style-type: none;
}

.header-image {
    margin-top: 20px;
}

.text-center-align {
    text-align: center;
}

.full-width {
    width: 100%;
}

error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

#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;
    width: 300px;
    margin: 62px auto 0;
}

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

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

#kc-header {
    color: #000000;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;
}

#kc-content {
    width: 100%;
}

.hidden {
    display: none;
}

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

#kc-info-wrapper {
    font-size: 13px;
}

#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: 15px;
}

/* TOTP */

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-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before{ content: "\f15d"; }
.zocial.stackoverflow:before{ color: inherit; }


.login-pf-page .card-pf {
    min-width: 100%;
    height: 100%;
    margin-top: 100px;
}

@media (min-width: 768px) {
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

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

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

@media (max-width: 767px) {

    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: left;
    }

    #kc-header-wrapper {
      font-size: 16px;
      font-weight: bold;
      padding: 20px 60px 0 0;
      color: #72767b;
      letter-spacing: 0;
    }

    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);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 15px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

    .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;
    }

}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

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

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

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.card-pf {
  box-shadow: none !important;
  background: none !important;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 500px;
  border-top: 0;
}

/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 20px;
      margin-right: 20px;
      padding: 20px 20px 30px 20px;
    }
}
@media (max-width: 767px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 0;
      margin-right: 0;
      padding-top: 0;
    }
    .card-pf.login-pf-accounts{
      max-width: none;
    }

    #nav-wrapper, #ljs-toggle {
        display: none !important;
    }

    #top-center-navigation {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.login-pf-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-pf-settings {
    margin-top: -1em;
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  .login-pf-page .login-pf-social-section:first-of-type {
    padding-right: 39px;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }
  .login-pf-page .login-pf-social-section:last-of-type {
    padding-left: 40px;
  }
  .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
  }
}

.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}
.login-pf-page .login-pf-social-link a {
  padding: 2px 0;
}

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

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

/* new code for the revamp */

/* common for login & forget password */

body {
    overflow: hidden;
    overflow-y: auto;
}

body.nav-fixed #top-navigation {
    margin-top: 0 !important;
}

#top-center-navigation {
    position: relative;
}

.title-wrapper {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column;
   
}

.title-centered {
    display: flex;
    flex-direction: column;
    text-align: center;
}

#nav-container {
    font-family: Montserrat, sans-serif;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 0px;

    a {
        font-size: 16px;
        color: #008bad;
        line-height: 20px;
        
    }

    a:hover {
        color: #9ee4f0;
        text-decoration: none;
        transition: color 0.2s;
    }
}

#nav-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;
}

#top-navigation {
    position: relative;
    top: 50px;
    background-color: transparent !important;
    box-shadow: none !important;
}

#joor-logo {
    margin: 0 !important;
}

/* language dropdown */

.button__border a {
    text-transform: capitalize !important;
}

#ljs-toggle:hover {
    background: transparent !important;
}

#ljs-toggle:hover > a {
    color: #323E48 !important;
}

.joor-login #ljs-menu {
    left: 20px;
    right: 0px;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

.joor-login #ljs-menu > ul {
    padding: 0;
}

/* - */

#separator {
    border: 1px solid rgba(205, 212, 218, 1); 
    width: 100%;
}

.subtitle {
    color: rgba(0, 0, 0, 1);
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
}

.card-width {
    max-width: 530px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#kc-form-buttons {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 20px;
}

#kc-form-buttons > input {
    background-color: rgba(50, 62, 72, 1) !important;
    color: white !important;
    border-radius: 5px !important;
    padding: 8px 16px 8px 16px !important;
    font-size: 12px !important;
    font-family: Montserrat, sans-serif;
    text-transform: capitalize !important;
    width: 100% !important; 
}

#links-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;

    p {
        color: rgba(0, 0, 0, 1);
        font-size: 12px;
        line-height: 16px;
        font-weight: 500;
    }

    a {
        font-size: 12px;
        line-height: 16px;
        color: #008bad;
        font-weight: 500;
    }

    a:hover {
        color: #9ee4f0;
        text-decoration: none;
        transition: color 0.2s;
    }
}

/* login */

#kc-login-btn {
    background-color: rgba(50, 62, 72, 1);
    color: white;
    border-radius: 5px;
    padding: 8px 16px 8px 16px;
    font-size: 12px;
    font-family: Montserrat, sans-serif;
    text-transform: capitalize; 
}

.link {
    font-size: 12px;
    color: #008bad !important;
    line-height: 16px;
    font-weight: 500;
}

.link:hover {
    color: #9ee4f0;
    text-decoration: none;
    transition: color 0.2s;
}

#remember-me-checked, #remember-me-unchecked {
    color: rgba(0, 0, 0, 1);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    margin-top: 3px;
}

#username, #password {
    max-width: 100%;
    border: 1px solid rgba(140, 155, 168, 1);
    border-radius: 5px;
}

#username {
    margin-bottom: 0px;
}

#password {
    margin-bottom: 24px;
}

#username.form__input.error {
    border-color: #ba2d2d;
}

#password.form__input.error {
    border-color: #ba2d2d;
}

#log-in {
    font-size: 20px;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
    margin-top: 48px;
}

#provider-login {
    background-color: rgba(50, 62, 72, 1) !important;
    color: white !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    font-family: Montserrat, sans-serif;
    text-transform: capitalize !important;
    width: 100% !important;
    margin-top: 16px;
}

.error-icon {
    background-image: url(../icons/exclamation.svg);
    height: 24px;
    width: 24px;
    background-color: red;
    border-radius: 40px 0 0 40px;
    padding: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.error-pill {
    display: flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    background: rgba(254, 236, 236, 1);
    border: 1px solid red;
    padding: 0 12px 0 0px;
    border-radius: 40px;
    margin: auto;
}

.alert {
    margin-left: auto;
    margin-right: auto;
}

/* forgot password */

.back-to-login-wrapper {
    width: 530px; 
    margin-top: 30px; 
    margin-bottom: 10px;
}

#back-to-login {
    font-weight: 500;
    font-size: 12px;
    color: rgba(0, 139, 173, 1);
}

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

#hint-wrapper {
    font-size: 14px;
    margin-bottom: 30px;
}

#password-requirements {
    font-size: 14px;
    line-height: 2;
}

#password-requirements ul {
    font-size: inherit;
    list-style: none;
    padding-left: 0;
}

#password-requirements li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 4px;
    line-height: 1.5;
}

#password-requirements li.success {
  color: green;
}

#password-requirements li.success::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: green;
  font-weight: bold;
}

#password-requirements li.error {
  color: #cc0000;
}

#password-requirements li.error::before {
  content: '✖';
  position: absolute;
  left: 0;
  color: #cc0000;
  font-weight: bold;
}

#support-email-link {
    color: #0088ce;
}

#support-email-link:hover {
    text-decoration: none;
}
