// Filter {
#filter {
    position: relative;

    .container {
        position: relative;
    }

    &.filter_in_catalog:not(.visible) {
        display: none;
    }

    &.filter_in_catalog {
        .container {
            padding-top: 0;
            padding-bottom: 0;
            margin-bottom: 40px;

            @media all and (max-width: 1420px) {
                margin-left: 0;
                margin-right: 0;
                width: 100%;

                .filter_header .button {
                    bottom: 10px;
                }
            }

            @media all and (max-width: 768px) {
                bottom: 40px;
            }
        }
    }

    .filter_header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 40px;

        .button {
            width: calc(33.333% - 21px);

            @media all and (max-width: 1279px) {
                width: calc(50% - 15px);
                position: absolute;
                right: 0;
                bottom: 90px;
            }

            @media all and (max-width: 1280px) {
                bottom: 50px;
            }

            @media all and (max-width: 768px) {
                width: 100%;
                bottom: 60px;
            }
        }
    }

    .filter_body {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .filter_column {
            width: calc(33.333% - 21px);

            @media all and (max-width: 1279px) {
                width: calc(50% - 15px);
                margin-bottom: 35px;

                &:nth-child(3) {
                    margin-bottom: 0;
                }
            }

            @media all and (max-width: 768px) {
                width: 100%;
                margin-bottom: 24px;

                &:last-child {
                    margin-bottom: 100px;
                }
            }
        }

        .form_field {
            width: 100%;
            margin-bottom: 10px;


        }

        .fieldgroup {
            width: 100%;

            .form_field {
                width: calc(50% - 20px);

                @media all and (max-width: 768px) {
                    width: calc(50% - 4px);
                }
            }
        }
    }
}

// Catalog smamm filter 
#catalog_small_filter {
    margin-bottom: 40px;

    &.hidden {
        display: none;
    }

    .filter_body {
        display: flex;
        justify-content: flex-end;

        select {
            margin-right: 30px;
            width: 306px;
        }

        button {
            width: 220px;
        }

        @media all and (max-width: 1280px) {
            justify-content: space-between;

            .form_field {
                width: calc(33.333% - 30px);

                select {
                    width: 100%;
                }
            }

            button {
                width: 33.3333%;
            }
        }

        @media all and (max-width: 768px) {
            display: block;

            .form_field,
            button {
                width: 100%;
                margin-bottom: 8px;
            }
        }
    }
}

// Order
#order {

    .order_form {
        position: relative;
        margin: 0;

        @media all and (max-width: 960px) {
            margin-top: -60px;
        }

        @media all and (max-width: 768px) {
            margin: 0;
        }

        .order_email {
            display: flex;
            align-items: center;
            position: absolute;
            z-index: 1;
            background: #EDEFF5;
            height: 235px;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;

            p {
                width: 320px;
                font-size: 24px;
                line-height: 45px;
                padding: 0 20px;

                @media all and (max-width: 1280px) {
                    width: 220px;
                    font-size: 13px;
                    line-height: 20px;
                }
            }

            @media all and (max-width: 768px) {
                position: relative;
                height: auto;
                margin-bottom: 25px;

                p {
                    padding: 0;
                }
            }
        }

        form {
            width: 750px;
            background: var(--blue);
            box-sizing: border-box;
            padding: 55px 90px;
            margin: auto;
            margin-left: 390px;
            position: relative;
            z-index: 2;

            @media all and (max-width: 1420px) {
                width: 550px;
                margin-left: 320px;
            }

            @media all and (max-width: 960px) {
                width: 50%;
                padding: 15px 25px;
                margin-left: 285px;
            }

            @media all and (max-width: 768px) {
                width: auto;
                margin-left: -16px;
                margin-right: -16px;
                padding: 25px 16px;
            }

            input {
                margin-bottom: 15px;
                background: rgba(255, 255, 255, 0.2);
                color: #fff;

                &::placeholder {
                    color: #fff;
                }

                @media all and (max-width: 1280px) {
                    margin-bottom: 15px;
                }
            }

            .policy {
                position: relative;
                z-index: 2;
                margin: 5px 25px 45px 25px;

                @media all and (max-width: 1280px) {
                    margin-top: -5px;
                    margin-bottom: 25px;
                    margin-left: 0;
                    margin-right: 0;
                }

                label {
                    color: #fff;
                    font-weight: 300;

                    &:before {
                        background: #fff;
                        border-radius: 0;
                    }
                }

                input:checked+label:before {
                    border-color: #fff;
                    background: url("/assets/images/icons/checkbox_blue.svg") no-repeat center #fff;
                }
            }

            .button {
                display: inherit;
                margin-left: auto;
            }
        }
    }
}

