.new_form {
    position: fixed;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px;
    max-width: 500px;
    width: 95%;
    background: white;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: black;
    z-index: 120;
    transition: all .5s ease;
    box-shadow: 0px 0px 8px 7px rgba(20, 21, 21, 0.23);
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-color: transparent #787A7A;
    scrollbar-width: thin;
    font-family: "Gotham", Sans-serif;

    .hidden-field {
        display: none;
    }

    textarea {
        width: 100%;
        border: 1px solid #66666600;
        border-radius: 3px;
        padding: .5rem 1rem;
        transition: all .3s;
        height: 100px;
        outline: none;
        resize: none;
        font-size: 16px;
        font-family: "Gotham Light", Sans-serif;
        background-color: #8080803d;
    }

    button {
        padding: 10px;
    }

    .input-style {
        width: 100%;
        height: 40px;
    }

    p {
        font-size: 24px;
        font-weight: 500;
        margin: 0px auto;
        margin-bottom: 30px;
        text-align: center;
        font-family: "Gotham", Sans-serif;
    }

    input,
    select {
        border: 1px solid #66666600;
        border-radius: 3px;
        padding: .5rem 1rem;
        transition: all .3s;
        outline: none;
        font-size: 16px;
        width: 100%;
        background-color: #8080803d;
        font-family: "Gotham Light", Sans-serif;
    }

    input[type="checkbox"] {
        width: unset;
    }

    fieldset {
        border: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .checkbox_container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        row-gap: 5px;
    }

    .label_checkbox {
        font-size: 16px;
        font-weight: normal;
        margin-bottom: unset;
        font-family: "Gotham", Sans-serif;
    }

    .error {
        color: red;
        font-size: 12px;
    }

    .checkbox-inner {
        cursor: pointer;
        width: fit-content;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 7px;

        input {
            cursor: pointer;
        }

        label {
            cursor: pointer;
            font-family: "Gotham Light", Sans-serif;
        }

        a {
            color: black;
            text-decoration: underline;
        }
    }

    fieldset label {
        font-family: "Gotham Light", Sans-serif;
    }

    .send-btn {
        width: 100%;
        height: 55px;
        background-color: #1047EA;
        border: none;
        font-family: "Gotham Light", Sans-serif !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        background-image: none;
        font-size: 0.875rem;
        border: none;
        color: #fff;
        cursor: pointer;
    }

    .input-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .policy_text {
        font-size: 16px !important;
        color: black;
        opacity: .8;
        font-weight: 400;
        text-align: unset;
        font-family: "Gotham Light", Sans-serif;
    }
}

.form_block {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 13, 30, 0.4);
    -webkit-backdrop-filter: blur(8.9999990463px);
    backdrop-filter: blur(8.9999990463px);
    z-index: 10;
    display: none;
    transition: all 0.5s ease;
    padding: 0 25px;
}

.form_block_td {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 13, 30, 0.4);
    -webkit-backdrop-filter: blur(8.9999990463px);
    backdrop-filter: blur(8.9999990463px);
    z-index: 10;
    display: none;
    transition: all 0.5s ease;
    padding: 0 25px;
}


.new_form_activator {
    display: block !important;
}

.open_new_form_btn {
    cursor: pointer;
}

.close_modal-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.close_btn {
    display: block;
    cursor: pointer;
}

.close_btn::before,
.close_btn::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
    width: 24px;
    height: 3px;
    background: white;
}

.close_btn::before {
    transform: rotate(45deg);
}

.close_btn::after {
    transform: rotate(-45deg);
}

.body_overflow {
    height: 100vh;
    overflow-y: hidden;
}

.popup-checktime .checkbox_container {
    display: flex;
    flex-direction: column;
}



.service_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;

    .hidden-field {
        display: none;
    }

    button {
        padding: 10px;
    }

    .input-style {
        width: 100%;
        height: 40px;
    }

    p {
        font-size: 30px;
        font-weight: 500;
        margin: 0px auto;
        margin-bottom: 30px;
    }

    input,
    select {
        border: 1px solid #666;
        border-radius: 3px;
        padding: .5rem 1rem;
        transition: all .3s;
        outline: none;
        font-size: 16px;
    }

    fieldset {
        border: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .checkbox_container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        row-gap: 5px;
    }

    .label_checkbox {
        font-size: 16px;
        font-weight: normal;
        margin-bottom: unset;
    }

    .error {
        color: red;
    }

    .checkbox-inner {
        cursor: pointer;
        width: fit-content;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 7px;

        input {
            cursor: pointer;
        }

        label {
            cursor: pointer;
        }

        a {
            color: white;
            text-decoration: underline;
        }
    }

    .send-btn {
        color: #fff;
        border: 1px solid #fff;
        background: rgba(24, 24, 24, 0.65);
        outline: none;
        cursor: pointer;
    }

    .input-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .policy_text {
        font-size: 16px !important;
        color: #fff;
        opacity: .8;
        font-weight: 400;
    }
}

#footer-form {
    .block {
        width: fit-content;
    }

    @media (max-width: 500px) {
        .block {
            width: 100%;
        }
    }

    .content {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
        flex-wrap: wrap;
        max-width: 875px;

    }

    @media (max-width: 859px) {
        .content {
            flex-direction: column;
        }
    }

    select,
    input {
        border: 1px solid #666;
        border-radius: 3px;
        padding: .5rem 1rem;
        transition: all .3s;
        outline: none;
        font-size: 16px;
        width: 320px;
        height: 39px;
        font-family: "Gotham Light", Sans-serif;
    }

    @media (max-width: 500px) {

        select,
        input {
            width: 100%;
        }
    }

    input[type="checkbox"] {
        width: 13px;
    }

    button[type="submit"] {
        color: #fff;
        border: 1px solid #fff;
        background: rgba(24, 24, 24, 0.65);
        outline: none;
        cursor: pointer;
        height: 42px;
        display: flex;
        align-items: center;
        width: fit-content;
        padding: 0px 20px;
        height: 39px;
        font-family: "Gotham Light", Sans-serif;
        font-size: 16px;
    }

    @media (max-width: 859px) {
        button[type="submit"] {
            width: 320px;
            justify-content: center;
        }
    }

    @media (max-width: 500px) {
        button[type="submit"] {
            width: 100%;
        }
    }

    label {
        color: white;
        font-family: "Gotham Light", Sans-serif;
    }

    label a {
        color: white;
        text-decoration: underline;
    }

    .checkbox_block {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;
    }

    #check_block {
        width: 500px;
    }

    @media (max-width: 600px) {
        #check_block {
            width: 300px;
        }
    }
}

.title_form span {
    text-transform: uppercase;
}

.open_form_btn_td {
    cursor: pointer;
}

.error_text {
    color: red;
    font-size: 14px;
    font-family: "Gotham", Sans-serif;
    display: none;
}
.active_error{
    display: block;
}