@media screen and (max-width: 1500px) {
    .wpcf7 .modal-form .card-wrapper .card {
        padding: 20px 20px;
    }

    .wpcf7 .wpcf7-form .modal-form .card div.ckbxs label {
        max-width: unset;
    }

    .wpcf7 .wpcf7-form .modal-form .card .wpcf7-spinner {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 1200px) {
    .wpcf7 .wpcf7-form .modal-form .card .buttons-wrapper {
        display: flex;
        flex-direction: column;
    }

    .wpcf7 .wpcf7-form .modal-form .card div.ckbxs {
        order: 1;
        max-width: unset;
        width: auto;
    }

    .wpcf7 .wpcf7-form .modal-form .card .submit-wrapper {
        order: 2;
        max-width: unset;
        width: auto;
        margin: auto;
        margin-top: 20px;
    }
}

@media screen and (max-width: 1140px) {
    .wpcf7 .wpcf7-form .modal-form .form-ask-fon {
        display: none;
    }

}

@media screen and (max-width : 768px) {
    .wpcf7 .wpcf7-form .modal-form .card h3 {
        font-size: 1.7rem;
        text-align: center;
    }

    .wpcf7 .wpcf7-form .modal-form .card .under-h3 {
        font-size: 1.2rem;
    }

    .wpcf7 .wpcf7-form .modal-form .card.wpcf7-form-control-wrap input {
        height: 40px;
    }

    .wpcf7 .wpcf7-form .modal-form .card input::placeholder {
        font-size: 1rem;
    }
}

@media screen and (max-width : 768px) {
    #popmake-71 {
        width: 90% !important;
    }
}

@media screen and (max-width : 480px) {
    #popmake-71 {
        width: 90% !important;
    }
}


/* .adm .uacf7-multisetp-form #step-4 #form-step-4 span.wpcf7-list-item .wpcf7-list-item-label{
    display: block;
} */
.adm .uacf7-multisetp-form #step-4 #form-step-4 span.wpcf7-list-item:not(:last-child) .wpcf7-list-item-label {
    color: black;
}



.stoimost-wrapper .tab-pane .house-desc p {
    margin: 0 !important;
    height: auto;
    line-height: 1;
}

.stoimost-wrapper .tab-pane .house-desc p span {
    margin: 0;
    line-height: 2;
}

@media screen and (max-width:500px) {

    #page>div:not(.header_sticky, .teaser),
    #page>article {
        padding: 20px 0 20px 0 !important;
        margin: 0 !important;
    }

    #page #calculate,
    #page #stoimost {
        padding-top: 60px !important;
    }

    #page #manufacture {
        padding-bottom: 20px !important;
    }

    #calculate .calculate-wrapper {
        margin: 0;
        padding: 0;
    }

    #yandex-map {
        display: flex;
        display: -webkit-box;
        display: -ms-flexbox;
        flex-direction: column-reverse;
    }

    #yandex-map .float-address-wrapper {
        position: relative;
        top: -50px;
    }

    .adm .uacf7-multisetp-form #step-4 #form-step-4 span.wpcf7-list-item .wpcf7-list-item-label {
        gap: 15px;
    }

    .adm .uacf7-multisetp-form #step-4 #form-step-4 span.wpcf7-list-item .wpcf7-list-item-label:before {
        margin-bottom: 10px !important;
    }

    #innovation .inn-item {
        background-size: 100px 100px;
        padding: 120px 0 10px 0;
        height: 220px;
        transform: translate(10px, 10px);
        white-space: nowrap;
        font-size: 15px;
    }

    /* Кривые инпуты */
    div[data-id="group-397"],
    div[data-id="group-398"] {
        position: relative;
        left: 0;
        bottom: 40px;
    }

    div[data-id="group-397"] .d-sm-none,
    div[data-id="group-398"] .d-sm-none {
        font-size: 16px;
    }
}

@media screen and (max-width : 430px) {
    .stoimost-wrapper .tab-pane .house-desc p {
        margin: 0 !important;
        height: auto;
        line-height: 1;
    }

    .stoimost-wrapper .tab-pane .house-desc p span {
        margin: 0;
        font-size: 16px;
        line-height: 2;
    }

    .adm .uacf7-multisetp-form #step-1 #form-step-1,
    .adm .uacf7-multisetp-form #step-2 #form-step-2,
    .adm .uacf7-multisetp-form #step-3 #form-step-3,
    .adm .uacf7-multisetp-form #step-4 #form-step-4,
    .adm .uacf7-multisetp-form #step-5 #form-step-5 {
        margin-bottom: 20px;
    }
}