@keyframes shake {
    10%, 90% {
        transform: translateX(-0.5px);
    }
    20%, 80% {
        transform: translateX(1px);
    }
    30%, 50%, 70% {
        transform: translateX(-2px);
    }
    40%, 60% {
        transform: translateX(2px);
    }
}


.form_conatct__ajax5  button.button.button-white:hover{
    color: #fff;
    opacity: 0.8
}
.form_conatct__ajax5 .feedback__wrap_privacy {
    padding-left: 40px;
    display: flex;
    text-align: left;
    padding-top: 4px;
}
.page-uslugi--block--title .form_conatct__ajax1 span.checkbox__checkmark {
    position: absolute;
}
.form_conatct__ajax5 .offer--form__success.active {
    color: #4571fb;
}
.form_conatct__ajax5 .subscribe-policy__text {
    padding-top: 0px;
}
.form_conatct__ajax5 .feedback__wrap_submit-block1.form__submit-block1 {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 31px;
}
.form_conatct__ajax5  .feedback__wrap_submit-block1.form__submit-block1 {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 21px;
}
.form_conatct__ajax5 textarea.feedback-footer__wrap_input-text.feedback-footer__input-textarea.input-text.js-input {
    height: 100px;
    margin-top: 15px;
    padding: 20px;
}
.form_conatct__ajax5 .checkbox__checkmark {
    top: 4px;
    left: -1px;
    border: 1px solid var(--blue);
    position: absolute;
    height: 24px;
    width: 24px;
    background-color: var(--white);
    transition: background-color .25s ease;
    border-radius: 4px;
}
.form_conatct__ajax5 .subscribe-policy__text-weight:hover {
    border-bottom: 1px solid;
}
.form_conatct__ajax5 .subscribe-policy__text-weight {
    font-weight: bold;
    color: var(--dark);
    border-bottom: 1px solid transparent;
}
.form_conatct__ajax5  .subscribe-policy__text {
    color: var(--dark);
}
.form_conatct__ajax5  button.button.button-white{
    border: 2px solid transparent;
    background-color: var(--blue);
    display: block;
    padding: 10px 10px 12px;
    font-family: var(--inter);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    border-radius: 100px;
    box-shadow: 4px 4px 16px 0 rgba(0, 0, 0, 0.25);
    max-width: 260px;
    width: 100%;
    transition: 0.3s;
    height: 49px;
    margin: 0 auto;
}
.form_conatct__ajax5 .feedback__wrap_form__input.form__inputs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-direction: column;
}
.form_conatct__ajax5 .form__input {
    width: 100%;
    max-width: 100%;
}
.form_conatct__ajax5 input.js-input
{
    height: 52px;
    border: 1px solid rgba(73, 103, 128, 0.5);
    border: 1px solid var(--blue);
}
.form_conatct__ajax1-title {
    /* font-family: Open Sans; */
    font-size: 40px;
    font-weight: 700;
    line-height: 54.47px;
    letter-spacing: 0.01em;
    text-align: left;
    color: #fff;
    font-family: "OpenSansCondensed-Light";
}
section.form_conatct__ajax1 {
    padding: 80px 57px;
    height: 100%;
}
.form_conatct__ajax1-subtitle {
    font-family: "OpenSansCondensed-Light";
    font-size: 30px;
    font-weight: 400;
    margin-top: 27px;
    line-height: 36px;
    text-align: left;
    margin-bottom: 72px;
    color: #fff;
}
.offer--form__success.active {
    text-align: center;
    display: flex;
    color: #fff;
    width: 100%;
    justify-content: center;
    margin-top: 10px;

    animation: shake 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
}
label.feedback__wrap_privacy.form__privacy.error span.subscribe-policy__text {
    color: #690000;
}
label.feedback__wrap_privacy.form__privacy.error .checkbox__checkmark{
    border: 1px solid #ff0000;
}

input.input-text.js-input.error {
    border-color: red;    animation: shake 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
}

