.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    overflow-y: auto;
    border-radius: 25px 25px 25px 25px;
    padding-top: 80px;
    padding-bottom: 60px;
    padding-left: 60px;
    padding-right: 60px;
}
.modal-content > .elementor-element > h2 {
    text-align: center;
    font-family: Neue Machina Bold, Sans-Serif;
}
.modal-content > .close_button_modal {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 40px;
    top: 20px;
    cursor: pointer;
}
.elementor-button-text {
    cursor: pointer;
}
.call_back_main_button {
    /*margin-left: 103px !important;*/
}
.call_back_main_button > a {
    line-height: 52px !important;
}
.call_back_main_button > a > span {
    background-color: #CDE6EA;
    font-family: "Geist", Sans-serif;
    border-radius: 8px 8px 8px 8px;
    color: #0F172A;
    line-height: 52px !important;
}
.call_back_main_button > a:hover {
    text-decoration: none !important;
}
.call_back_main_button > a:hover span {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #242424 !important;
}

.footer_button {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    cursor: pointer;
}
.footer_button > span {
    display: flex;
    max-width: 300px;
    background-color: #175CA9;
    color: #FFF;
    height: 60px;
    justify-content: center;
    font-family: "Raleway", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px 8px 8px 8px;
    padding: 23px 65px 23px 65px;
    align-items: center;
    text-transform: uppercase;
}
.footer_button:hover > span {
    background-color: #FFF;
    transition: .2s;
    color: #000;
}

/*new design*/
.modal-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 64px;
    background-color: #F2F7F7;
    padding: 56px 80px 86px 80px;
}
.case_form_block_title {
    font-family: Raleway SemiBold, Sans-Serif;
    font-size: 22px;
    color: #64748B;
    line-height: 110.00000000000001%;
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}
.modal-content > div > form {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
}
.modal-content > div > form > .column > .smart-captcha{
    width: 100%;
}
.modal-content > div > form > .column {
    display: flex;
    width: 100%;
    padding: 0;
}
.modal-content > div > form > .column  > p {
    width: 100%;
    margin: 0;
    padding: 0;
}
.modal-content > div > form > .column  > p > span > input, .modal-content > div > form > .column  > p > span > select {
    display: flex;
    flex-wrap: wrap;
    border-radius: 4px;
    border:2px solid #CBDEE1;
    color: #94A3B8;
    font-family: Raleway Medium, Sans-Serif;
    font-size: 12px;
    height: 67px;
    padding: 24px;
}
.modal-content > div > form > .column  > p > span > input::placeholder {
    color: #94A3B8;
}
.modal-content > div > form > .button_fotm_block {
    display: flex;
    width: 342px;
    height: 69px;
    padding: 0;
    margin: 0;
}
.modal-content > div > form > .button_fotm_block > p > input {
    height: 69px;
    background: #CDE6EA;
    border: none;
    border-radius: 8px;
    color: #64748B;
}
.modal-content .wpcf7-list-item > label {
    display: flex;
    align-items: start;
    gap: 35px;
}
.modal-content .wpcf7-list-item > label > input {
    opacity: 0;
    position: relative;
    z-index: 2;
}
.modal-content .wpcf7-list-item > label > span, .modal-content .wpcf7-list-item > label > span > a {
    color: #94A3B8;
    font-family: Raleway Medium, Sans-Serif;
    font-size: 14px;
    max-width: 513px;
    line-height: 150%;
    letter-spacing: 0;
}
.modal-content .wpcf7-list-item > label > input:checked {
    opacity: 0;
}
.modal-content .button_full_width {
    background: #25A1B6;
    height: 64px;
    display: flex;
    align-items: center;
    border: none;
}
.modal-content .wpcf7-list-item > label::after {
    position: absolute;
    content: '';
    width: 28px;
    height: 28px;
    border: 2px solid #BDBDBD;
    background: #FFFF;
    cursor: pointer;
    z-index: 1;
}

.modal-content .wpcf7-list-item > label:has(> input:checked)::after {
    background: #B3D0D0;
    border-color: #CBDEE1;
}

.modal-content .wpcf7-list-item > label:has(> input:checked)::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 10px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    z-index: 3;
    pointer-events: none;
}
.modal-content > div > form .column_all {
    width: 100%;
}
.modal-content > div > form.column_check {
    width: calc (100% /3);
}