body {
  margin: 0;
  padding: 0;
}

body.user-login .main-container > .container > .row.g-0 > .col-12 {
  width: 100%;
}

body.user-login {
  --primary-color: #359f3d;
}

body section.block-system {
  max-width: 796px;
  margin: 0 auto;
}

body.user-login section.block-system form {
  position: relative;
}

body.user-login section.block-system form fieldset {
  background-color: var(--color-fff);
  /* padding: 25px; */
  padding: 20px;
  border-radius: 12px;
  margin: 0;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}
.user-register-login .password-confirm-message {
  font-size: 0.875rem;
}
span.form-required {
  margin: 0 3px;
  color: red !important;
}
/* body.user-login form fieldset > legend { */
body.user-login form fieldset[id="edit-username-login"] > legend {
  position: absolute;
  /* top: 20px; */
  top: 17px;
  left: 20px;
  font-size: 14px;
}

/* Task #383682 28-11-24 */
body.user-login .fieldset-wrapper .card__nested-section {
  margin: 0px;
  margin-top: 50px;
  font-size: 14px;
  margin-left: -20px;
  margin-right: -20px;
}

.user-login .form-actions input.button {
  border: none;
}
body.user-login .form-item-persistent-login {
  position: absolute;
  /* bottom: 200px; */
  bottom: 175px;
  left: 20px;
  display: flex;
  gap: 5px;
}
body.user-login form:has(.captcha) .form-item-persistent-login {
  /* bottom: 345px; */
  bottom: 195px;
}
body.user-login .form-item-persistent-login input {
  /* position: unset !important;
  opacity: 1 !important;
  width: 20px;
  height: 20px; */
  display: none;
}

body.user-login .form-item-persistent-login label {
  position: relative;
  /* padding-left: 0px; */
  margin: 0;
  /* margin-top: 4px; */
  color: #666;
  font-weight: 600;
}

/* body.user-login .form-item-persistent-login label::after { */
/* content: none; */
/* } */

body.user-login #edit-actions {
  width: 100%;
}

/* body.user-login #edit-actions input[type="submit"] {
  background-color: var(--color-fff);
  width: 180px;
  border-radius: 24px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--loadmore-btn-color);
  border: 1px solid var(--loadmore-btn-color);
  margin: 57px auto 0;
  box-shadow: none;
} */

/* body.user-login #edit-actions input[type="submit"]:hover {
  box-shadow: none;
  background-color: var(--loadmore-btn-color);
  color: var(--color-fff);
} */
.block-page-title-block .section-title {
  padding-bottom: 74px;
}
body.user-login #edit-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0px !important;
}

/* REGISTER */
body:not(.enhanced_user_page) .card:not(.card__block .card) {
  width: 100% !important;
}

.field--name-profile-profiles > details > summary {
  display: none;
}

.details-wrapper.card-body {
  border: 0;
  padding: 0px;
}

details {
  border: 0;
}
body.user-register-login .field--name-profile-profiles fieldset {
  padding: 0 !important;
}
body.user-register-login .user-register-form > .card > .card__block .card {
  border-radius: 0;
  padding: 0px;
}
body.user-register-login .field--name-profile-profiles {
  margin-bottom: 0px;
}

body.user-register-login .user-register-form > .card > .card__block > fieldset {
  padding: 0;
}
body.user-register-login .user-register-form > .card > .card__block > fieldset > legend {
  display: none;
}
body.user-register-login .form-type-email {
  margin-bottom: 1rem;
  margin-top: 15px; /*28-11-24*/
}
body.user-register-login .form-type-password-confirm > .form-item:not(:last-child) {
  margin-bottom: 1rem;
}

/* ORGANIZATION */
.field--name-field-organisation-name {
  margin-bottom: 0px;
}

.field--name-organisation-profiles > details > summary {
  display: none;
}

.password-parent {
  position: relative;
  overflow: visible;
}

body.user-register-login section.block-system form fieldset {
  overflow: visible;
}

body.user-register-login .card__nested-section {
  margin: 50px -25px -25px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

/*************************login redirect page************************************/
.path-registered .msg-container,
.path-redirect-profile .msg-container {
  border-radius: 24px;
  padding: 24px;
  padding: 100px 30px;
  border: 1px solid #d2d2d2;
  font-size: 16px;
  line-height: 26px;
  background-color: #fff;
  margin-top: 50px;
  color: #000;
}
.path-redirect-profile .msg-container {
  text-align: center;
}
.path-redirect-profile .msg-container {
  font-weight: 700;
}

.path-redirect-profile .profile-wrapper a {
  padding: 10px 20px;
  background-color: #0071b8;
  text-transform: uppercase;
  color: #fff;
  display: block;
  width: 214px;
  margin: 15px auto 0;
  font-size: 15px;
}

.path-registered .msg-container a {
  color: #03abe3;
  font-weight: bold;
}

/********************sign up 12-11-24***********************************/
.user-login .openid-connect-login-form form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  padding: 0;
}

