#login_blocks {
  display: none;
}

#spb-login_blocks .spb-controls {
  right: 9px;
  top: 8px;
}

.spb_overlay {
  position: fixed;
  z-index: 999999;
  left: auto;
  top: 0;
  width: 100%;
  height: auto;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  bottom: 0;
}

.spb_center {
  border: none;
  background: unset;
  padding: 0;
  margin: 0 auto !important;
  position: relative;
  top: 20px;
  left: auto;
}

@media only screen and (max-height: 619px) {
  .spb_center {
    padding: 0 0 20px 0;
  }
}

@media only screen and (min-height: 619px) {
  /*.spb_center {
     *       top: calc(50% - 310px);
}*/

  .spb_overlay {
    display: flex;
    align-items: center;
  }

  .spb_center {
    top: auto;
  }
}

.login-group .list-group-item {
  background: none;
}

.login-group ul.list-group li:first-child {
  display: none;
}

#login_blocks {
  max-width: 480px;
}

.login-group {
  background-color: var(--light_blue);
  background-image: url("../images/registration/clouds_q90.webp");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  position: relative;
  overflow: hidden;
}

.login-group .region {
  background-image: url("../images/registration/planet.svg");
  background-size: 129% auto;
  background-repeat: no-repeat;
  background-position: right center;
  margin: 0;
  padding: 20px;
}

@media only screen and (min-width: 440px) {
  #login_blocks.login-group .region {
    background-size: 100% auto;
  }
}

@media only screen and (min-width: 500px) {
  #login_blocks.login-group .region {
    background-position: right calc(100% - 20px);
  }
}

.login-group .region {
  display: flex;
  flex-direction: column;
}

.login-group .region > *:last-child {
  margin-bottom: 0;
}

.login-group span {
  background-color: unset !important;
}

.login-group .block-title {
  text-align: center;
}

.login-group,
.login-group a,
.login-group a.nav-link,
.login-group .block-title,
.login-group label,
.login-group .description {
  color: #1c1666;
}

.login-group a,
.login-group a.nav-link {
  color: white;
}

.login-group input {
  border: none;
  background-color: white;
  font-weight: bold;
}

.login-group input::placeholder {
  color: rgba(28, 22, 102, 0.48);
}

.login-group .description {
  font-size: 12px;
  line-height: 15px;
  color: #1c1666 !important;
  font-weight: bold;
  margin-top: 6px;
  width: calc(100% - 10px);
  padding: 0 5px;
  text-align: center;
}

.login-group #edit-mail--description {
  display: none;
}

.login-group .form-actions input {
  margin: 0;
  border-radius: 30px;
  padding: 10px;
}

.login-group .register-block {
  margin-bottom: 5px;
}

.login-group .form-type-email {
  margin-bottom: 25px !important;
}

.login-group .list-group-item {
  text-align: center;
  background: none;
  padding: 0;
}

@media only screen and (max-width: 500px) {
  .spb_center {
    width: calc(100% - 10px) !important;
  }
}

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

#login_blocks .reg-instruction {
  margin-left: auto;
  margin-right: auto;
  /*! width: calc(100% - 40px); */
  padding-left: 0;
  padding-right: 0;
}

.login-group .reg-instruction .field > *:last-child {
  margin-bottom: 0;
}

.login-group .title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  max-width: 455px;
  color: var(--dark_blue);
  margin: 31px 0 20px 0;
}

@media only screen and (max-width: 490px) {
  #login_blocks.login-group .title {
    padding: 0 35px;
  }
}

.login-group .reg-instruction .sub-title {
  line-height: 1.2em;
  font-size: 18px;
  color: var(--dark_blue);
  max-width: 420px;
  margin: 24px auto 21px auto;
  font-weight: 800;
}

.reg-instruction {
  font-weight: 800;
  text-align: center;
  line-height: 1.4em;
  font-size: 20px;
  margin-bottom: 20px;
}

.reg-instruction .block {
  margin: 0;
}

.reg-instruction .social {
  margin-bottom: 20px;
}

.reg-instruction-social .contextual-links {
  top: -100px !important;
}

@media only screen and (max-width: 400px) {
  .login-group .title {
    font-size: 18px;
  }

  .login-group .reg-instruction .sub-title {
    font-size: 16px;
  }

  .login-group .form-actions input {
    font-size: 12px !important;
  }
}

.login-group .block-social-auth .block-title {
  margin-bottom: 15px;
}

.login-group a.social-auth {
  margin: 0 auto;
  float: none;
  display: block;
  width: 50px;
  height: 50px;
  background-color: white;
  background-image: url("../images/registration/google_logo.svg");
  background-size: 30px auto;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  padding: 30px;
  border: 1px solid #eee;
}

.login-group ul.nav {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.login-group ul.nav.clearfix::after {
  display: none;
}

.login-group ul.nav li a {
  padding: 1px 15px;
  font-weight: bold;
  display: block;
  background-color: #eb4735;
  border-radius: 15px;
  font-size: 15px;
}

.login-group ul.nav li a:hover {
  background-color: #0b898a;
}

#sidebar-second .login-group {
  margin-bottom: 40px;
}

#sidebar-second .reg-instruction {
  line-height: 1.4em;
}

#sidebar-second .login-group ul.nav li a {
  font-size: 14px;
}

/*passwordless module correction*/
#passwordless-login p {
  display: none;
}

.passwordless-login label {
  display: none;
}

.login-group .register-block .item-list {
  display: none;
}

.spb-controls button {
  cursor: pointer !important;
  color: #000 !important;
  font-weight: normal !important;
}
