html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #F8F8F8!important;
}

.form-signin {
  width: 100%;
  max-width: 470px;
  padding: 0 15px;
  margin: 120px auto 0 auto;
}

footer.form-signin {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}


.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input {
  border: 1px solid #979797;
  border-radius: 2px;
  background-color: #F8F8F8;
}

.form-label {
  font-weight: 500;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
}

.form-signin img.logo {
  width: 50%;
  margin-bottom: 100px;
}

.form-signin .is-invalid ~ .invalid-feedback {
  display: none;
}
.form-signin .on-feedback .is-invalid ~ .invalid-feedback {
  display: block;
}


.gray-text {
  color: #5C5C5C
}

.gray-link {
  color: #5C5C5C;
  text-decoration: none;
}

.gray-link:hover {
  color: #5C5C5C;
  cursor: pointer;
  text-decoration: underline;
}

.social-media-item {
  padding: 7px 20px;
  background-color: #EBEBEB;
  border-radius: 20px;
}

.social-media-link:hover .social-media-item{
  background-color: #E2E2E2;
}

.help-password-block {
  padding: 32px;
  max-width: 561px;
  border: 1px solid #EAE9E9;
  border-radius: 4px;
  background: #FFFFFF;
}

.off-required-on-label::after {
  content: ""!important;
}

.form-block-title {
  font-size: 30px; margin-bottom: 36px;
  font-weight: 600;
}

.check-for-recovery-btn {
  margin-top: 32px;
  font-size: 15px;
  line-height: 39px;
  padding: 0 32px;
}

.check-for-recovery-btn:first-child {
  margin-right: 8px;
}

.check-for-recovery-btn:last-child {
  margin-left: 8px;
}

.help-change-pass-block {
  position: relative;
  left: 496px;
  margin-top: -350px;
  width: 561px;
}

.form-control {
  padding: .59375rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 100%;
  color: #282a33;
}

.email-info {
  margin-top: 92px;
  font-weight: 500;
}

.login-btn {
  font-size: 16px;
  height: 40px;
  border-radius: 4px;
  margin-top: 32px;
}

.help-password-block p:first-child, .help-password-block p:last-child{
  font-weight: 500;
  line-height: 130%;
}

.help-password-block ul {
  font-weight: 400;
  padding-left: 22px;
  margin-bottom: 20px;
}

.help-password-block ul .text-primary {
  font-weight: 600;
}

.communicate-block {
  position: relative;
  padding: 32px 32px 32px 32px;
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.communicate-block .btn-close {
  position: absolute;
  right: 24px;
  top: 24px;
}

.communicate-block h4 {
  margin-bottom: 40px;
}

@media screen and (max-width: 1720px) {
  .help-change-pass-block {
    left: 0;
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  .form-signin {
    margin: 0;
  }
}
@media screen and (max-width: 480px) {
.communication-method {
  flex-direction: column;
}
.social-media-link {
  margin-bottom: 20px;
}
  }
@media screen and (max-width: 380px) {
  .check-for-recovery-btn {
    margin-top: 20px;
  }
}