// Login
.login {
    max-width: 610px;

    .login_with {
        display: flex;
        align-items: center;
        margin-bottom: 50px;
        justify-content: flex-start;

        p {
            margin-right: 20px;
        }

        .tabs {
            .tab {
                margin-right: 0;

                &:not(.active) {
                    background-color: var(--inactive);
                }
            }
        }
    }

    .button-group {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        .button {
            margin-left: 30px;
            display: flex;

            &:first-child {
                width: auto;
            }
        }
    }

    .form_field {
        margin-bottom: 15px;

        &.error {
            margin-bottom: 25px;
        }
    }

    input[name="login"] {
        padding-left: 32px;
        background: url("/assets/images/icons/icon-login.svg") no-repeat 8px 50%;
    }

    input[name="pass"] {
        padding-left: 32px;
        background: url("/assets/images/icons/icon-pass.svg") no-repeat 8px 50%;
    }

    .button {
        width: 90px;
        display: block;
        margin-left: auto;
    }

    @media all and (max-width: 960px) {
        max-width: 440px;

        form {
            max-width: 400px;
        }
    }

    @media all and (max-width: 768px) {
        .login_with {
            display: block;
            margin-bottom: 30px;

            p {
                margin-bottom: 10px;
            }

            .tabs {
                width: 100%;

                .tab {
                    width: 50%;
                    text-align: center;
                }
            }
        }

        .button-group {
            flex-wrap: wrap;
            justify-content: center;

            .button {
                margin-left: 0;
            }

            button {
                order: 1;
                width: 100%;
            }

            a {
                order: 2;
                display: inline-flex;
            }
        }
    }

    &.recovery {
        max-width: 815px;

        p {
            &.full {
                width: 100%;
            }
        }

        .message {
            margin-bottom: 15px;
        }

        form {
            display: flex;
            justify-content: space-between;

            .form_field {
                width: calc(100% - 205px);
            }

            .button {
                width: 175px
            }

            &.newPass_form {
                flex-wrap: wrap;
            }
        }

        .resend {
            display: flex;
            align-items: center;
            justify-content: flex-start;

            p {
                margin-right: 30px;
            }

            .button {
                margin-left: 0;
                width: auto;
            }
        }

        @media all and (max-width: 960px) {
            form {
                max-width: 100%;
            }
        }

        @media all and (max-width: 768px) {
            form {
                display: block;

                .form_field,
                .button {
                    width: 100%;
                }
            }

            .resend {
                display: block;
                text-align: center;
                margin-top: 15px;

                p {
                    margin-right: 0;
                }

                .button {
                    margin-left: auto;
                    margin-right: auto;
                }
            }
        }
    }
}