.user-login .openid-connect-login-form form .ctm-openid-title {
  font-size: 14px;
  /* width: 100%; */
  text-align: center;
  display: block;
  /* letter-spacing: 2px; */
  margin: 20px 0;
}

.user-login .openid-connect-login-form form input {
  width: 35px;
  height: 35px;
  font-size: 0;
  border-radius: 50%;
  margin-left: 7px;
  margin-right: 7px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  border: 0;
}

.user-login .openid-connect-login-form form input[data-drupal-selector="edit-openid-connect-client-google-login"] {
  background: url(../../icons/login/google.svg) no-repeat center;
  background-color: #ea4335;
}

.user-login .openid-connect-login-form form input[data-drupal-selector="edit-openid-connect-client-facebook-login"] {
  background: url(../../icons/login/fb.svg) no-repeat center;
  background-color: #1877f2;
}

.user-login .openid-connect-login-form form input[data-drupal-selector="edit-openid-connect-client-linkedin-login"] {
  background: url(../../icons/login/linkedin.svg) no-repeat center;
  background-color: #007bb5;
}
.user-login .openid-connect-login-form form input:hover {
  background-color: #394d4a;
}
.user-login.not-logged-in .user-form .card:not(.card__block .card) {
  border-radius: 12px;
  padding: 20px 20px 0;
}
body.user-login section.block-system form fieldset {
  border-radius: 12px;
  /* padding-bottom: 0px; */
}
body.user-login .card__nested-section {
  border-radius: 0 !important;
  border-bottom: 1px solid #e6e6e6;
}
.user-login .form-required::after {
  content: none;
}
.section-title {
  text-transform: capitalize;
}
form:not(.layout-builder-configure-block) [type="checkbox"]:checked + label:before {
  border-right: 2px solid #555555;
  border-bottom: 2px solid #555555;
  top: -1px;
}
form:not(.layout-builder-configure-block) [type="checkbox"] + label:after {
  height: 20px;
  width: 20px;
  background-color: transparent;
  border: 2px solid #555555;
  top: -1px !important;
  z-index: 0;
}
.ctm-openid-title,
body.user-login section.block-system form fieldset,
.help-block {
  color: #666;
  font-weight: 600;
}
body.user-login form fieldset[id="edit-username-login"] > .fieldset-wrapper {
  position: relative;
}
/* body.user-login
  form
  fieldset[id="edit-username-login"]
  > .fieldset-wrapper::after {
  content: "";
  width: calc(100% + 40px);
  height: 1.4px;
  background-color: #ececec;
  position: absolute;
  left: -20px;
  top: -10px;
} */

body.user-login form fieldset[id="edit-username-login"] > .fieldset-wrapper .form-item:nth-child(2) {
  /* margin-top: 10px; */
  margin-top: 20px;
}

.form-type-password .help-block a:hover {
  color: var(--primary-color);
}

form:not(.layout-builder-configure-block) input.form-control.form-type-textfield {
  /* border-color: #000 !important; */
  outline: 2px solid #000 !important;
  border: 2px solid #000 !important;
  border: none;
  outline-offset: 0;
}
.user-register-login.not-logged-in .main-container {
  padding-bottom: 60px;
}

/* 02-12-2024 */
/* body.user-login #edit-actions input[type="submit"] {
  border: none !important;
} */
.user-register-login .user-register-form form:not(.layout-builder-configure-block) input.form-control.form-type-textfield {
  /* border-color: #000 !important; */
  border: 2px solid;
  outline: 2px solid #000 !important;
  /* outline-offset: 0; */
  /* border: none;29-11-24*/
}

.user-register-login .user-register-form input {
  border: 2px solid;
}

