.form-sign-in,
.change-password,
.form-partner,
.form-thank,
.form-thank-password {
  position: fixed;
  z-index: 8;
  width: 574px;
  left: calc(50% - 287px);
  top: 50px;
  padding: 40px 32px 40px;
  border-radius: 10px;
  background-color: #fff;
  display: none;
  overflow: hidden;
}
.password-recovery {
  position: fixed;
  z-index: 8;
  width: 50%;
  right: -1000px;
  height: 100%;
  top: 0;
  opacity: 0;
  transition: all 0.3s;
  padding: 40px 32px 40px;
  border-radius: 10px;
  background-color: #fff;

}

@media (max-width: 766px) {
  .form-sign-in,
  .change-password,
  .form-partner,
  .form-thank,
  .form-thank-password {
    width: 310px;
    left: calc(50% - 155px);
    padding: 20px 10px;
  }
}
.form-sign-in__close,
.password-recovery__close,
.change-password__close,
.form-partner__close,
.form-thank__close,
.form-thank-password__close {
  position: absolute;
  top: 42px;
  right: 28px;
  cursor: pointer;
}
@media (max-width: 766px) {
  .form-sign-in__close,
  .password-recovery__close,
  .change-password__close,
  .form-partner__close,
  .form-thank__close,
  .form-thank-password__close {
    top: 10px;
    right: 10px;
  }
}
.form-sign-in {
  top: calc(50% - 266px);
}
.form-sign-in__link-new-user {
  text-align: center;
  width: 100%;
  display: inline-block;
  text-decoration: none;
  color: #d4d4d4;
  margin: 40px 0 8px;
  font-size: 14px;
  line-height: 16px;
}
.form-sign-in .form-sign-in__link-new-user + .btnwrap {
  width: 180px;
  margin: 0 auto;
}
.form-sign-in .btnwrap {
  margin: 32px auto 0;
}
.password-recovery__wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 50px;
  max-width: 480px;
}
.password-recovery__wrapper .form-inputs {
  width: 100%;
}
.password-recovery .btnwrap {
  margin: 32px auto 0;
}
.change-password {
  top: calc(50% - 217px);
}
.change-password .btnwrap {
  margin: 32px auto 0;
}
.form-partner {
  top: calc(50% - 378px);
}

@media (max-height: 766px) {
  .form-partner {
    top: calc(50% - 266px);
  }
}
@media (max-height: 1050px) {
  .form-partner__scroll {
    overflow-y: scroll;
    height: 560px;
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
    margin-right: -10px;
    padding-right: 10px;
  }
}
@media (max-height: 1050px) {
  .form-partner__scroll {
    padding-bottom: 0;
  }
}
@media (max-height: 766px) {
  .form-partner__scroll {
    height: 400px;
    padding-bottom: 70px;
  }
}
.form-partner__scroll::-webkit-scrollbar {
  width: 0;
}
.form-partner .form-inputs:nth-child(even) {
  margin-bottom: 48px;
}
.form-partner .form-captcha {
  margin-top: 48px;
}
.form-partner .btnwrap {
  margin: 48px auto 0;
}
.form-thank,
.form-thank-password {
  padding: 40px 48px;
  top: calc(50% - 151px);
}
@media (max-width: 766px) {
  .form-thank,
  .form-thank-password {
    padding: 20px 15px;
    top: calc(50% - 125.5px);
  }
}
.form-thank__close,
..form-thank-password__close {
  right: 48px;
}
@media (max-width: 766px) {
  .form-thank__close,
  .form-thank-password__close {
    top: 10px;
    right: 10px;
  }
  .password-recovery__wrapper {
    margin: 0 auto;
  }
}
.form-thank p {
  max-width: 300px;
}
.form-thank-password p {
  max-width: 384px;
}
.form-thank .form-title,
.form-thank-password .form-title {
  padding-left: 0;
}
.form-thank .btnwrap,
.form-thank-password .btnwrap {
  margin: 52px auto 0;
}