// Поиск договора в лк
.contract_search {
    margin-bottom: 40px;

    @media all and (max-width: 1600px) and (min-width: 1280px) {
        margin-bottom: 30px;
    }

    form {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .form_field {
            &.full {
                width: 100% !important;
                margin-right: 30px !important;

                @media all and (max-width: 960px) {
                    margin-right: 0 !important;
                }
            }

            &:first-child {
                width: calc(50% - 15px);
                min-width: calc(50% - 15px);
                margin-right: 15px;
            }

            &:nth-child(2),
            &:nth-child(3) {
                width: 100%;
                margin-right: 15px;
            }

            &.single {
                width: 100%;
                margin-right: 80px;
            }

            .button {
                width: 158px;
                min-width: 158px;

                @media all and (max-width: 768px) {
                    display: none;
                }
            }

            input+label {
                display: none;
            }
        }
    }

    @media all and (max-width: 960px) {
        margin-bottom: 20px;

        form {
            flex-wrap: wrap;
            justify-content: flex-start;

            .form_field {
                &:first-child {
                    margin-bottom: 15px;
                    width: 100%;

                    &.single {
                        width: calc(100% - 105px);
                        margin-right: 30px;
                        margin-bottom: 0;
                    }
                }

                &:nth-child(2),
                &:nth-child(3) {
                    width: 25%;
                    margin-right: 30px;
                }
            }

            .button {
                margin-left: auto;
            }
        }
    }

    @media all and (max-width: 768px) {
        form {
            justify-content: space-between;

            .form_field {
                margin-right: 0;

                &:first-child {
                    margin-right: 0;
                    margin-bottom: 15px;
                    width: 100%;

                    &.single {
                        width: 100%;
                        margin-right: 0px;
                    }
                }

                &:nth-child(2),
                &:nth-child(3) {
                    width: calc(50% - 4px);
                    margin-right: 0px;

                    input {}
                }

                .date_input,
                input[type="date"] {
                    height: 55px;
                    background-position: 8px 14px;
                    position: relative;
                    padding-bottom: 8px;

                    &::placeholder {
                        color: transparent
                    }

                    &[value=""]+label {
                        display: inline-block;
                        position: absolute;
                        left: 32px;
                        top: 10px;
                        z-index: 2;
                        font-size: 13px;
                        line-height: 20px;
                        color: #919399;
                    }
                }
            }

            .button {
                margin-left: auto;
                width: 100%;
                margin-top: 15px;
                background: var(--blue);
                color: #fff;

                display: none;

                &:disabled {
                    opacity: 0.48;
                }
            }
        }
    }
}

