@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/mulish-v13-cyrillic_latin-regular.woff2') format('woff2');
}

/* Reset and base styles  */
* {
    padding: 0;
    margin: 0;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a, a:link, a:visited {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input:not([type="checkbox"]), select {
    display: block;
    width: 100%;
    padding: .543rem .9375rem;
    margin-top: .4rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.375;
    color: #384551;
    appearance: none;
    background-color: rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border: 1px solid #ced1d5;
    border-radius: 6px;
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

select {
    background: url(../svg/bottom-arrow.svg) no-repeat right;
    background-size: 22px;
    background-position-x: calc(100% - 15px);
}

select:disabled {
    background: url(../svg/bottom-arrow-grey.svg) no-repeat right;
    background-size: 22px;
    background-position-x: calc(100% - 15px);
}

input:disabled, select:disabled, select option:disabled {
    color: rgba(56, 69, 81, 0.5) !important;
}

input[readonly], select[readonly]{
    color: rgba(56, 69, 81, 0.5) !important;
    cursor: default !important;
}

input::placeholder {
    color: rgba(204, 204, 204, 1);
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background: transparent none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
    position: relative;
}

legend {
    display: block;
}

/* Reset and base styles end */

body {
    font-family: "Mulish", sans-serif;
    font-size: 15px;
    font-weight: 200;
    background: url(../svg/fon-big.svg) 100% -200px no-repeat #F3F3F3;
    /*color: #384551;*/
    color: #2a343d;
}

input:not([type="checkbox"]), select {
    display: block;
    width: 100%;
    padding: .543rem .9375rem;
    margin-top: .4rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.375;
    color: inherit;
    appearance: none;
    background-color: rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border: 1px solid #ced1d5;
    border-radius: 6px;
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

select {
    background: url(../svg/bottom-arrow.svg) no-repeat right;
    background-size: 22px;
    background-position-x: calc(100% - 15px);
    padding-right: 48px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #384551;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
    cursor: pointer;
}

h1 {
    font-size: 1.66rem;
    font-weight: bold;
}

h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.hide{
    display: none;
}

.green {
    color: #85B22C;
}

.red {
    color: #D22630;
}

.orange {
    color: #FFBF00;
}

.grey {
    color: #999999;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.text-grey,
.text-grey a {
    color: rgba(30, 36, 39, .7) !important;
}

.wrapper {
}

.btn {
    border-radius: 6px;
    padding: .6rem 1.2rem;
    background-color: #b60209;
    border-color: #b60209;
    box-shadow: 0 .125rem .25rem 0 rgba(210, 38, 48, .4);
    color: #fff;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    background: #d22630;
}

.btn.grey {
    color: #858593;
    background: #E5E5E5;
    border-color: #E5E5E5;
    box-shadow: 0 .125rem .25rem 0 rgba(229, 229, 229, .4);
}

.btn.grey:hover {
    background: #EFEFEF;
}

.panel {
    position: fixed;
    top: 0;
    left: 0;
    background: #FFFFFF;
    width: 360px;
    height: 100vh;
    flex: 0 0 auto;
    align-items: stretch;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 1px 2px 10px 2px rgba(0, 0, 0, 0.09);
    -webkit-box-shadow: 1px 2px 10px 2px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 1px 2px 10px 2px rgba(0, 0, 0, 0.09);
}

.panel-logo {
    background: url('../svg/bg-logo-fon.svg') 0 50% no-repeat #D22630;
    height: 130px;
}

.panel-logo a {
    display: block;
    height: 100%;
    width: 100%;
    background: url('../svg/logo.svg') 50% 50% no-repeat;
    background-size: 62px 65px;
}

.panel-logo:hover {
    animation: bg-banner-animation 5s ease-in-out infinite;
    animation-iteration-count: 1;
}

@keyframes bg-banner-animation {
    0% {
        background-position: 0 50%;
    }

    10% {
        background-position: -10px 55%;
    }

    80% {
        background-position: 40px 55%;
    }

    100% {
        background-position: 0 50%;
    }
}

.panel-name {
    font-size: 1.2rem;
    font-family: "Mulish", sans-serif;
    font-weight: bold;
    text-align: center;
    margin-top: 48px;
}

.panel-company {
    font-size: 1rem;
    text-align: center;
    opacity: .6;
    margin-top: 4px;
}

.panel-bill-ver {
    font-size: .76rem;
    text-align: center;
    opacity: .6;
    margin-top: 4px;
}

.panel-menu {
    margin-top: 48px;
}

.panel-menu li a {
    display: block;
    padding: 0 48px;
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    color: inherit;
}

.panel-menu li:last-child a span {
    border-bottom: 1px solid #FFFFFF;
}

.panel-menu li a span {
    display: block;
    padding: 24px 0 24px 48px;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: -1px;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.panel-menu li a:hover {
    background: #F6F6F7;
}

.panel-menu li a:hover span {
    font-weight: bold;
}

.panel-menu li:last-child a:hover span {
    border-bottom: 1px solid #E5E5E5;
}

.panel-menu li.menu-panel a {
    background: url('../svg/icon-panel.svg') 48px 50% no-repeat;
    background-size: 28px 28px;
}

.panel-menu li.menu-panel a:hover {
    background: url('../svg/icon-panel.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 28px 28px;
}

.panel-menu li.menu-clients a {
    background: url('../svg/icon-clients.svg') 48px 50% no-repeat;
    background-size: 28px 28px;
}

.panel-menu li.menu-clients a:hover {
    background: url('../svg/icon-clients.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 28px 28px;
}

.panel-menu li.menu-archive a {
    background: url('../svg/icon-archive.svg') 48px 50% no-repeat;
    background-size: 24px 24px;
}

.panel-menu li.menu-archive a:hover {
    background: url('../svg/icon-archive.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 24px 24px;
}

.panel-menu li.menu-order a {
    background: url('../svg/icon-order-black.svg') 48px 50% no-repeat;
    background-size: 26px 26px;
}

.panel-menu li.menu-order a:hover {
    background: url('../svg/icon-order-black.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 26px 26px;
}

.panel-menu li.menu-deduct a {
    background: url('../svg/icon-deduct.svg') 48px 50% no-repeat;
    background-size: 26px 26px;
}

.panel-menu li.menu-deduct a:hover {
    background: url('../svg/icon-deduct.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 26px 26px;
}

.panel-menu li.menu-1c a {
    background: url('../svg/logo-1c.svg') 48px 50% no-repeat;
    background-size: 38px 38px;
}

.panel-menu li.menu-1c a:hover {
    background: url('../svg/logo-1c.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 38px 38px;
}

.panel-menu li.menu-statistic a {
    background: url('../svg/icon-stats.svg') 48px 50% no-repeat;
    background-size: 26px 26px;
}

.panel-menu li.menu-statistic a:hover {
    background: url('../svg/icon-stats.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 26px 26px;
}

/*   TODO убрать начало, неактивные пункты меню слева, быстрый старт */
.panel-menu li a{
    opacity: .4;
    cursor: default;
}

.panel-menu li a:hover{
    background: #FFFFFF;
}

.panel-menu li a:hover span {
    font-weight: normal;
}

.panel-menu li:first-child a,
.panel-menu li:nth-child(2) a,
.panel-menu li:nth-child(3) a
{
    opacity: 1;
    cursor: pointer;
}

.panel-menu li:first-child a:hover{
    background: url('../svg/icon-clients.svg') 48px 50% no-repeat #F6F6F7;
    background-size: 28px 28px;
}

.panel-menu li:first-child a:hover span,
.panel-menu li:nth-child(2) a:hover span {
    font-weight: bold;
}
/*   TODO убрать конец */

.test-billing {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    background: #b50606;
    color: #FFFFFF;
}

.agreement-archived {
    background: #ff9b9b29;
}

.agreement-active {
    background: #85b22c47;
}

.content {
    display: flex;
    flex-direction: column;
    margin: 0 32px 0 392px;
    min-height: calc(100vh - 100px);
}

.header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8;
    height: 6rem;
    width: 100%;
    margin-left: 361px;
    background: #f3f3f3;
    backdrop-filter: saturate(200%) blur(10px);
    background: linear-gradient(180deg, rgba(243, 243, 243, 0.7) 44%, rgba(243, 243, 243, 0.43) 73%, rgba(243, 243, 243, 0));
    mask: linear-gradient(#f3f3f3, #f3f3f3 40%, transparent 100%);
}

.header {
    position: sticky;
    top: 32px;
    left: 0;
    z-index: 8;
    margin-bottom: 70px;
    padding: 0 1.5rem;
    width: 100%;
    height: 62px;
    border-radius: 6px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 1);
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    backdrop-filter: saturate(200%) blur(6px);
    -webkit-backdrop-filter: saturate(200%) blur(6px);
    transition: background-color 2s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, .72);
    transition: none;
}

.header-block-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.header-menu-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
}

.header-menu-hamburger i {
    display: inline-block;
    background: url(../svg/icon-burger.svg) 50% 50% no-repeat;
    background-size: cover;
    width: 22px;
    height: 22px;
    line-height: 27px;
    margin-right: .9rem;
    cursor: pointer;
}

.header-block-search {
    display: none;
    align-items: center;
    height: 100%;
}

.header-search-input {
    position: relative;
    width: 100%;
    padding: 5px 0;
    color: inherit;
}

@keyframes movePlaceholder {
    from {
        transform: translateY(-50%);
    }
    to {
        transform: translateY(-50%) translateX(8px);
    }
}

.h-search-placeholder {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Чтобы не мешал кликам на input */
    color: #a7acb2;
    animation: movePlaceholder .2s ease-in-out forwards; /* forwards - чтобы оставалось в конечном положении */
}

.h-search-placeholder.animated {
    animation-play-state: running; /* запускаем анимацию */
}

.header-search-input input {
    display: inline-block;
    width: 80%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    line-height: 0;
    color: inherit;
    appearance: none;
    background-color: rgba(0, 0, 0, 0);
    background-clip: padding-box;
    outline: none;
}

.search-close,
.search-start-btn {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%); /* Смещение по вертикали на 50% от высоты */
    transform-origin: center top; /*  Это важно для правильного отсчета для translateY */
    background: url(../svg/icon-search-close.svg) 50% 50% no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.search-start-btn {
    display: inline-block;
    right: 25px;
    background: url(../svg/icon-search-start.svg) 0 0 no-repeat;
}

.header-search {
    display: flex;
    align-items: center;
    width: 90%;
    height: 100%;
    cursor: pointer;
}

.header-search i {
    display: inline-block;
    background: url(../svg/icon-search2.svg) 0 0 no-repeat;
    background-size: cover;
    margin-right: 1.5rem;
    width: 22px;
    height: 22px;
}

.header-search span {
    display: inline-block;
    color: #a7acb2;
}

.header-menu {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    cursor: pointer;
}

.h-menu {
    display: block;
    width: 22px;
    height: 22px;
    background-size: cover;
}

.header-menu .menu-profile {
    width: 36px !important;
    height: 36px !important;
    background: url('../svg/icon-profile2.svg') 0 0 no-repeat !important;
}

.header-menu .menu-profile .user-mark {
    position: absolute;
    top: 0;
    right: 0;
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: #85B22C;
}

.header-menu .menu-bell {
    background: url('../svg/icon-bell.svg') 0 0 no-repeat;
}

.header-menu .menu-plus {
    background: url('../svg/icon-plus-grey.svg') 0 0 no-repeat;
}

.menu-profile .menu-option {
    width: 220px;
    right: 0;
    top: 55px;
}

.menu-profile .menu-option ul li {
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 40px;
    padding: 0 18px !important;
    border-bottom: none;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.menu-profile .menu-option ul li:first-child {
    height: 58px;
    margin-top: 9px;
    border-bottom: none;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.menu-profile .menu-option ul li:last-child {
    margin-bottom: 9px;
}

.dropdown-divider {
    height: 0 !important;
    margin: 4px auto !important;
    overflow: hidden;
    border-top: 1px solid #e4e6e8;
    opacity: 1;
    cursor: default;
}

.h-avatar {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    margin-right: 12px;
    background: url('../svg/icon-profile2.svg') 0 0 no-repeat !important;
}

.h-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.h-user-name {
    font-size: .95rem;
    color: #384551;
}

.h-user-group {
    font-size: .82rem;
    color: #a7acb2;
}

.h-m-icon {
    width: 15px;
    height: 15px;
    background-size: cover;
    margin-right: 15px;
}

.h-logout a {
    display: flex;
    align-items: center;
    width: 100%;
}

.h-logout .h-m-icon {
    background: url('../svg/icon-logout.svg') 0 0 no-repeat;
}

.h-m-name {
    font-size: .9rem;
    color: #384551;
}

.h-settings .h-m-icon {
    background: url('../svg/icon-settings2.svg') 0 0 no-repeat;
}

.content-box {
    position: relative;
    background: #FFFFFF;
    margin-top: 32px;
    padding: 32px;
    border-radius: 8px;
    min-height: calc(100vh - 270px);
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.09);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.09);
}

.table-flex {
    display: flex;
    flex-direction: column;
    width: 100%; /* Занимаем всю ширину */
    font-size: .9rem;
}

.table-header, .table-row {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
    align-items: center;
}

.table-header li, .table-row li {
    padding: 8px 24px;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
}

.table-header {
    background: #F6F6F7;
    font-weight: bold;
}

.table-flex a:nth-child(odd) {
    background: rgba(246, 246, 247, 1);
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.table-flex a:hover:nth-child(odd) {
   /* background: rgba(240, 240, 240, .5);*/
}

.table-flex a {
    background: #FFFFFF;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.table-flex a:hover {
    background: rgba(240, 240, 240, 1);
}

.table-row li.col-2 .small-r-t-warning,
.table-row li.col-2 .small-r-t-warning2 {
    left: 0;
    top: 36%;
}

.table-header li.col-1,
.table-row li.col-1 {
    flex: 0 0 7%;
    min-width: 7%;
}

.table-header li.col-2,
.table-row li.col-2 {
    flex: 0 0 35%;
    min-width: 35%;
    position: relative;
}

.table-header li.col-3,
.table-row li.col-3 {
    flex: 0 0 18%;
    min-width: 18%;
}

.table-header li.col-4,
.table-row li.col-4 {
    flex: 0 0 12%;
    min-width: 12%;
}

.table-header li.col-5,
.table-row li.col-5 {
    flex: 0 0 8%;
    min-width: 8%;
}

.table-header li.col-6,
.table-row li.col-6 {
    flex: 0 0 20%;
    min-width: 20%;
}

.table-row li.col-5:hover {
    text-decoration: underline;
}

.search-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-empty div {
    background: url(../svg/icon-search-empty.svg) 50% 0 no-repeat;
    background-size: 65px 65px;
    padding-top: 65px;
    text-align: center;
}

.archive-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.archive-empty div {
    background: url(../svg/icon-archive-empty.svg) 50% 0 no-repeat;
    background-size: 50px 50px;
    padding-top: 65px;
    text-align: center;
}

.details-content .small-r-t-warning {
    right: -.8rem;
    top: -.2rem;
    width: 10px;
    height: 10px;
}

.task-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    margin-top: 24px;
}

.task-list li {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    flex: 1 1 0;
    height: 150px;
    border: 1px solid #DBDBEA;
    border-radius: 8px;
    padding: 32px;
    box-sizing: border-box;
}

.task-list-title {
    font-weight: bold;
    font-size: 1rem;
}

.task-list-desc {
    font-size: .9rem;
    font-weight: 200;
    margin-top: 4px;
    color: #858593;
}

.task-list li {
    background: #FFFFFF;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
}

.task-list li .task-list-text {
    flex: 1 1 0;
    margin-right: 24px;
}

.task-list li .task-list-count {
    font-size: 3.5rem;
    text-align: right;
    width: 100px;
    flex: 0 0 auto;
}

.task-list li:nth-child(1) {
    background: url('../svg/fon1.svg') 120% 20px no-repeat #FFFFFF;
}

.task-list li:nth-child(2) {
    background: url('../svg/fon2.svg') 80% -150px no-repeat #FFFFFF;
}

.task-list li:nth-child(3) {
    background: url('../svg/fon3.svg') 60% 60px no-repeat #FFFFFF;
}

.search-client-box {
    margin-top: 0;
}

.search-client-box input {
    width: 100%;
    height: 48px;
    margin-top: 16px;
    padding: 0 64px 0 24px;
    border: 1px solid #CCCCCC;
    border-radius: 24px;
    font-size: 1rem;
    color: #555555;
}

.search-client-box input::placeholder {
    font-size: 1rem;
    color: rgba(133, 133, 147, 0.68);
}

.search-client-input {
    position: relative;
}

.search-client-btn {
    position: absolute;
    right: 16px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    background: url('../svg/icon-search.svg') 0 0 no-repeat;
    background-size: cover;
}

.search-client-filter {
    display: flex;
    justify-content: flex-end;
}

.search-client-filter-btn {
    width: 28px;
    height: 28px;
    background: url('../svg/icon-filter.svg') 0 0 no-repeat;
    background-size: cover;
    cursor: pointer;
}

.manager-client-list {
    font-size: .9rem;
}

.client-box-up {
    margin-top: 16px;
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    align-items: stretch;
}

.client-box-info {
    flex: 1 1 0;
}

.client-box-info-link {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    margin-top: 16px;
}

.client-box-info-link li {
    position: relative;
}

.client-box-info-link a {
    color: #D22630;
    text-decoration: underline;
}

.client-box-info-link a:hover {
    text-decoration: none;
}

.client-box-info-tab {
    margin-top: 16px;
}

.client-box-info-tab ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    font-size: 1.05rem;
}

.client-box-info-tab ul li {
    color: rgba(30, 36, 59, 0.7);
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 3px solid rgba(243, 243, 243, 0);
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.client-box-info-tab ul li:hover {
    color: rgba(30, 36, 59, 1);
    border-bottom: 3px solid #D22630;
}

.client-box-info-tab ul li.active {
    color: rgba(30, 36, 59, 1);
    font-weight: bold;
    border-bottom: 3px solid #D22630;
}

.client-box-info-desc {
    position: relative;
    height: calc(100% - 68px);
    margin-top: 24px;
    background: #FFFFFF;
    padding: 32px;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
}

.client-box-finance {
    background: #FFFFFF;
    width: 400px;
    padding: 32px 32px 0 32px;
    box-sizing: border-box;
    border-radius: 6px;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
}

.client-box-finance ul {
    margin: 24px 0 32px;
}

.client-box-finance ul li {
    font-size: .9rem;
    color: rgba(30, 36, 59, 1);
    background: url('../svg/icon-finance-plus.svg') 0 0 no-repeat;
    background-size: 32px 32px;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 16px;
    padding-bottom: 16px;
    padding-left: 48px;
    position: relative;
}

.client-box-finance ul li:last-child {
    padding-bottom: 0;
}

.client-box-finance ul li.minus {
    background: url('../svg/icon-finance-minus.svg') 0 0 no-repeat;
    background-size: 32px 32px;
}

.client-box-finance ul li.cancel {
    background: url('../svg/icon-finance-minus.svg') 0 0 no-repeat;
    background-size: 32px 32px;
}

.client-box-finance ul li.cancel .red {
    color: #777777;
}

.client-box-finance-agreement {
    font-size: .8rem;
    color: rgba(30, 36, 59, .5);
    margin-bottom: 4px;
}

.client-box-finance-service {
    font-weight: bold;
    margin-bottom: 4px;
}

.client-box-finance-service-month {
    font-weight: normal;
    font-size: .8rem;
    color: rgba(30, 36, 59, .5);
}

.client-box-finance-service-period {
    font-weight: normal;
    font-size: .8rem;
    color: rgba(30, 36, 59, .8);
    margin: 4px 0;
}

.client-box-finance-desc {
    position: relative;
    font-size: .85rem;
    font-weight: normal;
    color: #777777;
    margin: 4px 0;
}

.client-box-finance-desc span {
    position: absolute;
    left: -30px;
    top: 50%; /* Позиционируем верхний край посередине */
    transform: translateY(-50%); /* Смещаем на половину высоты вверх */
    height: 13px;
    width: 13px;
    background: url('../svg/icon-edit.svg') 0 0 no-repeat;
    background-size: cover;
    cursor: pointer;
}

.client-box-finance-service-link {
    font-weight: normal;
}

.client-box-finance-service-link a {
    text-decoration: underline;
}

.client-box-finance ul li:last-child {
    border: 0;
}

.client-box-finance-price span {
    font-family: "Mulish", sans-serif;
}

.client-box-finance-all {
    margin: 24px 0;
    text-align: center;
}

.client-box-finance-all a {
    color: #D22630;
    text-decoration: underline;
}

.client-box-finance-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: .9rem;
}

.client-box-finance-empty-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.client-box-finance-empty-box p {
    color: rgba(30, 36, 59, .4);
    margin-top: .25rem;
}

.client-box-finance-empty-icon {
    background: url('../svg/icon-empty.svg') 50% 0 no-repeat;
    background-size: cover;
    height: 56px;
    width: 56px;
    opacity: 1;
    margin-bottom: 12px;
}

.client-all-finance {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 32px;
    color: #d22630;
    text-decoration: underline;
}

.client-all-finance-table {
    border-bottom: 1px solid #E5E5E5;
}

.client-all-finance-table-header {
    border-bottom: 1px solid #E5E5E5;
}

.client-all-finance-table-header li.col-1,
.client-all-finance-table li.col-1 {
    flex: 0 0 3%;
    min-width: 3%;
}

.client-all-finance-table-header li.col-2,
.client-all-finance-table li.col-2 {
    flex: 0 0 20%;
    min-width: 20%;
}

.client-all-finance-table-header li.col-3,
.client-all-finance-table li.col-3 {
    flex: 0 0 12%;
    min-width: 12%;
}

.client-all-finance-table-header li.col-4,
.client-all-finance-table li.col-4 {
    flex: 0 0 12%;
    min-width: 12%;
}

.client-all-finance-table li.col-4 {
    font-size: .85rem;
}

.client-all-finance-table-header li.col-5,
.client-all-finance-table li.col-5 {
    flex: 0 0 16%;
    min-width: 16%;
}

.client-all-finance-table li.col-5 {
    font-size: .85rem;
}

.client-all-finance-table-header li.col-6,
.client-all-finance-table li.col-6 {
    flex: 0 0 13%;
    min-width: 13%;
}

.client-all-finance-table li.col-6 {
    font-size: .85rem;
}

.client-all-finance-table-header li.col-7,
.client-all-finance-table li.col-7 {
    flex: 0 0 14%;
    min-width: 14%;
}

.client-all-finance-table li.col-7 {
    font-size: .85rem;
}

.client-all-finance-table-header li.col-8,
.client-all-finance-table li.col-8 {
    flex: 0 0 3%;
    min-width: 3%;

}

.btn-client-finance-plus-menu {
    background-size: 32px 32px;
    cursor: pointer;
    width: 32px !important;
    min-height: 32px;
    color: #2a343d;
}

select[name="select-agreement-finance"] {
    max-width: 300px;
}

.client-all-finance-wrap {
    display: flex;
    margin-bottom: 26px;
}

.client-all-finance-select-wrap {
    margin-left: 30px;
}

.client-all-finance-table-p {
    color: rgba(30, 36, 59, 1);
    background: url('../svg/icon-finance-plus.svg') 50% 50% no-repeat;
    background-size: 24px 24px;
    min-height: 60px;
}

.client-all-finance-table-m {
    color: rgba(30, 36, 59, 1);
    background: url('../svg/icon-finance-minus.svg') 50% 50% no-repeat;
    background-size: 24px 24px;
    min-height: 60px;
}

.client-all-finance-table li span a {
    background: none !important;
}

.client-all-finance-table-cancel {
   color: #2a343d75 !important;
   background: #ff9b9b29;
}

.client-all-finance-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 7px;
    color: #384551;
}

.client-all-finance-balance-title {
    font-size: 1rem;
    font-weight: bold;
}

.client-all-finance-balance {
    font-size: 1rem;
    font-weight: bold;

}

.client-all-finance-balance span {
    font-size: 1.1rem;
    font-weight: normal;
    margin-left: 5px;
}

.client-all-finance-list-empty{
    text-align: center;
    margin-top: 32px;
    color: rgba(30, 36, 59, .5);
}

.client-box-info-desc ul > li {
    margin-bottom: 12px;
    color: rgba(30, 36, 59, 1);
}

.client-box-info-desc ul > li b {
    font-family: "Mulish", sans-serif;
    font-weight: 700;
}

.client-box-info-desc ul > li b.green {
    color: #85B22C;
}

.client-box-info-contact {
    margin-top: 0;
}

.client-box-info-contact ul {
    margin-bottom: 2rem;
}

.client-box-info-contact ul a {
    color: inherit;
    text-decoration: underline;
}

.client-box-info-contact ul:last-child {
    margin-bottom: 0;
}

.client-box-info-contact {
    position: relative;
}

.client-box-info-contact-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 28px;
    width: 28px;
    cursor: pointer;
    background: url('../svg/icon-plus.svg') 0 0 no-repeat;
    background-size: 28px 28px;
}

.client-box-info-contact-btns {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    position: absolute;
    right: 0;
    top: 0;
    height: 28px;
    cursor: pointer;
}

.btn-edit-contact {
    height: 16px;
    width: 16px;
    background: url('../svg/icon-edit.svg') 0 0 no-repeat;
    background-size: 16px 16px;
}

.btn-remove-contact {
    height: 16px;
    width: 16px;
    background: url('../svg/icon-contact-delete.svg') 0 0 no-repeat;
    background-size: 16px 16px;
}

.client-box-info-contact-box {
    margin-top: 2rem;
    position: relative;
}

.btn-add-menu {
    background: url('../svg/tree-point.svg') 12px 0 no-repeat;
    background-size: cover;
    position: relative;
    transition: all .15s linear;
}

.btn-add-menu.active {
    background: url('../svg/tree-point-red.svg') 12px 0 no-repeat;
    background-size: cover;
    border-radius: 6px;
    transition: all .15s linear;
}

.client-box-info-desc-menu-btn {
    position: absolute !important;
    right: 32px;
    top: 32px;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.client-contract-box {
    background: #FFFFFF;
    padding: 32px 32px 10px 32px;
    margin-top: 32px;
    box-sizing: border-box;
    border-radius: 6px;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.05);
}

.client-contract-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-contract-empty-box {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.client-contract-empty-icon {
    background: url('../svg/icon-empty.svg') 50% 0 no-repeat;
    background-size: cover;
    height: 56px;
    width: 56px;
    opacity: .9;
    margin-bottom: 12px;
}

.client-contract-empty-btn {
    color: rgba(30, 36, 39, .6);
}

.client-contract-empty-text {
    text-align: center;
}

.client-contract-empty-text p {
    color: rgba(30, 36, 39, .4);
    margin-top: .25rem;
}

.client-contract-empty-btn:hover {
    text-decoration: none;
}

.client-contract-title {
    font-family: "Mulish", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.client-contract-header {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: start;
}

.client-contract-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.client-contract-menu > li {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.btn-client-service-menu {
    background: url('../svg/tree-point.svg') 100% 50% no-repeat;
    background-size: 32px 32px;
    position: relative;
    cursor: pointer;
    width: 32px !important;
    min-height: 32px;
}

.btn-client-service-menu.active {
    background: url('../svg/tree-point-red.svg') 100% 50% no-repeat;
    background-size: 32px 32px;
}

.client-contract-name {
    margin-top: .1rem;
    color: rgba(30, 36, 59, .7);
    font-size: .9rem;
    font-weight: 300;
}

.client-contract-header-date {
    font-size: .9rem;
    margin-top: 1rem;
    margin-right: 12px;
    text-align: right;
    color: rgba(30, 36, 59, .99);
}

.client-contract-header-desc {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: end;
    margin-right: 12px;
}

.client-contract-header-desc-box {
    display: flex;
    flex-wrap: nowrap;
    align-items: end;
}

.client-contract-balance {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .5rem;
    margin: .5rem 0 0 0;
    font-size: 1rem;
    color: #85B22C;
}

.client-contract-balance-update {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../svg/icon-update.svg') 0 100% no-repeat;
    background-size: 16px 16px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.client-contract-balance-update:hover {
    transform: rotate(30deg);
}

.client-services-list {
    margin-top: 32px;
    font-size: .9rem;
}

.table-grid{
    display: grid;
    gap: 0 10px;
}

.th-grid {
    background: #EFEFEF;
    display: grid;
    grid-template-columns: minmax(45px, 65px) minmax(250px, 250px) minmax(200px, 240px) repeat(2, minmax(154px, 1fr)) minmax(220px, 220px) minmax(32px, 32px);
    min-height: 32px;
    line-height: 32px;
    padding: 4px 32px 4px 0;
    font-weight: bold;
    align-items: center;
}

.tr-grid {
    display: grid;
    grid-template-columns: minmax(45px, 65px) minmax(250px, 250px) minmax(200px, 240px) repeat(2, minmax(154px, 1fr)) minmax(220px, 220px) minmax(32px, 32px);
    min-height: 32px;
    padding: 16px 32px 16px 0;
    align-items: center;
}

.tr-grid > div:first-child {
    padding: 0;
}

.tr-grid > div {
    padding: 0 16px 0 0;
}

.archive-tr-grid > div {
    padding: 0;
}

.archive-th-grid {
    background: #EFEFEF;
    display: grid;
    grid-template-columns: minmax(32px, 32px) minmax(200px, 300px) minmax(130px, 200px) minmax(125px, 195px) minmax(170px, 200px) minmax(70px, 130px) minmax(70px, 130px) minmax(70px, 130px) minmax(32px, 32px);
    min-height: 26px;
    line-height: 26px;
    padding: 4px 32px 4px 10px;
    margin-bottom: 5px;
    font-weight: bold;
    align-items: center;
    font-size: .8rem;
    border-radius: 4px;
}

.archive-tr-grid {
    display: grid;
    grid-template-columns: minmax(32px, 32px) minmax(200px, 300px) minmax(130px, 200px) minmax(125px, 195px) minmax(170px, 200px) minmax(70px, 130px) minmax(70px, 130px) minmax(70px, 130px) minmax(32px, 32px);
    padding: 0 32px 0 10px;
    align-items: center;
    font-size: .8rem;
    color: #555555;
    border-bottom: 1px solid #0000000a;
    position: relative;
}

.btn-line {
    display: none;
    position: absolute;
    top: -1px;
    left: 0;
    width: calc(100% + 10px);
    height: calc(100% + 2px);
}

.btn-line rect {
    fill: none;
    stroke: #d22630;
    stroke-width: 1px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    rx: calc(5px);
    stroke-dasharray: 5;
    animation: dash 6s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 150;
    }
}

.archive-tr-grid:last-child {
    margin-bottom: 5px;
    border-bottom: 0;
}

.archive-year-wrap {
    margin-top: 20px;
}

.archive-year {
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 5px;
    font-weight: bold;
}

.archive-month-wrap {
    cursor: pointer;
    user-select: none;
}

.archive-month {
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    padding-left: 55px;
    border-radius: 5px;
    margin-top: 5px;
    color: #FFFFFF;
    background: url(../svg/icon-calendar.svg) 1.5rem 50% no-repeat #2b8e8ead;
    background-size: 20px 20px;
}

.archive-agreement {
    /*display: none;*/
    margin-left: 20px;
    cursor: default;
}

.archive-agreement .client-contract-box {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 12px;
}

.archive-agreement .client-contract-menu > li {
    width: 30px;
    height: 30px
}

.archive-agreement .menu-option {
    font-size: .8rem;
}

.archive-agreement .client-services-list {
    margin-top: 10px;
}

.archive-agreement .client-contract-title {
    font-size: 1rem;
}

.archive-agreement .client-contract-name {
    font-size: .85rem;
}

.client-services-list input[type="checkbox"],
.archive-th-grid input[type="checkbox"],
.archive-tr-grid input[type="checkbox"] {
    position: relative;
    top: 2px; /* выравниваем чекбокс */
}

.client-services-list .th-grid input[type="checkbox"],
.archive-th-grid input[type="checkbox"] {
    transform: scale(1.1);
}

.archive-tr-grid .btn-client-service-menu {
    background-size: 24px 24px;
}

.client-services-list.empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-services-list.empty div {
    background: url('../svg/icon-empty.svg') 50% 0 no-repeat;
    background-size: 56px 56px;
    padding-top: 64px;
    text-align: center;
}

.client-services-list.empty div p {
    margin-top: .25rem;
    color: rgba(30, 36, 39, .4);
}

.service-archived {
    opacity: .5;
}

.archive-err-upd {
    display: inline-block;
    background: url(../svg/exclamation_mark.svg) 50% 50% no-repeat;
    background-size: cover;
    width: 12px;
    height: 12px;
}

.tr-grid > div.client-service-item {
    padding-left: 36px;
    min-height: 32px;
    display: grid;
    align-items: center;
}

.archive-tr-grid > div.client-service-item {
    padding-left: 0;
    display: grid;
    align-items: center;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Количество строк для отображения */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Добавляет многоточие, если текст обрезается */
    padding-right: 10px;
    position: relative;
    z-index: 2;
}

.tr-grid > div.client-service-item.general,
.archive-tr-grid > div.client-service-item.general {
    background: url('../svg/icon-service.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.internet,
.archive-tr-grid > div.client-service-item.internet {
    background: url('../svg/icon-internet.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.ip,
.archive-tr-grid > div.client-service-item.ip {
    background: url('../svg/icon-ip.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.phone,
.archive-tr-grid > div.client-service-item.phone {
    background: url('../svg/icon-phone.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.case,
.archive-tr-grid > div.client-service-item.case {
    background: url('../svg/icon-case.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.sks,
.archive-tr-grid > div.client-service-item.sks {
    background: url('../svg/icon-sks.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.phone-limit,
.archive-tr-grid > div.client-service-item.phone-limit {
    background: url('../svg/icon-phone-limit.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.phone-close,
.archive-tr-grid > div.client-service-item.phone-close {
    background: url('../svg/icon-phone-close.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.tr-grid > div.client-service-item.service,
.archive-tr-grid > div.client-service-item.service {
    background: url('../svg/icon-service.svg') 0 50% no-repeat;
    background-size: 22px 22px;
}

.client-service-item.internet span {
    display: block;
    font-size: .8rem;
    color: rgba(30, 36, 59, 1);
}

.client-service-item.phone span {
    display: block;
    font-size: .8rem;
    color: rgba(30, 36, 59, 1);
}

.client-main-no-udp {
    text-align: center;
    font-size: .75rem;
    position: absolute;  /* Абсолютное позиционирование */
    top: 50%;            /* Смещаем верхнюю границу элемента на 50% высоты контейнера */
    left: 50%;           /* Смещаем левую границу элемента на 50% ширины контейнера */
    transform: translate(-50%, -50%); /* Смещаем элемент на половину его собственной ширины и высоты */
}

.client-main-no-udp a {
    font-size: .8rem;
    color: #ed4748;
}

.client-main-no-udp a:hover {
    text-decoration: underline;
}

.client-service-status {
    position: relative;
}

.client-service-status span {
    font-size: .85rem;
    display: block;
    height: 24px;
    line-height: 24px;
    background: #9797A6;
    border-radius: 6px;
    width: 180px;
    box-sizing: border-box;
    text-align: center;
    color: #FFFFFF;
}

.client-service-item-box span {
    display: block;
    font-size: .8rem;
}

.grid-center {
    justify-self: center; /* Выравнивание по центру */
}

.client-service-archive-link {
    font-size: .7rem;
}

.client-service-archive-link:hover {
    text-decoration: underline;
}

.client-service-status[data-status-service='5'] span {
    background: #DDDDDD;
}

.client-service-status[data-status-service='2'] span {
    background: #87B22E;
}

.client-service-status[data-status-service='1'] span {
    background: #0080FF;
}

.client-service-status[data-status-service='3'] span {
    background: #FFBF00;
}

.client-service-status[data-status-service='6'] span {
    background: #8F43FF;
}

.client-service-score.success {
    background: url('../svg/icon-ok.svg') 100% 50% no-repeat;
    background-size: 16px 16px;
    padding-right: 32px;
}

.client-service-score.wait {
    background: url('../svg/icon-wait.svg') 100% 50% no-repeat;
    background-size: 22px 22px;
    padding-right: 32px;
}

.client-service-score.error {
    background: url('../svg/icon-error.svg') 100% 50% no-repeat;
    background-size: 20px 20px;
    padding-right: 32px;
}

.client-service-score span {
    display: block;
}

.client-service-score-desc {
    font-size: .8rem;
}

.client-contract-docs {
    display: flex;
    font-size: .85rem;
    border-top: 1px solid #c9c0c0;
    padding-top: 10px;
    /*outline: 1px solid red;*/
    min-height: 30px;
}

.acc-docs {
    width: 50%;
    border-right: 1px solid #c9c0c0;
}

.client-contract-one-doc {
    margin-bottom: 5px;
    display: flex;
    align-items: center
}

.client-contract-one-doc span {
    font-size: .75rem;
    padding-left: 8px;
    margin-left: 3px;
    border-left: 1px dotted #00000036;
}

.upd-docs {
    width: 50%;
    padding-left: 10px;
    position: relative;
}

.download-doc,
.view-doc,
.signature-doc,
.signature-doc-written {
    padding: 7px;
    margin-right: 5px;
}

.download-doc {
    background: url('../svg/icon-save.svg') no-repeat center center;
}

.view-doc {
    background: url('../svg/icon-view.svg') no-repeat center center;
    background-size: 16px 16px;
    margin-right: 4px;
}

.download-xml {
    padding: 7px 12px;
    margin-right: 5px;
}

.xml-ok {
    background: url('../svg/icon-xml.svg') no-repeat center center;
}

.xml-error {
    background: url('../svg/icon-xml-err.svg') no-repeat center center;
}

.signature-doc {
    background: url('../svg/icon-signature.svg') no-repeat center center;
    background-size: 15px 15px;
}

.signature-doc-written {
    background: url('../svg/icon-signature-written-archive.svg') no-repeat center center;
    background-size: 20px 20px;
    cursor: auto;
}

.btn-remove-acc {
    padding: 7px;
    background: url('../svg/del.svg') no-repeat center center;
    background-size: 50%;
    display: inline-block;
    cursor: pointer;
    margin-right: 3px;
}

.icon-status1c-no-send {
    border: 1px solid #ed4748;
    border-radius: 5px;
    padding: 1px 5px;
    background-color: #ed4748;
    color: white;
    font-size: .75rem;
}

.icon-status1c-send {
    border: 1px solid #87b22e;
    border-radius: 5px;
    padding: 1px 5px;
    background-color: #87b22e;
    color: white;
    font-size: .75rem;
}

.modal {
    display: none;
    position: relative;
    z-index: 9;
    background-color: #fff;
    width: 72%;
    max-height: 90vh;
    border-radius: .375rem;
    box-shadow: 0 .1875rem .5rem 0 rgba(34, 48, 62, .1);
    box-sizing: border-box;
    overflow-y: auto;
}

.modal.half {
    width: 576px;
}

.modal form label {
    text-transform: inherit;
    letter-spacing: inherit;
    color: #384551;
    white-space: nowrap;
    font-size: 0.8125rem;
}

form label sup {
    font-size: .85rem;
    color: #d22630;
}

.modal-half-header {
    border-bottom: 1px solid #e4e6e8;
    padding: 1.5rem 2.5rem 1.5rem 2.5rem;
}

.modal-half-desc {
    font-size: .9rem;
    color: rgba(30, 36, 59, .7);
    margin-top: .25rem;
}

.modal-half-content {
    padding: 0 2.5rem 2rem 2.5rem;
}

.delete-service-period3{
    display: none;
}

.modal-half-column-2 {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.modal-half-column-2 .item {
    width: 50%;
    flex: 1 1 auto;
}

.modal-half-column-3 {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.modal-half-column-3 .item {
    width: 33.33%;
    flex: 1 1 auto;
}

.confirmation-text {
    color: rgba(30, 36, 59, 1);
    margin: 1rem 0;
}

.modal-btn {
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 1.5rem;
    gap: .5rem;
}

.modal-btn.confirmation {
    margin-top: 0;
}

.confirmation-text span {
    color: rgba(30, 36, 59, 1);
    font-weight: bold;
}

.modal.half h2 {
    font-size: 1.2rem;
    font-weight: bold;
}

.modal.half form {
    margin-top: 1.5rem;
}

.modal.half form label {
    display: block;
    margin-top: 1.25rem;
}

.modal.half form label.inline {
    font-size: .9rem;
    display: inline;
    white-space: pre-wrap;
}

.modal-fon {
    display: grid;
    place-items: center;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.65);
    opacity: 0;
}

.modal-close {
    position: absolute;
    top: 1.65rem;
    right: 2.5rem;
    background: url(../svg/close-modal.svg) 50% 50% no-repeat;
    background-size: cover;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.edit-service-calc-box{
    margin-top: 16px;
}

.add-c-stepper-header {
    border-bottom: 1px solid #e4e6e8;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.add-c-step-trigger {
    display: inline-flex;
    padding: 0;
    flex-wrap: nowrap;
    gap: .5rem;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: none;
    border-radius: .25rem;
    transition: background-color .15s ease-out, color .15s ease-out;
}

.add-c-step.add-c-step-crossed .add-c-stepper-circle {
    background-color: rgba(210, 38, 48, .1) !important;
    color: #d22630 !important;
}

.add-c-step.add-c-step-active .add-c-stepper-circle {
    background-color: #d22630;
    box-shadow: 0 .125rem .25rem 0 rgba(210, 38, 48, .4);
    color: #fff;
}

.add-c-step .add-c-stepper-circle {
    background-color: rgba(34, 48, 62, .06);
    color: #646e78;
    height: 2.375rem;
    width: 2.375rem;
    font-weight: 500;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .375rem;
}

.add-c-stepper-label {
    margin: 0;
    max-width: 224px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start;
    display: inline-grid;
    font-weight: 500;
    font-size: .9375rem;
}

.add-c-stepper-title {
    color: #384551;
}

.add-c-step-active .add-c-stepper-title {
    line-height: 1.375rem;
    font-weight: 500;
    color: #d22630;
}

.add-c-step-crossed .add-c-stepper-title {
    color: #a7acb2;
}

.add-c-stepper-subtitle {
    font-size: .8125rem;
    font-weight: 400;
    color: #a7acb2;
}

.add-c-step-active .add-c-stepper-subtitle {
    color: #646e78;
}

.add-c-stepper-content {
    padding: 2rem 2.5rem 2.5rem 2.5rem;
}

.add-c-content-body {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5rem;
}

.add-c-content {
    display: none;
}

.add-c-content.add-c-form-active {
    display: block;
    visibility: visible;
}

.add-c-content-wrap {
    width: calc(100% / 2 - 1rem);
    margin: 0.5rem;
}

.add-c-content-btn {
    display: flex;
    flex: 0 0 auto;
    width: calc(100% - 1rem);
    margin-top: 2rem;
    justify-content: space-between;
}

.form-err {
    color: #d22630;
}

.add-c-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.add-c-btn-prev:disabled {
    color: #ccc;
    border-color: rgba(0, 0, 0, 0);
    background: #ebeef0;
    box-shadow: 0 .125rem .25rem 0 rgba(235, 238, 240, .4);
    cursor: default;
}

.add-c-btn-submit {
    background-color: #87B22E;
    border-color: #87B22E;
    box-shadow: 0 .125rem .25rem 0 rgba(135, 178, 46, .4);
}

.add-c-btn-submit:hover {
    background-color: #77a517;
    box-shadow: 0 .125rem .25rem 0 rgba(119, 165, 23, .4);
}

.add-c-btn-arrow-r {
    background: url(../svg/right-arrow-white.svg) 50% 50% no-repeat;
    background-size: cover;
    margin-left: 0.88rem;
    width: 10px;
    height: 10px;
}

.add-c-btn-arrow-l-g {
    background: url(../svg/left-arrow-light-grey.svg) 50% 50% no-repeat;
    background-size: cover;
    margin-right: 0.7rem;
    width: 18px;
    height: 18px;
}

.add-c-btn-arrow-l-w {
    background: url(../svg/left-arrow-white.svg) 50% 50% no-repeat;
    background-size: cover;
    margin-right: 0.7rem;
    width: 18px;
    height: 18px;
}

.add-c-btn.disabled {
    cursor: default;
}

.btn-back{
    display: block;
    width: 24px;
    height: 24px;
    background: url(../svg/icon-back.svg) 0 50% no-repeat;
    background-size: cover;
}

.realization-box{
    min-height: 70vh;
    position: relative;
}

.realization-desc{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 2rem 0 2rem;
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 1.5rem;
}

.realization-desc-box{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1.5rem;
}

.realization-desc a{
    color: #d22630;
    text-decoration: underline;
}

h3.realization-year{
    font-size: 1.66rem;
}

.realization-list{
    background: #FFFFFF;
    margin-top: 1rem;
}

.realization-list li a{
    display: block;
    background: url(../svg/icon-calendar.svg) 1.5rem 50% no-repeat #FFFFFF;
    background-size: 20px 20px;
    min-height: 60px;
    border-bottom: 1px solid #E5E5E5;
    height: 3rem;
    line-height: 60px;
    padding: 0 3.6rem;
    transition: background-color .15s ease-out, color .15s ease-out;
}

.realization-list li a:hover{
    background: url(../svg/icon-calendar.svg) 1.5rem 50% no-repeat #FBFBFB;
    background-size: 20px 20px;
}

.realization-list-table{
    background: #FFFFFF;
    margin-top: 2rem;
    padding: 0 0 64px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.09) 1px 2px 4px 2px;
}

.realization-list-table .tr-grid.red{
    background: lightpink;
}

.realization-list-table .tr-grid{
    display: grid;
    grid-template-columns: minmax(24px, 24px) minmax(150px, 150px) minmax(60px, 60px) minmax(60px, 60px) minmax(192px, 1fr);
    min-height: 24px;
    padding: 8px 32px;
    align-items: center;
    font-size: .9rem;
    margin-top: 16px;
}

.realization-list-table .th-grid{
    background: rgb(246, 246, 247);
    display: grid;
    grid-template-columns: minmax(240px, 500px) repeat(3, minmax(140px, 140px)) repeat(3, minmax(32px, 140px)) minmax(32px, 32px);
    min-height: 24px;
    padding: 16px 0 16px 0;
    margin: 0 2rem 0;
    align-items: center;
    font-size: .9rem;
}

.realization-list-table .th-grid div{
    padding: 0 24px;
}

.realization-list-table .tr-grid div{
    padding: 0 24px;
    color: #505050;
}

.realization-list-table .tr-grid-title{
    display: grid;
    grid-template-columns: minmax(100%, 100%);
    min-height: 32px;
    padding: 16px 0 0;
    margin: 16px 2rem 0;
    align-items: center;
    border-top: 1px solid #E5E5E5;
    font-weight: bold;
}

.realization-list-table .tr-grid-title.start{
    border-top: 0;
}

.tr-grid-title div{
    padding: 0 24px;
}

.tr-grid-services-list{
    /*display: none;*/
    margin: 0 56px;
    padding: 0;
    /*background: rgba(255, 239, 191, 0.3);*/
    background: rgba(246, 246, 247, 0.5);
    border-radius: 6px;
}

.tr-grid-services-item{
    display: grid;
    grid-template-columns: minmax(240px, 500px) repeat(3, minmax(140px, 140px)) repeat(3, minmax(32px, 140px)) minmax(32px, 32px);
    min-height: 24px;
    padding: 8px 0;
    color: #717171;
    align-items: center;
    font-size: .8rem;
}
.tr-grid-services-item div{
    padding: 0 24px;
}

.realization-list-table .tr-grid-error{
    display: grid;
    grid-template-columns: minmax(100%, 100%);
    min-height: 24px;
    padding: 12px 0;
    align-items: center;
    font-size: .8rem;
    background: lavenderblush;
    margin: 0 56px;
}

.tr-grid-error div{
    padding: 0 24px;
}

.realization-list-table .tr-grid-error-not{
    display: grid;
    grid-template-columns: minmax(100%, 100%);
    min-height: 24px;
    padding: 8px 32px;
    align-items: center;
}

.tr-grid-error-not div{
    padding: 0 24px;
}

.realization-upd-signature{
    display: inline-block;
    background: url(../svg/icon-signature-written.svg) -2px 0 no-repeat;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
}

.realization-upd-show{
    display: inline-block;
    background: url(../svg/icon-eye.svg) 0 0 no-repeat;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
}

.realization-upd-signature-cancel{
    display: inline-block;
    background: url(../svg/icon-cancel-grey.svg) 0 0 no-repeat;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
}

.realization-upd-send-cancel{
    display: inline-block;
    background: url(../svg/icon-cancel.svg) 0 0 no-repeat;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
}

.realization-service-upd-success{
    display: inline-block;
    background: url(../svg/icon-signature-written.svg) -2px 0 no-repeat;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
}

.realization-service-upd-cancel{
    display: inline-block;
    background: url(../svg/icon-cancel.svg) 0 0 no-repeat;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
}

.realization-list-table .small-r-t-warning{
    top: 0;
    right: -14px;
}

.realization-action-form{
    position: fixed;
    bottom: 0;
    left: 392px;
    display: flex;
    flex-wrap: nowrap;
    padding: 12px 32px 20px;
    width: calc(100% - 424px);
    gap: .5rem;
    background: rgba(209, 208, 208, .87);
}

.realization-action-form select{
    background-color: #FFFFFF;
    width: 320px;
    font-size: .9rem;
}

.realization-report-box{
    display: none;
}

.realization-report-link{
    display: block;
    cursor: pointer;
    background: url(../svg/logo-1c-red.svg) 0 50% no-repeat;
    padding-left: 50px;
    line-height: 48px;
    background-size: 48px 48px;
    height: 48px;
    box-sizing: border-box;
    color: #b60209;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.realization-report-link:hover{
    text-decoration: none;
}

.realization-report{
    margin: 0 2rem 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.realization-report-box{
    margin-bottom: 3rem;
}

.realization-report-desc{
    font-size: .9rem;
    margin: 0 2rem 1rem;
    color: #999999;
}

.realization-report-group-checkbox{
    margin: 0 2rem 1rem;
    color: rgba(30, 36, 39, 0.7);
}

.realization-report-group-checkbox span{
    text-decoration: underline;
    cursor: pointer;
}

.realization-report-group-checkbox span:hover{
    text-decoration: none;
}

.realization-report-th{
    display: grid;
    grid-template-columns: 1fr 320px 240px;
    background: rgb(246, 246, 247);
    padding: 16px;
    margin: 0 2rem;
}

.realization-report{
    padding: 0 16px;
}

.realization-report li{
    display: grid;
    grid-template-columns: 1fr 320px 240px;
    width: 100%;
    border-bottom: 1px solid #EFEFEF;
    box-sizing: border-box;
    padding: 8px 0;
    font-size: .85rem;
}

.realization-report li span{
    display: block;
    margin-bottom: 0;
}

.realization-report li span b{
    font-weight: normal;
    font-size: .9rem;
}

.realization-arch-url {
    color: #6b6b6b !important;
}

.realization-arch-url b:hover {
    text-decoration: underline;
}

.btn-realization-action {
    padding: .543rem .9375rem;
    margin-top: .4rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.375;
    background: #b60209;
    color: #FFFFFF;
    border: 1px solid #b60209;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .15s ease-out, color .15s ease-out;
}

.btn-realization-action:hover {
    background: #d22630;
}

.realization-fon-grey{
    background: rgb(255, 255, 255);
}

.realization-report .realization-fon-grey span b{
    font-weight: bold;
    font-size: .9rem;
}

.realization-filter{
    cursor: pointer;
}

.statistic-box-month{
    margin-bottom: 2rem;
}

.statistic-box-month-title {
    background: url(../svg/icon-calendar.svg) 1.5rem 50% no-repeat #FFFFFF;
    background-size: 20px 20px;
    min-height: 60px;
    border-bottom: 1px solid #E5E5E5;
    height: 3rem;
    line-height: 60px;
    padding: 0 3.6rem;
    transition: background-color .15s ease-out, color .15s ease-out;
}

.statistic-box-month-line{
    display: grid;
    grid-template-columns: 1fr 200px 200px 200px 200px 200px;
    padding: 0 3.6rem;
    height: 40px;
    align-items: center;
    font-size: .9rem;
}

.statistic-box-month-line b{
    font-weight: bold;
}

.statistic-box-month-line:nth-child(2n){
    background: rgb(246, 246, 247);
}

h3.statistic-year{
    font-size: 1.66rem;
}

.details-content {
    background: #FFFFFF;
    margin-top: 32px;
    padding: 1px 32px 64px 32px;
    border-radius: 8px;
    min-height: calc(100vh - 270px);
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.09);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.09);
}

.details-c-title {
    margin-bottom: 10px;
    margin-top: 40px;
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: center;
    font-size: .9375rem;
    font-weight: 600;
    background-color: #dddddd57;
    border-radius: 6px;
}

.menu-option {
    display: none;
    position: absolute;
    width: 240px;
    top: 48px;
    right: 0;
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.10);
    z-index: 1;
}

.menu-option ul li {
    height: 48px;
    line-height: 48px;
    padding: 0 24px;
    border-bottom: 1px solid #EFEFEF;
    margin-bottom: 0;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.menu-option ul li:last-child {
    border-radius: 0 0 6px 6px;
}

.menu-option ul li:hover:first-child {
    border-radius: 6px 6px 0 0;
}

.menu-option ul li:hover {
    background: #F3F3F3;
}

.err-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 64px;
    height: calc(100vh - 40px);
}

.err-404 h1 {
    font-size: 2.2rem !important;
    color: rgba(30, 36, 59, .85);
}

.err-404 p {
    margin-top: 12px;
}

.err-404 p a {
    text-decoration: underline;
    color: rgba(30, 36, 59, 0.6);
}

.err-text {
    height: 128px;
    background: url(../svg/error404.svg) 0 50% no-repeat;
    background-size: 96px 96px;
    padding-left: 124px;
    display: flex;
    align-items: center;
    color: rgba(30, 36, 59, 0.75);
}

.err-text.access-denied {
    background: url(../svg/access-denied.svg) 0 50% no-repeat;
    background-size: 96px 96px;
}

.footer {
    color: #AAAAAA;
    margin: 2rem 0 2rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid #DEDEDE;
}

.loader {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    background: rgba(255, 255, 255, .65);
}

.loader-elem {
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    width: 48px;
    height: 48px;
    border: 3px solid #d3d3d3;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader-elem::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #D22630;
}

.modal-loader {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, .65);
}

.modal-loader-elem {
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    width: 48px;
    height: 48px;
    border: 3px solid #d3d3d3;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.modal-loader-elem::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #D22630;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        --gradient-angle: 0deg;
    }
    100% {
        --gradient-angle: 360deg;
    }
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

.search-inn {
    font-size: .7rem;
}

.small-r-t-warning {
    position: absolute;
    right: -.7rem;
    top: -.4rem;
    display: block;
    background: url('../svg/exclamation_mark.svg') 50% 50% no-repeat;
    background-size: cover;
    width: 10px;
    height: 10px;
}

.small-r-t-warning2 {
    position: absolute;
    left: -.9rem !important;
    display: block;
    background: url('../svg/exclamation_mark-blue.svg') 50% 50% no-repeat;
    background-size: cover;
    width: 10px;
    height: 10px;
}

@media all and (max-width: 750px) {
    .panel {
        display: none;
    }

    .header-wrap {
        margin-left: 0;
    }

    .header-menu-hamburger {
        display: flex;
    }

    .content {
        margin-left: 32px;
    }
}