/* Forgot password */
.social-user-password-form > .card > .card__block,
.reactivate-form > .card > .card__block {
  padding: 0px;
  position: unset;
}
body.user-login form fieldset[id="edit-username-login"] > .fieldset-wrapper::after {
  content: "";
  width: calc(100% + 40px);
  height: 1.4px;
  background-color: #ececec;
  position: absolute;
  left: -20px;
  top: -10px;
}
.social-user-password-form > .card,
.reactivate-form > .card {
  padding: 20px;
  padding-top: 60px;
  color: #666;
  font-weight: 600;
  border-radius: 12px;
  overflow: visible;
}
form fieldset[id="edit-forgot"] > legend {
  position: absolute;
  /* top: 20px; */
  top: 17px;
  left: 20px;
  font-size: 14px;
}
.social-user-password-form,
.reactivate-form {
  position: relative;
  padding-bottom: 96px;
}
.social-user-password-form > .card > .card__block > fieldset > .fieldset-wrapper,
.reactivate-form > .card > .card__block > fieldset > .fieldset-wrapper {
  margin-top: 15px;
}
.social-user-password-form > .card > .card__block > fieldset > .fieldset-wrapper > p,
.reactivate-form > .card > .card__block > p {
  font-size: 0.75rem;
  margin-top: 5px;
}
.social-user-password-form .fieldset-wrapper .card__nested-section,
.form.reactivate-form .fieldset-wrapper .card__nested-section {
  font-size: 14px;
  border-radius: 0 0 12px 12px;
}
form fieldset[id="edit-forgot"] > .fieldset-wrapper::after {
  content: "";
  width: calc(100% + 40px);
  height: 1.4px;
  background-color: #ececec;
  position: absolute;
  left: -20px;
  top: -10px;
}
form fieldset[id="edit-forgot"] > .fieldset-wrapper {
  position: relative;
}
form.social-user-password-form #edit-actions,
form.reactivate-form #edit-actions {
  position: absolute;
  bottom: -96px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0px;
}
.social-user-password-form #edit-actions input[type="submit"],
.reactivate-form #edit-actions input[type="submit"] {
  border: 0 !important;
}
.reactivate-form > .card {
  padding-top: 20px;
}
.reactivate-form > .card > .card__block > p {
  margin-bottom: 0px;
}
.user-form input:not(.button),
.social-user-login-form input:not(.button) {
  border: 1px solid #ccc !important;
}
.field--name-field-organisation-name label {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 0.5rem;
}
.social-user-password-form input:not(.button),
.reactivate-form input:not(.button) {
  border: 1px solid #ccc;
  font-size: 14px;
  line-height: 20px;
}
.path-profile-completion .container {
  padding-top: 60px;
}
.path-profile-completion a {
  color: var(--basicColor);
}
.path-profile-completion .post-wrapper a,
.path-profile-completion .community-wrapper a {
  padding: 8px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  /* border: 2px solid var(--primary-color); */
  color: var(--color-fff);
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  border-radius: 24px;
  text-transform: capitalize;
  cursor: pointer;
  min-width: 195px;
}
.path-profile-completion .post-wrapper,
.path-profile-completion .community-wrapper {
  display: inline-block;
  margin-bottom: 30px;
  /* float: left; */
  margin-right: 10px;
}
.path-profile-completion .msg-container {
  display: block;
}
.path-profile-completion .social-wrapper {
  margin-top: 20px;
}
.path-profile-completion .social-wrapper >span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
}
.path-profile-completion .social-wrapper >span a {
  height: 31px;
  width: 31px;
  padding-right: 1px;
  paddin-bottom: 0;
  display: inline-block;
  transition: all linear 0.3s;
}
.path-profile-completion .social-wrapper span.twitter>a {
  background: url(../../icons/social_icons-updated.png) no-repeat 0 0;
}
.path-profile-completion .social-wrapper span.twitter>a:hover {
  background: url(../../icons/social_icons-updated.png) no-repeat no-repeat 0 -35px;
}
.path-profile-completion .social-wrapper span.facebook>a {
  background: url(../../icons/social_icons-updated.png) no-repeat -48px 0;
}
.path-profile-completion .social-wrapper span.facebook>a:hover {
  background: url(../../icons/social_icons-updated.png) no-repeat -48px -35px;
}
.path-profile-completion .social-wrapper span.linkedin>a {
  background: url(../../icons/social_icons-updated.png) no-repeat -96px 0;
}
.path-profile-completion .social-wrapper span.linkedin>a:hover {
  background: url(../../icons/social_icons-updated.png) no-repeat -96px -35px;
}
.path-profile-completion .social-wrapper span.youtube>a {
  background: url(../../icons/social_icons-updated.png) no-repeat -144px 0;
}
.path-profile-completion .social-wrapper span.youtube>a:hover {
  background: url(../../icons/social_icons-updated.png) no-repeat -144px -35px;
}
.path-profile-completion .social-wrapper span.mail>a {
  background: url(../../icons/social_icons-updated.png) no-repeat -243px 0;
}
.path-profile-completion .social-wrapper span.mail>a:hover {
  background: url(../../icons/social_icons-updated.png) no-repeat -243px -35px;
}
/*************11/03/24**********************/
.user-login .captcha {
  margin: 20px 0 !important;
  display: block;
  padding: 0 !important;
}
.user-login .captcha .captcha__title {
  /* display: none; */
  font-weight: 600;
  margin-bottom: 5px;
}
.captcha__description {
  margin-bottom: 0;
  /* font-size: 0.875rem; */
  font-size: 12px;
  line-height: 19px;
  margin-top: 5px;
}
body.user-login.user-register-login form:not(:has(.form-item-persistent-login)) .fieldset-wrapper .card__nested-section {
  margin-top: 20px !important;
}
body.user-login.user-register-login.user-logged-in .fieldset-wrapper .card__nested-section {
  display: none;
}
body.user-login.user-register-login .field--name-path {
  position: unset;
}