// Акты сверок
.reconciliation_form {
    &:not(.small) {
        margin-bottom: 35px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        p {
            width: 100%;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .form_group {
            width: calc(65% - 8px);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            &:last-child {
                width: calc(35% - 8px);
            }
        }

        .form_field {
            width: calc(50% - 8px);
        }

        .button {
            width: calc(40% - 8px);

            &:last-child {
                width: calc(60% - 8px);
            }
        }

        @media all and (max-width: 1279px) {

            .form_group,
            .form_group:last-child {
                width: calc(50% - 8px);


            }
        }

        @media all and (max-width: 768px) {
            p {
                margin-bottom: 8px;
            }

            .form_group,
            .form_group:last-child {
                width: 100%;
            }

            .form_field {
                margin-bottom: 15px;
            }

            .button,
            .form_field {
                width: calc(50% - 4px);

                &:last-child {
                    width: calc(50% - 4px);
                }
            }
        }
    }

    &.small {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 420px;

        @media all and (max-width: 768px) {
            max-width: 100%;
        }

        .form_field {
            width: ~"calc(50% - 8px)";

            @media all and (max-width: 768px) {
                width: ~"calc(50% - 4px)";
            }

            .date_input_wrapper {
                >.rw-widget .rw-widget-container {
                    display: block;

                    >button {
                        margin: 0;
                        width: 100%;

                    }
                }

            }
        }

        button.button {
            margin-top: 35px;
            width: ~"calc(45% - 8px)";

            &:last-child {
                width: ~"calc(55% - 8px)";
            }

            @media all and (max-width: 768px) {
                width: calc(50% - 4px) !important;
                margin-top: 15px;
            }

        }
    }
}


// Модаль

.fade {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    display: block;

    &:not(.opened) {
        display: none;
    }

    .modal {
        max-width: 700px;
        width: 100%;
        background: #fff;
        margin: 100px auto;
        padding: 45px 40px;

        .modal_footer {
            text-align: right;
            margin-top: 30px;

            .button {
                margin-left: auto;
            }
        }
    }

    @media all and (max-width: 768px) {

        .modal {
            padding: 25px 20px;
            margin: 0;
        }
    }
}

// Акты сверок
.reconciliation_form {

    &.small {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 420px;

        .form_field {
            width: ~"calc(50% - 8px)";

            @media all and (max-width: 768px) {
                width: ~"calc(50% - 4px)";
            }
        }

        button.button {
            margin-top: 15px;
            width: ~"calc(45% - 8px)";

            &:last-child {
                width: ~"calc(55% - 8px)";
            }

            @media all and (max-width: 768px) {
                width: ~"calc(50% - 4px)";
            }
        }
    }
}


// Модаль

.fade {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    display: block;

    &:not(.opened) {
        display: none;
    }

    .modal {
        max-width: 700px;
        width: 100%;
        background: #fff;
        margin: 100px auto;
        padding: 45px 40px;

        .modal_footer {
            text-align: right;
            margin-top: 30px;

            .button {
                margin-left: auto;
            }
        }
    }
}

.settings_user_control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;

    p {
        font-weight: 700;
    }

    div {
        display: flex;
        align-items: center;
        gap: 0 7px;
    }

    @media all and (max-width: 1279px) {
        p {
            width: 160px;
            margin-right: 16px;
            min-width: 160px;
        }

        div {
            width: 100%;

            button {
                &:first-child {
                    width: 60%
                }

                ;

                &:last-child {
                    width: 40%;
                }
            }
        }
    }

    @media all and (max-width: 768px) {
        display: block;
        margin-bottom: 35px;
        width: 100%;

        p {
            width: 100%;
        }

        div {
            display: block;

            button {
                width: 100% !important;
                margin-top: 16px;
            }
        }
    }
}