.partner-selection {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
}
@media (max-width: 766px) {
  .partner-selection {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.partner-selection__item {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
  border-radius: 10px;
  background-color: #fff;
  height: 88px;
  color: #181818;
  font-size: 18px;
  line-height: 21px;
  font-family: 'Roboto-Bold';
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
@media (max-width: 766px) {
  .partner-selection__item {
    width: 100%;
  }
}
.partner-selection__item:hover {
  text-decoration: none;
  color: #181818;
  -webkit-box-shadow: 0px 25px 40px rgba(0,0,0,0.05);
          box-shadow: 0px 25px 40px rgba(0,0,0,0.05);
}
.partner-selection__item:active {
  border: thin solid #cb1c31;
}
.partner-selection__item:first-child {
  margin-right: 16px;
}
@media (max-width: 766px) {
  .partner-selection__item:first-child {
    margin-right: 0;
    margin-bottom: 15px;
  }
}
.partner-selection__icon {
  width: 40px;
  height: 40px;
  margin: 0 24px;
}
.partner-selection__icon svg {
  width: 100%;
  height: 100%;
}
.form-title {
  font-size: 36px;
  line-height: 42px;
  color: #181818;
  font-family: 'Roboto-Black';
  margin-bottom: 32px;
  padding-left: 16px;
}
@media (max-width: 766px) {
  .form-title {
    font-size: 30px;
    line-height: 30px;
    max-width: 250px;
  }
}
.form-inputs {
  margin-bottom: 24px;
  position: relative;
}
.form-inputs__wrap-label {
  padding: 0 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 8px;
}
.form-inputs__label {
  font-size: 18px;
  line-height: 21px;
  color: #808080;
}
.form-inputs__input {
  outline: none;
  height: 56px;
  width: 100%;
  border: thin solid #ececec;
  border-radius: 10px;
  padding: 0 16px;
  color: #808080;
}
.form-inputs__input:focus {
  border: thin solid #007cd7;
}
.form-inputs__input::-webkit-input-placeholder {
  color: #d4d4d4;
}
.form-inputs__input::-moz-placeholder {
  color: #d4d4d4;
}
.form-inputs__input:-ms-input-placeholder {
  color: #d4d4d4;
}
.form-inputs__input::-ms-input-placeholder {
  color: #d4d4d4;
}
.form-inputs__input::placeholder {
  color: #d4d4d4;
}
.form-inputs__password-recovery {
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #007cd7;
  cursor: pointer;
}
.form-inputs__wrap-contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}
@media (max-width: 992px) {
  .form-inputs__wrap-contacts {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.form-inputs__wrap-contacts .form-inputs__input {
  margin-left: 16px;
}
@media (max-width: 766px) {
  .form-inputs__wrap-contacts .form-inputs__input {
    margin-left: 0;
    margin-top: 70px;
  }
}
@media (max-width: 992px) {
  .form-inputs__wrap-contacts .form-inputs__input {
    margin-top: 7px;
  }
}
.eye-pas {
  position: absolute;
  bottom: 17px;
  right: 18px;
  cursor: pointer;
}
.form-mask {
  position: fixed;
  z-index: 7;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.4);
  display: none;
}
.form-mask.form-mask-active {
  display: block;
}
.form-select {
  min-width: 143px;
  height: 56px;
  padding: 18px 16px 17px;
  position: relative;
  border: thin solid #ececec;
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
}
@media (max-width: 766px) {
  .form-select {
    min-width: 100%;
  }
}
.form-select:hover {
  border-radius: 10px 10px 0 0;
}
.form-select:hover .form-select__body {
  opacity: 1;
  z-index: 3;
}
.form-select:hover .form-select__arrow {
  transform: rotate(180deg);
  top: 19px;
}
.form-select__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  margin-bottom: 15px;
}
@media (max-width: 766px) {
  .form-select__head {
    margin-bottom: 18px;
  }
}
.form-select__body {
  opacity: 0;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  position: absolute;
  top: 55px;
  left: 0;
  z-index: -1;
  width: calc(100% + 1px);
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  height: auto;
}
.form-select__arrow {
  position: absolute;
  right: 16px;
  top: 15px;
}
.form-select__item {
  padding: 14px 16px 15px;
  font-size: 18px;
  line-height: 21px;
  color: #808080;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  height: 100%;
}
.form-select__item.form-select__item-active {
  background-color: #cb1c31;
  color: #fff;
}
.form-select__item.form-select__item-active:hover {
  background-color: #cb1c31;
  color: #fff;
}
.form-select__item:hover {
  background-color: #ececec;
}
.form-select__current {
  font-size: 18px;
  line-height: 21px;
  color: #ececec;
}
.form-select__current-active {
  color: #808080;
}
.form-captcha {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 24px 27px 40px;
}
@media (max-width: 766px) {
  .form-captcha {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin: 24px 10px 40px;
  }
}
.form-captcha__wrap {
  margin-right: 48px;
}
.form-captcha__img {
  margin-bottom: 10px;
  height: 56px;
}
@media (max-width: 766px) {
  .form-captcha__img {
    margin-bottom: 5px;
  }
}
.form-captcha__another-img {
  font-size: 14px;
  line-height: 16px;
  color: #007cd7;
  white-space: nowrap;
}
@media (max-width: 766px) {
  .form-captcha__another-img {
    margin-bottom: 15px;
  }
}
.terms-use__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 24px;
}
.terms-use__text {
  color: #808080;
  font-size: 14px;
  line-height: 16px;
}
.error-valid {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  padding: 14px 24px;
  border-radius: 5px;
  border: thin solid #fcfcfc;
}
.error-valid__text {
  color: #cb1c31;
  font-size: 14px;
  line-height: 16px;
  font-family: 'Roboto-Bold';
  max-width: 140px;
}
.btn-form-submit {
  width: 100%;
}
.form-sign-in-active,
.change-password-active,
.form-partner-active,
.form-thank-active,
.form-thank-password-active {
  display: block;
}
.password-recovery-active {
  right: 0;
  opacity: 1;
}
.error-another-email {
  background-color: #E9394E;
  border-radius: 5px;
  color: #fff;
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.05);
  padding: 24px 16px;
  max-width: 494px;
  position: absolute;
  width: 100%;
  z-index: 5;
  left: 10px;
  top: calc(100% + 13px);
  display: none;
}
@media(max-width: 768px) {
  .error-another-email {
    left: 0;
  }
}
.error-another-email__wrap {
  position: relative;
}
.error-another-email__wrap:before {
  position: absolute;
  content: '';
  display: block;
  top: -30px;
  left: 16px;
  width: 18px;
  height: 18px;
  background-color: #E9394E;
  border-radius: 3px;
transform: rotate(-45deg);
}
.error-another-email .btn__text {
  color: #fff;
}
.error-another-email .btnwrap {
  position: absolute;
  bottom: 0;
  right: 0;
}
.error-another-email__title {
  font-size: 14px;
  line-height: 16px;
  font-family: 'Roboto-Bold';
  margin-bottom: 18px;
}
.error-another-email__text {
  font-size: 14px;
  line-height: 16px;
  max-width: 225px;
}
.error-another-email .btnwrap_indent-r:active{
  right: 2px;
}
.error-another-email .btn_transparent:hover {
  background-color: #991424;
}
.error-another-email .btn_transparent:hover .btn__text {
  color: #fff;
}
.error-another-email-active {
  display: block;
}
.error-message-form {
  display: none;
  padding: 16px;
  background-color: #E9394E;
  border-radius: 5px;
  margin-bottom: 36px;
  color: #fff;
  max-width: 494px;
  margin: 0 auto 36px;
}
.error-message-form-active {
  display: block;
}
.error-message-form__title {
  font-size: 14px;
  line-height: 16px;
  font-family: 'Roboto-Bold';
  margin-bottom: 16px;
}
.error-message-form__text {
  padding-left: 15px;
  font-size: 14px;
  line-height: 16px;
  position: relative;
}
.error-message-form__text:before {
  position: absolute;
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #fff;
  left: 0;
  top: 6px;
}
.error-another-email__close {
  position: absolute;
  right: -9px;
  top: -20px;
  cursor: pointer;
}

.invalid {
  border: thin solid #CB1C31;
}
.form-inputs__input.invalid:focus {
    border: thin solid #CB1C31;
  }