.call {
    padding: 60px 0 70px;
    background: linear-gradient(180deg, #F1F4FF 0%, rgba(241, 244, 255, 0) 100%);
}
.call__wrap {
    width: 100%;
    z-index: 9;
}
.call .wrapper-container {
    border-radius: 24px;
    background: #217AFF;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.10);
    max-width: 1192px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.wrapper-container::after,
.wrapper-container::before {
    content: '';
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    width: 298.328px;
    height: 510.298px;
}
.wrapper-container::after {
    background-image: url('../../../subscribe/templates/images/subright.svg');
    right: -188px;
    bottom: -257px;
}
.wrapper-container::before {
    background-image: url('../../../subscribe/templates/images/subleft.svg');
    left: -40px;
    top: -40px;
}
.feedback__wrap_form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 21px 30px;
    justify-self: center;
    justify-items: center;
}
.call__header {
    color: var(--white);
    font-family: var(--inter);
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 15px;
}
.call__text {
    color: var(--white);
    font-family: var(--inter);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin: 13px 0 20px;
}
.form__input {
    max-width: 458px;
    text-align: end;
    width: 100%;
}
.feedback__wrap_input-text {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--white);
    background: var(--white);
    padding: 17px 21px 16px;
}
/*если не заполнена*/
.feedback__wrap_input-text--error {
    border: 1px solid var(--error);
}
.feedback__wrap_input-text::placeholder {
    color: var(--dark);
    font-family: var(--inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
/*плавное исчезновение placeholder*/
.feedback__wrap_input-text::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
.feedback__wrap_input-text::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
.feedback__wrap_input-text:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
.feedback__wrap_input-text:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}
.feedback__wrap_input-text:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
.feedback__wrap_input-text:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease;}
.feedback__wrap_input-text:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
.feedback__wrap_input-text:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}

.form__input_short {
    justify-self: flex-end;
}
.form__input_long {
    grid-area: 1 / 2 / 4 / 3;
    justify-self: flex-start;
    height: 100%;
}
.input-text {
    height: 100%;
    color: var(--dark);
    font-family: var(--inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}
.form__input_long label {
    width: 100%;
    height: 100%;
}
.input-text::placeholder {
    color: var(--dark);
    font-family: var(--inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}
.feedback__wrap_submit-block {
    grid-area: 4 / 1 / 5 / 3;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    max-width: 668px;
    margin-top: 4px;
    gap: 16px;
}
.subscribe-policy__text {
    max-width: 611px;
    color: var(--white);
    font-family: var(--inter);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
.subscribe-policy__text-weight:hover {
    border-bottom: 1px solid #ffffff;
}
.subscribe-policy__text-weight {
    font-weight: 700;
    color: #ffffff;
    border-bottom: 1px solid transparent;
}
.button-white {
    color: var(--white);
    font-family: var(--inter);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    border-radius: 100px;
    border: 2px solid #FFF;
    box-shadow: 4px 4px 16px 0px rgba(0, 0, 0, 0.25);
    max-width: 260px;
    width: 100%;
    padding: 12px 10px;
    transition: 0.3s;
}
.button-white:hover {
    color: var(--dark);
    background-color: var(--white);
}
/*checkbox*/
.feedback__wrap_privacy {
    position: relative;
    padding-left: 52px;
}
.input-checkbox {
    display: none;
}
.checkbox__checkmark {
    position: absolute;
    top: 6px;
    left: 7px;
    height: 24px;
    width: 24px;
    border: 1px solid var(--white);
    background-color: var(--white);
    transition: background-color .25s ease;
    border-radius: 4px;
}
.form__privacy .checkbox__checkmark::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .25s ease;
}
.input-checkbox:checked ~ .checkbox__checkmark::after {
    opacity: 1;
}



@media (max-width: 991px) {
    .form_conatct__ajax1 button.button.button-white {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    section.form_conatct__ajax1 {
        padding: 30px 20px;
    }
    div.page-uslugi--block-top-form--form {
        height: auto;
        margin-bottom: 30px;
    }
    .call {
        padding: 0;
    }
    .call .wrapper-container {
        padding: 21px 17px 11px 17px;
        border-radius: unset;
    }
    .feedback__wrap_form {
        display: flex;
        flex-direction: column;
        gap: 20px 30px;
    }
    .form__input {
        max-width: unset;
    }
    .form__input_long {
        height: 196px;
    }
    .wrapper-container::after,
    .wrapper-container::before {
        display: none;
    }
    .call__header {
        font-size: 20px;
        text-align: center;
        margin-bottom: 7px;
    }
    .feedback__wrap_input-text {
        padding: 17px 19px 16px;
    }
    .feedback__wrap_submit-block {
        margin-top: 0;
        gap: 15px;
    }
    .feedback__wrap_privacy {
        padding-left: 40px;
    }
    .checkbox__checkmark {
        top: 5px;
        left: 1px;
    }
    .call__text {
        margin: 5px 0 18px;
    }
    #overlay-modal-uslugi-4 .close-modal__feedback-footer--4     .modal__cross {
        top: 15px;
    }
    #overlay-modal-uslugi-4 .form__input_long {
        height: auto;
    }
    #overlay-modal-uslugi-4 .modal-content__feedback-footer {
        width: 90%;
        height: auto;
        border-radius: 24px;
    }
}