.settings_table {
    display: table;
    border-collapse: collapse;
    width: 100%;

    @media all and (max-width: 1279px) {
        display: block;
    }

    .table_row {
        display: table-row;

        @media all and (max-width: 1279px) {
            display: block;
            padding-bottom: 16px;
            margin-bottom: 16px;
            border-bottom: 1px solid #EDEFF5;
            padding-left: 55px;
            background: url("../../public/assets/images/icons/user.svg") no-repeat top left;
            position: relative;
        }

        @media all and (max-width: 768px) {
            padding-left: 0;
            background: transparent;
        }

        .table_cell {
            display: table-cell;
            padding: 18px 12px;
            border: 1px solid #EDEFF5;
            position: relative;

            &.delete {
                position: static;
            }

            @media all and (max-width: 1279px) {
                display: flex;
                flex-wrap: wrap;
                border: 0;
                font-size: 13px;
                line-height: 20px;
                padding: 0;
                margin-bottom: 4px;

                &:before {
                    content: attr(data-title);
                    color: #8E94A7;
                    font-weight: 700;
                    display: block;
                    width: 190px;
                    padding-right: 10px;
                }
            }

            @media all and (max-width: 768px) {
                &:before {
                    width: 100%;
                    margin-bottom: 2px;
                }
            }

            &:last-child {
                border-left: 0;
                min-width: 36px;

                button {
                    position: absolute;
                    width: 16px;
                    height: 16px;
                    padding: 0;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    margin: auto;
                    visibility: hidden;
                    pointer-events: none;
                    background: url("../../public/assets/images/icons/icon-delete.svg") no-repeat center;
                }

                @media all and (max-width: 1279px) {
                    &:before {
                        //display: none; 
                        border: 0;

                    }

                    button {
                        bottom: auto;
                        left: auto;
                        width: 32px;
                        height: 32px;
                        background: url("../../public/assets/images/icons/Trash.svg") no-repeat center;
                        font-size: 0;
                        text-indent: -999px;
                        overflow: hidden;
                    }
                }

                @media all and (max-width: 768px) {
                    button {
                        /*background: transparent;*/
                        text-indent: 0;
                        font-weight: 600;
                        font-size: 15px;
                        line-height: 20px;
                        color: #A8026B;
                        width: 140px;
                        position: relative;
                    }
                }
            }

            &:nth-last-child(2) {
                border-right: 0;
            }

            input {
                border: 0;
                outline: none;
                background: #fff;
                font-size: 15px;
                padding: 0;

                &::placeholder {
                    color: var(--text_not_active);
                    font-size: 15px;
                }

                @media all and (max-width: 1279px) {
                    padding: 0 12px;
                    border: 1px solid rgba(0, 16, 61, 0.12);
                    height: 40px;
                    max-width: 320px;
                    width: 100%;
                    box-sizing: border-box;
                }

                @media all and (max-width: 768px) {
                    max-width: none;
                    width: 100%;
                }
            }

            .settings_dropdown {
                font-family: 'Montserrat', sans-serif;
                font-weight: 400;
                cursor: pointer;
                width: 100%;
                text-align: left;
                font-weight: 400;
                justify-content: flex-start;
                font-size: 15px;
                line-height: 20px;
                color: #0C0C0C;
                padding: 0;
                background: url(/assets/images/icons/company-arrow.svg) no-repeat 100% 50%;

                &[data-selected="false"] {
                    color: var(--text_not_active);
                }

                @media all and (max-width: 1279px) {
                    border: 1px solid rgba(0, 16, 61, 0.12);
                    padding: 0 10px;
                    background-position: calc(100% - 10px) 50%;
                    width: calc(100% - 200px);
                    max-width: 320px;
                }

                @media all and (max-width: 768px) {
                    max-width: none;
                    width: 100%;
                }
            }

            .dropdown_list {
                position: absolute;
                top: 100%;
                left: 0;
                width: 412px;
                display: none;
                background: #FFFFFF;
                box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.16);
                padding: 25px 35px;
                z-index: 9;

                @media all and (max-width: 1279px) {
                    left: 200px;
                }

                @media all and (max-width: 768px) {
                    left: 0;
                    right: 0;
                    width: 100%;
                    padding: 16px;
                }

                &.opened {
                    display: block;
                }

                .list_item {
                    position: relative;
                    padding-bottom: 16px;
                    margin-bottom: 16px;
                    border-bottom: 1px solid var(--inactive);

                    label {
                        font-weight: 700;
                        padding-left: 0;
                        padding-right: 30px;
                        line-height: 23px;

                        &:before {
                            right: 0;
                            left: auto;
                        }

                        span {
                            display: block;
                            font-weight: 400;
                        }
                    }

                    &:last-child {
                        border: 0;
                        padding-bottom: 0;
                        margin-bottom: 0;
                    }
                }
            }
        }

        &.table_header {
            .table_cell {
                color: #8E94A7;
                font-weight: 700;
                border: 0;

                &:last-child {
                    border-left: 0 !important;
                }
            }

            @media all and (max-width: 1279px) {
                display: none;
            }
        }
    }

    &.editable {
        .table_row {
            &.editable {
                .table_cell {
                    margin-bottom: 8px;
                }
            }

            .table_cell {


                &:last-child {
                    border: 1px solid #EDEFF5;

                    @media all and (max-width: 1279px) {
                        border: 0;
                    }

                    button {
                        pointer-events: all;
                        visibility: visible;
                    }
                }
            }
        }
    }
}

.new_appeal {
    form {
        .form_field {
            margin-bottom: 14px;
        }

        textarea {
            height: 208px;
        }
    }
}

