
    /*.block_for_messages {*/
    /*    font-size: 16px;*/
    /*    font-weight: 500;*/
    /*}*/

.error_message {
    color: #2e2d2c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    /*--font-family-sans-serif: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";*/
    /*--font-family-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;*/
    /*font-size: 1rem;*/
    line-height: 1.5;
    text-align: left;
    /*font-weight: 300;*/
    /*font-family: Roboto,sans-serif;*/
    box-sizing: border-box;
    transition: opacity .15s linear;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    padding-right: 4rem;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.success_message {
    color: #2e2d2c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    /*--font-family-sans-serif: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";*/
    /*--font-family-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;*/
    /*font-size: 1rem;*/
    line-height: 1.5;
    text-align: left;
    /*font-weight: 300;*/
    /*font-family: Roboto,sans-serif;*/
    box-sizing: border-box;
    transition: opacity .15s linear;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    padding-right: 4rem;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

details {
    position: relative;
    border: 1px solid #ededed;
    border-bottom: 0;
    border-top: 0;
    transition: all .3s;
}


details[open] summary {
    background-color: #F5F6F8;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

summary:focus {
    outline: none;
}

summary:focus::after {
    content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

summary::-webkit-details-marker {
    display: none
}

.control-icon {
    fill: rebeccapurple;
    transition: .3s ease;
    pointer-events: none;
}

.control-icon-close {
    display: none;
}

details[open] .control-icon-close {
    display: initial;
    transition: .3s ease;
}

details[open] .control-icon-expand {
    display: none;
}


:root {
    --color-red: #ea0f0f;
    --color-gray-light: #bbb;
    --color-gray-disabled: #e8e8e8;
    --color-green: #53a318;
    --color-green-dark: #383;
    --font-size-small: .70rem;
    --font-size-default: .970rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.progress-bar li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: var(--font-size-default);
    line-height: 1.5;
    color: var(--color-green);
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 2px solid var(--color-gray-disabled);
}

.progress-bar li:first-child,
.progress-bar li:last-child {
    flex: 1;
}

.progress-bar li:last-child {
    text-align: right;
}

.progress-bar li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--color-gray-disabled);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -5px;
    z-index: 3;
    transition: all .2s ease-in-out;
}

.progress-bar li:first-child:before {
    left: 0;
}

.progress-bar li:last-child:before {
    right: 0;
    left: auto;
}

.progress-bar span {
    transition: opacity .3s ease-in-out;
}

.progress-bar li:not(.is-active) span {
    opacity: 0;
}

.progress-bar .is-complete:not(:first-child):after,
.progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: -50%;
    z-index: 2;
    border-bottom: 2px solid var(--color-green);
}

.progress-bar li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
}

.progress-bar .is-complete:last-child:after,
.progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
}

.progress-bar .is-complete:before {
    background-color: var(--color-green);
}

.progress-bar li:hover span,
.progress-bar li.is-hovered span {
    opacity: 1;
}

.progress-bar:hover li:not(:hover) span {
    opacity: 0;
}

.x-ray .progress-bar,
.x-ray .progress-bar li {
    border: 1px dashed red;
}

.progress-bar .has-changes {
    opacity: 1 !important;
}

.progress-bar .has-changes:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
}

.text-block ol > li:before {
    content: counter(step-counter) ". ";
}


input[type="radio"] {
    position: absolute;
    left: -9999px;
}

:root {
    --black: #1a1a1a;
    --white: #fff;
    --green: #004182;
}

.filters {
    text-align: center;
    margin-bottom: 2rem;
}

.filters * {
    display: inline-block;
}

.filters label {
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 2rem;
    min-width: 50px;
    line-height: normal;
    cursor: pointer;
    transition: all 0.1s;
}

.filters label:hover {
    background: var(--green);
    color: var(--white);
}

[value="all"]:checked ~ .material [data-status] {
    display: block;
}

[value="new"]:checked ~ .material .items:not([data-status~="1"]),
[value="on_editing"]:checked ~ .material .items:not([data-status~="2"]),
[value="edited"]:checked ~ .material .items:not([data-status~="3"]),
[value="checked1"]:checked ~ .material .items:not([data-status~="6"]),
[value="checked2"]:checked ~ .material .items:not([data-status~="7"]),
[value="recd"]:checked ~ .material .items:not([data-status~="4"]),
[value="rejected"]:checked ~ .material .items:not([data-status~="5"]) {
    display: none;
}

[value="all"]:checked ~ .filters [for="all"],
[value="new"]:checked ~ .filters [for="new"],
[value="on_editing"]:checked ~ .filters [for="on_editing"],
[value="edited"]:checked ~ .filters [for="edited"],
[value="checked1"]:checked ~ .filters [for="checked1"],
[value="checked2"]:checked ~ .filters [for="checked2"],
[value="recd"]:checked ~ .filters [for="recd"],
[value="rejected"]:checked ~ .filters [for="rejected"] {
    background: var(--green);
    color: var(--white);
}

/*[value="6"]:checked ~ .status textarea,*/
/*[value="7"]:checked ~ .status textarea,*/
/*[value="4"]:checked ~ .status textarea {*/
/*    display: none;*/
/*}*/

