.modal {
  background: rgba(24, 34, 58, .4);
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition-duration: .2s;
  transition-property: opacity, visibility;
  transition-timing-function: ease-in-out;
  visibility: hidden;
  width: 100vw;
  z-index: 300
}
.modal--visible {
  opacity: 1;
  visibility: visible
}
.modal__back {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
} 
.modal.modal--visible .modal__back {
  cursor: pointer
}
.modal__container {
  align-items: stretch;
  background: #fff;
  box-shadow: 39px 39px 16px 0 transparent, 25px 25px 14px 0 transparent, 14px 14px 12px 0 rgba(0, 0, 0, .02), 6px 6px 9px 0 rgba(0, 0, 0, .031), 2px 2px 5px 0 rgba(0, 0, 0, .031), 0 0 0 0 rgba(0, 0, 0, .031);
  display: flex;
  height: 100vh;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100px);
  transition-duration: .2s;
  transition-property: transform, opacity, visibility;
  transition-timing-function: ease-in-out;
  visibility: hidden
}
@media screen and (max-width:767px) {
  .modal__container {
    flex-direction: column;
    visibility: visible;
    width: 100%
  }
}
.modal__container--open {
  transform: translateX(0);
  visibility: visible
}
.modal__content {
  flex-shrink: 0;
  padding: 120px 40px 40px;
  width: 460px
}
@media screen and (max-width:1279px) {
  .modal__content {
    padding: 104px 40px 40px
  }
}
@media screen and (max-width:767px) {
  .modal__content {
    height: 100%;
    padding: 84px 12px 40px;
    width: 100%
  }
}
.modal__close {
  cursor: pointer;
  position: absolute;
  right: 40px;
  top: 40px;
  z-index: 5
}
@media screen and (max-width:767px) {
  .modal__close {
    right: 12px;
    top: 24px
  }
}
.callback-modal__title {
  margin-bottom: 32px
}
.callback-modal__form {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  row-gap: 16px
}
.callback-modal__description {
  color: #a3a7b0
}
.callback-modal__button {
  justify-content: center
}
.callback-modal__checkbox a {
  color: #00aaa1;
  text-decoration: none
}
.buyoneclick-modal__success-button, .callback-modal__success-button {
  justify-content: center;
  margin-top: 32px;
  text-align: center;
  width: 100%
}
.auth-modal {
  height: 100%;
  position: relative;
  transition-duration: .2s;
  transition-property: opacity;
  transition-timing-function: ease-in-out
}
.auth-modal--is-load {
  opacity: .5;
  pointer-events: none
}
.auth-modal__wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  left: 0;
  opacity: 0;
  padding: 120px 40px 40px;
  position: absolute;
  top: 0;
  transform: translateX(80px);
  transition-duration: .2s;
  transition-property: opacity, visibility, transform;
  transition-timing-function: ease-in-out;
  visibility: hidden;
  width: 100%;
  z-index: 2
}
@media screen and (max-width:767px) {
  .auth-modal__wrapper {
    padding: 88px 12px 24px
  }
}
.auth-modal__wrapper--open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  z-index: 3
}
.auth-modal__title + form {
  margin-top: 16px
}
.auth-modal__description {
  margin-top: 32px
}
@media screen and (max-width:767px) {
  .auth-modal__description {
    margin-top: 24px
  }
}
.auth-modal__description a {
  color: #00aaa1;
  text-decoration: none;
  transition-duration: .2s;
  transition-property: color;
  transition-timing-function: ease-in-out
}
.auth-modal__description a:hover {
  color: #008780
}
.auth-modal__field {
  margin-top: 16px
}
.auth-modal__form-send-button {
  margin-top: 32px
}
@media screen and (max-width:767px) {
  .auth-modal__form-send-button {
    margin-top: 24px
  }
}
.auth-modal__bottom-info {
  color: rgba(24, 34, 58, .4)
}
.auth-modal__bottom-info a {
  color: rgba(24, 34, 58, .4);
  text-decoration-color: rgba(24, 34, 58, .4);
  transition-duration: .2s;
  transition-property: color;
  transition-timing-function: ease-in-out
}
.auth-modal__bottom-info a:hover {
  color: #00aaa1
}
.auth-modal__bottom {
  align-items: center;
  display: flex;
  flex-direction: column
}
.auth-modal__subtitle {
  margin-top: 8px
}
.auth-modal__back-button {
  margin-bottom: 8px
}
.auth-modal__form-description {
  margin-top: 16px
}
.auth-modal__form-button {
  margin-top: 4px
}
.auth-modal__form-request-message {
  margin-top: 8px
}
.auth-modal__form-error {
  color: #de2952;
  display: inline-block;
  margin-top: 16px
}
.auth-modal__invitation-buttons {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  row-gap: 8px
}
.auth-modal__title, .callback-modal__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 118%
}
@media screen and (max-width:1279px) {
  .auth-modal__title, .callback-modal__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 118%
  }
}
@media screen and (max-width:767px) {
  .auth-modal__title, .callback-modal__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 132%
  }
}
.auth-modal__subtitle {
  font-size: 18px;
  font-weight: 600;
  line-height: 132%
}
@media screen and (max-width:1279px) {
  .auth-modal__subtitle {
    font-size: 16px;
    font-weight: 600;
    line-height: 148%
  }
}
@media screen and (max-width:767px) {
  .auth-modal__subtitle {
    font-size: 14px;
    font-weight: 600;
    line-height: 140%
  }
}
.auth-modal__description, .callback-modal__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 148%
}
@media screen and (max-width:767px) {
  .auth-modal__description, .callback-modal__description {
    font-size: 14px;
    font-weight: 400;
    line-height: 146%
  }
}
.auth-modal__description, .callback-modal__description {
  font-weight: 500
}
.auth-modal__form-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 145%
}
@media screen and (max-width:767px) {
  .auth-modal__form-description {
    font-size: 12px;
    font-weight: 500;
    line-height: 132%
  }
}
.auth-modal__form-error {
  font-size: 12px;
  font-weight: 500;
  line-height: 164%
}
@media screen and (max-width:767px) {
  .auth-modal__form-error {
    font-size: 10px;
    font-weight: 500;
    line-height: 116%
  }
}
.auth-modal__bottom-info {
  font-size: 12px;
  font-weight: 500;
  line-height: 132%
}
@media screen and (max-width:767px) {
  .auth-modal__bottom-info {
    font-size: 10px;
    font-weight: 500;
    line-height: 116%
  }
}