.dropzone {
    height: 208px;
    position: relative;
    border: 1px dashed #1C01A9;
    border-radius: 4px;
    background: rgba(28, 1, 169, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;

    .files {
        width: 100%;
        padding: 16px;

        &:empty {
            display: none;
        }
    }

    label {
        &.blue {
            color: var(--blue);
            display: block;
        }
    }

    [type="file"] {
        cursor: pointer;
        position: absolute;
        opacity: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    div {
        max-width: 404px;
        text-align: center;

        p {
            color: #828282;
            margin-bottom: 20px;
        }
    }

    @media all and (max-width: 768px) {
        border: 0;
        background: transparent;
        height: auto;

        div {
            p {
                margin-bottom: 10px;

                &:before {
                    content: attr(data-sm-text);
                    display: block;
                }

                span {
                    display: none;
                }
            }
        }
    }
}

/* questionnaire */
.questionnaire {

	.button-blue { min-width: 80px; }
    &:not(:last-child) {
        margin-bottom: 50px;
    }

    &.disabled {
        input,select, textarea {
            cursor: default;
            background: #fff;
            pointer-events: none;
        }
    }

    .title {
        font-weight: 700;
        font-size: 15px;
        line-height: 23px;
        color: #000;
        margin-bottom: 16px;
        padding-bottom: 16px;
        margin-top: 0;
        border-bottom: 1px solid var(--inactive);
        margin-left: -30px;
        padding-left: 30px;

        @media all and (max-width: 1280px) {
            margin-left: 0;
            padding-left: 0;
        }
    }

    small {
        display: block;
        color: #8E94A7;
        font-size: 11px;
        line-height: 15px;
        font-weight: 400;
        margin-top: 4px;
    }

    >p {
        margin: 15px 0;
    }

    textarea {
        resize: none;
    }

    .formgroup {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .form_field {
            width: ~"calc(50% - 12px)";

            @media all and (max-width: 1024px) {
                width: 100%;
            }
        }
    }

    .form_field {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
        width: 100%;

        @media all and (max-width: 1024px) {
            margin-bottom: 15px;

            &.picker {
                div {
                    width: 100% !important;
                }
                
                input[type="date"] {
                    width: 100% !important;
                }

                .checkbox {
                    margin-left: 0 !important;
                }
            }
        }

        &.bg {
            padding: 8px 0;
            align-items: flex-start;
            background: rgba(28, 1, 169, 0.1);

            @media all and (max-width: 1024px) {
                padding: 8px;
            }
        }

        &.checkbox {
            margin: 8px 0;
            width: 100%;

            label {
                width: auto;
                display: flex;
                align-items: center;

                @media all and (max-width: 1024px) {
                    flex-wrap: wrap;

                }

                &::before {
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }

                input {
                    margin-left: 12px;
                    width: 100%;
                    background: var(--inactive);
                    cursor: default;
                }

                span {
                    white-space: pre-line;
                    white-space: nowrap;

                    @media all and (max-width: 1024px) {
                        white-space: unset;

                        & + input {
                            margin-left: 0;
                            margin-top: 10px;
                        }
                    }
                }
            }

            input:checked+label {
                input {
                    background: #fff;
                    cursor: text;
                }
            }
        }

        label {
            width: 186px;
            margin-right: 12px;

            @media all and (max-width: 1024px) {
                width: 100%;
                margin-right: 0;
                margin-bottom: 8px;
            }

            a {
                text-decoration: underline;
            }

			.required_label {
                color: #A8026B;
                vertical-align: super;
                font-size: 15px;
                display: inline-block;
                margin-left: 3px;
                position: relative;
				line-height: 8px;

                &:hover:after {
                    content: "Обязательное поле";
                    position: absolute;
                    left: 12px;
                    top: -8px;
                    white-space: nowrap;
                    font-size: 13px;
                    line-height: 20px;
                    color: #000;
                    padding: 4px 4px 4px 7px;
                    background-image: url("data:image/svg+xml,%3Csvg width='146' height='28' viewBox='0 0 146 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-1.96701e-07 14L4.5 9.5L4.5 18.5L-1.96701e-07 14Z' fill='%23EDEFF5'/%3E%3Crect x='4.5' width='141' height='28' rx='4' fill='%23EDEFF5'/%3E%3C/svg%3E%0A");
                }
            }
        }

        textarea,
        input:not(.rw-input),
        select,
        .date_input_wrapper,
        .autocomlete {
            width: ~"calc(100% - 198px)";
            

            &[value=""] {
                //background-color: #EDEFF5;
            }

            @media all and (max-width: 1024px) {
                width: 100%;
                max-width: 100% !important;
            }

            &[type="date"] {
                width: 245px;
            }

            &+p {
                font-size: 11px;
                line-height: 15px;
                margin-left: 198px;
                margin-top: 2px;

                @media all and (max-width: 1024px) {
                    margin-left: 0;
                }
            }
        }

        .date_input_wrapper {
            @media all and (max-width: 720px) {
                width: 100%;
            }
        }
    }

    .action {
        text-align: right;
        margin-top: 40px;

        @media all and (max-width: 720px) {
            flex-wrap: wrap;
            gap: 10px 0;

            button {
                width: 100%;
            }
        }
    }

    ul {
        margin: 20px 0;
        padding-left: 20px;
        list-style: disc;
        font-size: 14px;
        line-height: 29px;

        li:not(:last-child) {
            margin-bottom: 8px;
        }
    }

    .dropzone {
        @media all and (max-width: 1024px) {
            width: 100% !important;
            max-width: 360px;
            margin-left: auto;
            margin-right: auto;
        }
    } 

    .feed .feed_list {
        margin-right: 0;
        max-width: 800px;
    }

    .autocomlete {
        

        * {
            outline: none;
            box-shadow: none !important;
        }

        .react-select__control {
            border-radius: 0;
            border: 1px solid rgba(0,16,61,0.12);
            height: 40px;
            min-height: 40px;

            &.react-select__control--menu-is-open {
                border-color: var(--blue);
            }

            .react-select__value-container {
                padding:0 12px;
                height: 100%;
                background: #fff;

                &:not(.react-select__value-container--has-value) {
                    //background-color: #EDEFF5;
                }

                .react-select__input-container {
                    margin: 0;
                    padding: 0;
                }
            }

            .react-select__indicators {
                display: none;
            }
        }

        .react-select__menu {
            border-radius: 0;
            border-width: 0px 1px 1px 1px;
            border-style: solid;
            border-color: rgba(0, 16, 61, 0.12);
            border-radius: 0px 0px 4px 4px;
            margin-top: 0;
            top: 40px;
            padding: 8px 12px;

           .react-select__option {
                color: #8E94A7;
                font-size: 15px;
                line-height: 24px;
                background: transparent !important;
                cursor: pointer;
                padding: 0;

                &:not(:last-child) {
                    margin-bottom: 8px;
                }

                &:hover {
                    color: #000;
                }
                
                &.react-select__option--is-selected {
                    color: var(--blue);
                }

                @media all and (max-width: 960px) {
                    font-size: 13px;
    line-height: 20px;
                }
            }
        }
    }

    .files_list {
		padding-bottom: 30px;

		@media all and (max-width: 720px) {
            .dosc_list {
                width: 100% !important;

                .doc_name {
                    align-items: center;
                    align-content: center;
                    width: auto;
                }
            }
        }
    }

    &.questionnaire_4,
    &.questionnaire_5 {
        .form_field {
            label {
                width: ~"calc(50% - 12px)";
                font-weight: 700;

                @media all and (max-width: 1024px) {
                    width: 100%;
                }
            }

            &.checkbox {
                label {
                    font-weight: 400;
                }
            }

            textarea,
            input,
            select,
            label + div {
                width: 50%; 

                @media all and (max-width: 1024px) {
                    width: 100%;
                }
            }

            .form_field {
                margin-bottom: 0;
            }

            .formgroup {
                gap: 0 12px;
                width: 50%;

                @media all and (max-width: 1024px) {
                    width: 100%;
                }

                .form_field {
                    width: ~"calc(50% - 6px)";

                    .date_input_wrapper, 
                    textarea,
                    input {
                        width: 100%;
                    }

                    &.checkbox {
                        width: 100%;
                    }
                }

                &.control {
                    .form_field {
                        width: ~"calc(100% - 42px)";

                        label {
                            width: 100%;
                        }
                    }

                    .delete {
                        width: 30px;
                        height: 30px;
                        padding: 0;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }
                }
            }
        }

        .added_person {
            border-top: 1px solid var(--inactive);
            margin-top: 30px;
            padding-top: 30px;

            .feed_list .checkbox,
            .feed_list .checkbox label {
                width: 100%;
            }

            .feed_item.user {
                width: 100%;
                padding: 12px 16px;

                .item_desc {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    font-weight: 400;
                    font-size: 15px;
                    line-height: 24px;
                    /* identical to box height, or 160% */


                    /* text not active */

                    color: #8E94A7;

                }

                div {
                    width: 100%;
                }
            }
        }


        .action {
            display: flex;
            justify-content: space-between;
            

            button[type="sumbit"] {
                margin-left: auto;
            }
        }
    }

    &.questionnaire_8 {
        .feed > p {
            padding-left: 28px;
        }
        .feed_list .checkbox,
            .feed_list .checkbox label {
                width: 100%;
            }

            .feed_item.user {
                width: 100%;
                padding: 12px 16px;

                .item_desc {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    font-weight: 400;
                    font-size: 15px;
                    line-height: 24px;
                    /* identical to box height, or 160% */


                    /* text not active */

                    color: #8E94A7;

                }

                div {
                    width: 100%;
                }
            }
        
    }

    &.status_action {
        max-width: 850px;
        padding: 0 0  0 40px;
        display: inline-block;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--inactive);

        @media all and (max-width: 1024px) {
           padding: 0;
        }
    }

    &.message {
        display: flex;
        align-items: center;
        gap: 0 16px;
        padding: 16px;
        background-color: var(--inactive);
        margin: 20px 0;
        margin-left: -30px;

        @media all and (max-width: 1024px) {
            margin-left: 0;
        }

        p {
            color: #000;
            margin: 0;

            b {
                display: block;
                font-weight: 700;
            }
        }
        svg {
            min-width: 44px;

            path {
                fill: #000;
            }
        }

        &.error {
            background: #ED0A34;
            
            p {
                color: #fff;
            }

            svg path {
                fill: #fff;
            }
        }

        &.moderate {
            background: #8E94A7;
            margin-left: 0;
            
            p {
                color: #fff;
            }

            svg path {
                fill: #fff;
            }
        }
        &.success {
            background: #5FB158;
            margin-left: 0;
            
            p {
                color: #fff;
            }

            svg path {
                fill: #fff;
            }
        }

        &.notify {
            background: #A8026B;

            p {
                color: #fff;
            }

            svg path {
                fill: #fff;
            }

            button {
                margin-left: auto;
            }

            @media all and (max-width: 720px) {
                flex-wrap: wrap;

                p {
                    width: calc(100% - 64px);
                }

                button {
                    margin-left: 64px;
                    margin-top: 10px;
                }
            }
        }
    }
}

.questionnaire_button_continue {
	@media all and (max-width: 720px) {
		width: 100%;
	}	
}

.chackbox_with_margin {
	@media all and (max-width: 1024px) {
		&::before {
			top: 0;
			bottom: 0;
			margin: 0px!important;
		}

		div { 
			margin-top: 10px!important;
		}
		input {
			margin: 0px!important;
		}
	}
}