/* Colors */
:root {
    --azure: #04a4ff;
    --dark-sky-blue: #4a90e2;
    --pale-purple: #9957a5;
    --pale-grey: #f6f9fd;
    --dark-purple: #4E256A;
    --light-purple: #d439f7;
    --black: #262626;
    --saffron: #feb70b;
    --marigold: #ffc600;
    --dark-gold: #efcb0c;
    --ice-blue: #eaeef1;
    --ice-blue: #f0f4f7;
    --orange-pink: #e86e64;
    --tea: #59c681;
    --flat-blue: #3a70b0;
    --minty-green: #22e068;
    --grapefruit: #ff5f52;
    --ng-select-logsis-style: rgba(0, 0, 0, 0.54);
}

/* === */

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 2px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-24 {
    margin-bottom: 15px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-8 {
    margin-top: 8px;
}

.lh-23 {
    line-height: 23px;
}

.lh-29 {
    line-height: 29px;
}

.lh-33 {
    line-height: 33px;
}

.lh-40 {
    line-height: 40px;
}

/* Text styles */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

h1 {
    font-family: 'MuseoSansCyrl';
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.6;
    letter-spacing: normal;
    color: var(--black);
}

h2 {
    font-family: 'MuseoSansCyrl';
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--black);
}

.subtitle {
    font-family: 'MuseoSansCyrl';
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--black);
}

.link {
    font-family: 'MuseoSansCyrl';
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--dark-purple) !important;
}

.color-blue {
    color: var(--dark-purple);
}
.background-blue {
    background: var(--dark-purple);
}

h3 {
    font-family: 'MuseoSansCyrl';
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: var(--black);
}

.caption {
    font-family: 'MuseoSansCyrl';
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.67;
    letter-spacing: normal;
    color: var(--black);
}

/* === */

/* inputs */

input[type="text"]:not([data-avoid-legacy-styles]),
input[type="password"]:not([data-avoid-legacy-styles]),
input[type="date"]:not([data-avoid-legacy-styles]),
select:not([data-avoid-legacy-styles]),
textarea:not([data-avoid-legacy-styles]) {
    font-size: 14px;
    width: 100%;
    height: 32px;
    padding: 4px 8px 3px 8px;
    border-radius: 2px;
    color: var(--black);
    line-height: 22px;
    font-weight: 300;
}

input[type="text"]:not([data-avoid-legacy-styles]):focus,
input[type="password"]:not([data-avoid-legacy-styles]):focus,
input[type="date"]:not([data-avoid-legacy-styles]):focus,
select:not([data-avoid-legacy-styles]):focus,
textarea:not([data-avoid-legacy-styles]):focus {
    border: solid 1px var(--dark-purple);
    outline: none !important;
    box-shadow: none !important;
}

textarea:not([data-avoid-legacy-styles]) {
    height: 150px;
    resize: none;
}

input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="date"]:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.5;
    background: initial;
}

.input-date {
    position: relative;
}

.input-date input {
    padding-right: 34px;
    height: 32px;
}

.input-date .input-date-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-9px);
    width: 18px;
    height: 18px;
    background: url(../img/icons/a-calendar-18-px.svg) no-repeat center;
    -webkit-background-size: contain;
    background-size: contain;
    z-index: 9;
    cursor: pointer;
}

.label_text {
    opacity: 0.87;
    color: #262626;
    font-size: 14px;
    font-weight: 500;
}

/* switch */
.switch input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 20px;
}

.switch .label_text {
    position: relative;
    padding: 0 0 0 56px;
    cursor: pointer;
}

.switch .label_text:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 24px;
    border-radius: 12px;
    border: solid 1px var(--ice-blue);
    background: #ffffff;
    transition: .2s;
}

.switch .label_text:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    opacity: 0.25;
    background-color: var(--black);
    transition: .2s;
}

.switch input:checked + .label_text:before {
    background-color: var(--dark-purple);
}

.switch input:checked + .label_text:after {
    background-color: #fff;
    opacity: 1;
    left: 26px;
}

/* end switch */

/* radio */
.radio input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 7px;
}

.radio .label_text {
    position: relative;
    padding: 0 0 0 26px;
    cursor: pointer;
    background: url(../img/icons/a-radio-button.svg) no-repeat left center;
}

.radio input:checked + .label_text {
    background-image: url(../img/icons/a-radio-button-active.svg);
}

/* end radio */

/* checkbox */
.checkbox input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 7px;
}

.checkbox .label_text {
    position: relative;
    padding: 0 0 0 26px;
    cursor: pointer;
    background: url(../img/icons/a-checkbox.svg) no-repeat left center;
    min-height: 18px;
    min-width: 18px;
}

.checkbox input:checked + .label_text {
    background-image: url(../img/icons/a-checkbox-active.svg);
}

/* end checkbox */

.switch.disabled,
.radio.disabled,
.checkbox.disabled {
    opacity: 0.5;
}

/* === */


/* Loading animate */
.loading {
    position: relative;
    display: inline-block;
    height: 100px;
    width: 100px;
    margin: 1em;
    border-radius: 50%;
    background: none repeat scroll 0 0 #fff;
    overflow: hidden;
}

.loading:after {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    display: block;
    height: 82px;
    width: 82px;
    background: #fff;
    border-radius: 50%;
}

.loading > span {
    position: absolute;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.left {
    left: 0
}

.right {
    left: 50%
}

.anim {
    position: absolute;
    left: 100%;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: none repeat scroll 0 0 #508EC3;
    opacity: 1;
    -webkit-animation: ui-spinner-rotate-left 3s infinite;
    animation: ui-spinner-rotate-left 3s infinite;
    -webkit-transform-origin: 0 50% 0;
    transform-origin: 0 50% 0;
}

.left .anim {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.right .anim {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    left: -100%;
    -webkit-transform-origin: 100% 50% 0;
    transform-origin: 100% 50% 0;
}

.loading .anim {
    -webkit-animation-delay: 0s;
    -webkit-animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    animation-delay: 0s;
    animation-duration: 3s;
    animation-timing-function: linear;
}

.loading .right .anim {
    -webkit-animation-name: ui-spinner-rotate-right;
    -webkit-animation-delay: 0;
    -webkit-animation-delay: 1.5s;
    animation-name: ui-spinner-rotate-right;
    animation-delay: 0;
    animation-delay: 1.5s;
}

.round .loading:after {
    display: none
}

.double .loading:after {
    height: 13px;
    width: 13px;
    left: 7px;
    top: 7px;
    border: 10px solid #ddd;
    background: transparent;
    box-shadow: none;
}

.icon_button .loading {
    height: 18px;
    width: 18px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    margin: 0;
}

.icon_button .loading:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    display: block;
    height: 14px;
    width: 14px;
    background: #fff;
    border-radius: 50%;
}

.button .loading .anim {
    background-color: var(--dark-purple);
    opacity: 0.6;
}

.button.red .loading .anim {
    background-color: var(--orange-pink);
}

.button.orange .loading .anim {
    background-color: var(--saffron);
}

.button.green .loading .anim {
    background-color: var(--tea);
}

.button.grey .loading .anim {
    background-color: #2b2828;
}

.border-button .loading .anim {
    background-color: var(--dark-purple);
}

.border-button.red .loading .anim {
    background-color: var(--orange-pink);
}

.border-button.orange .loading .anim {
    background-color: var(--saffron);
}

.border-button.green .loading .anim {
    background-color: var(--tea);
}

.border-button.grey .loading .anim {
    background-color: #2b2828;
}

.button .loading:after {
    background: var(--dark-purple);
}

.button.red .loading:after {
    background: var(--orange-pink);
}

.button.orange .loading:after {
    background: var(--saffron);
}

.button.green .loading:after {
    background-color: var(--tea);
}

.button.grey .loading:after {
    background-color: #eaeef1;
}

.button:hover .loading:after {
    background-color: var(--pale-purple);
}

.button.red:hover .loading:after {
    background-color: var(--grapefruit)
}

.button.orange:hover .loading:after {
    background-color: var(--marigold);
}

.button.green:hover .loading:after {
    background-color: var(--minty-green);
}

.button.grey:hover .loading:after {
    background-color: #f0f4f7;
}


@-webkit-keyframes ui-spinner-rotate-right {
    0% {
        -webkit-transform: rotate(0deg)
    }
    25% {
        -webkit-transform: rotate(180deg)
    }
    50% {
        -webkit-transform: rotate(180deg)
    }
    75% {
        -webkit-transform: rotate(360deg)
    }
    100% {
        -webkit-transform: rotate(360deg)
    }
}

@-webkit-keyframes ui-spinner-rotate-left {
    0% {
        -webkit-transform: rotate(0deg)
    }
    25% {
        -webkit-transform: rotate(0deg)
    }
    50% {
        -webkit-transform: rotate(180deg)
    }
    75% {
        -webkit-transform: rotate(180deg)
    }
    100% {
        -webkit-transform: rotate(360deg)
    }
}

/* === */

.loading_32 {
    height: 32px;
    padding-left: 40px;
    position: relative;
}

.loading_32 .loading {
    position: absolute;
    left: 0;
    top: 0;
    height: 32px;
    width: 32px;
    margin: 0;
}

.loading_32 .loading:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    display: block;
    height: 28px;
    width: 28px;
    background: #fff;
    border-radius: 50%;
}

.loading_32 .text {
    width: 100%;
    height: 32px;
}

.loading_32 .text span {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.loading_56 {
    height: 56px;
    padding-left: 64px;
    position: relative;
}

.loading_56 .loading {
    position: absolute;
    left: 0;
    top: 0;
    height: 56px;
    width: 56px;
    margin: 0;
}

.loading_56 .loading:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    height: 50px;
    width: 50px;
    background: #fff;
    border-radius: 50%;
}

.loading_56 .text {
    width: 100%;
    height: 32px;
}

.loading_56 .text span {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 600px;
    }
}

.modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 48px 0 rgba(38, 38, 38, 0.1);
}

.modal-content .modal-header {
    padding: 16px 48px 16px 24px;
    position: relative;
    border: 0;
}

.modal-content .modal-header .modal-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 32px;
}

.modal-content .modal-header .close {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    padding: 0;
    width: 32px;
    height: 32px;
    background: url('../img/icons/a-modal-close.svg') no-repeat center;
    font-size: 0;
}

.modal-content .modal-body {
    padding: 0 24px 24px;
}

.modal-content .modal-body > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-link {
    color: rgba(38, 38, 38, 0.5);
    border-color: var(--pale-grey) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.71;
    padding: 3px 10px;
    min-width: 31px;
}

.page-link:hover {
    font-size: 14px;
    font-weight: 500;
    color: rgba(38, 38, 38, 0.5);
    background-color: var(--pale-grey);
}

.page-item.active .page-link {
    color: var(--black);
    background-color: #ffffff;
}

.tabs {
    max-width: 500px;
    width: 100%;
}

.tabs .tabs__caption {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    margin-bottom: 24px;
    overflow: auto;
}

.tabs .tabs__caption li {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--black);
    position: relative;
    white-space: nowrap;
    cursor: pointer;
}

.tabs .tabs__caption li:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    background-color: var(--dark-purple);
}

.tabs .tabs__caption li + li {
    margin-left: 24px;
}

.tabs .tabs__caption li.active {
    color: var(--dark-purple);
    cursor: default;
}

.tabs .tabs__caption li.active:after {
    opacity: 1;
}

.tabs .tabs__content {
    display: none;
}

.tabs .tabs__content.active {
    display: block;
}

.select_input {
    position: relative;
    width: 100%;
}

.input.file label {
    position: relative;
    z-index: 1;
    display: block;
    padding-left: 32px;
    height: 24px;
    background: url(../img/icons/a-attach_file.svg) no-repeat 0;
    opacity: 1;
    color: rgba(0, 0, 0, .5);
    cursor: pointer;
}

.input.file input {
    position: absolute;
    z-index: 0;
    opacity: 0;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.copy {
    position: absolute;
    bottom: 0;
}

.copy span {
    font-size: 12px;
    font-weight: 500;
    color: #262626;
    opacity: 0.5;
    display: block;
    line-height: 24px;
}

@media (max-width: 767px) {
    .copy {
        position: relative;
    }
}

.tabs__content {
    font-weight: 300;
}

.alert:not([data-avoid-legacy-styles]) {
    width: 100%;
    min-height: 40px;
    border-radius: 2px;
    background-color: rgb(210, 227, 248);
    padding: 8px 35px 8px 12px;
    border: 0;
    position: relative;
    transition: none;
}

.alert:not([data-avoid-legacy-styles]) .close {
    top: 4px;
    right: 4px;
    position: absolute;
    width: 32px;
    height: 32px;
    background: url('../img/icons/close-blue.svg');
    cursor: pointer;
}

.alert:not([data-avoid-legacy-styles]) .close:hover {
    opacity: 0.85;
}

.alert:not([data-avoid-legacy-styles]) span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.71;
    color: var(--dark-purple);
}

.alert:not([data-avoid-legacy-styles]).fixed {
    position: fixed;
    width: auto;
    min-width: 300px;
    max-width: 600px;
    top: 15px;
    margin: 0 15px;
    transform: translateX(-50%);
    left: 50%;
    z-index: 999;
}

.alert:not([data-avoid-legacy-styles]).red {
    background: rgb(249, 219, 216);
}

.alert:not([data-avoid-legacy-styles]).red span {
    color: #e86e64;
}

.alert:not([data-avoid-legacy-styles]).red .close {
    background: url('../img/icons/close-red.svg');
}

.alert:not([data-avoid-legacy-styles]).orange {
    background: rgb(255, 237, 194);
}

.alert:not([data-avoid-legacy-styles]).orange span {
    color: #feb70b;
}

.alert:not([data-avoid-legacy-styles]).orange .close {
    background: url('../img/icons/close-yellow.svg');
}

.alert:not([data-avoid-legacy-styles]).green {
    background: rgb(213, 241, 223);
}

.alert:not([data-avoid-legacy-styles]).green span {
    color: #59c681;
}

.alert:not([data-avoid-legacy-styles]).green .close {
    background: url('../img/icons/close-green.svg');
}

.alert:not([data-avoid-legacy-styles]).grey {
    background: #eaeef1;
}

.alert:not([data-avoid-legacy-styles]).grey span {
    opacity: 0.5;
    color: var(--black);
}

.alert:not([data-avoid-legacy-styles]).grey .close {
    background: url('../img/icons/close.svg');
}

.mat-form-field-underline {
    display: none;
}

.mat-form-field {
    width: 100%;
}

.mat-form-field-flex {
    border: 1px solid rgb(206, 212, 218);
    border-radius: 4px;
    padding-left: 5px;
    height: 38px !important;
    font-size: 1rem;
    color: rgb(73, 80, 87);
    position: relative;
}

.mat-form-field-infix {
    line-height: 25px !important;
    border: 0 !important;
}

.cdk-overlay-container {
    z-index: 11000 !important;
}

.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label, .mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label {
    -webkit-transform: translateY(-1.34375em) scale(.75);
    transform: translateY(-1.34375em) scale(.75);
    width: 133.33333%;
    transform: translateY(-0.7em) scale(.75) perspective(100px) translateZ(.001px) !important;
}

.mat-form-field-wrapper {
    padding: 0 !important;
}

.cdk-overlay-container {
    z-index: 10100 !important;
}

.k-state-selected, .k-state-selected > td {
    background-color: #e4eefb !important;
}

.k-window-titlebar, k-dialog-titlebar, k-header, ng-star-inserted, .mat-calendar-body-selected {
    background-color: var(--dark-purple) !important;
}

.mat-form-field.mat-focused .mat-form-field-label {
    color: var(--pale-purple) !important;
}

.table.custom_table thead tr th,
.table.custom_table tbody tr th
{
    background: #e4eefb !important;
}

/*.k-window {*/
/*    max-height: -webkit-fill-available;*/
/*}*/

.k-checkbox, .k-checkbox:hover {
    border-color: var(--dark-purple) !important;
}
.k-checkbox:checked {
    border-color: #ffffff !important;
    background-color: var(--dark-purple) !important;
    box-shadow: 0 0 0 2px rgba(165, 74, 226, 0.4) !important;
}

.k-checkbox:indeterminate, .k-checkbox.k-state-indeterminate {
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--dark-purple) !important;
}

table.custom_table > thead > tr > th,
table.custom_table > tbody > tr > th
{
    background: var(--dark-purple) !important;
    color: white !important;
}

table.custom_table > thead > tr > th.section,
table.custom_table > tbody > tr > th.section
{
    background: var(--dark-purple) !important;
    color: white !important;
}

.table-primary, .table-primary > th, .table-primary > td {
    background: var(--dark-purple) !important;
}
.table-primary, .table-primary>td, .table-primary>th {
    background: var(--light-purple) !important;
}
/*table.custom_table > tbody:nth-child(1) > tr * {*/
/*    color: white !important;*/
/*}*/

.multiselect-item-checkbox input[type=checkbox] + div:before {
    border: 2px solid var(--dark-purple) !important;
}

.multiselect-dropdown .dropdown-btn .selected-item {
    border: 1px solid var(--dark-purple) !important;
    background: var(--dark-purple) !important;
}

.multiselect-item-checkbox input[type=checkbox]:checked + div:before {
    background: var(--dark-purple) !important;
}

.mat-datepicker-toggle-active {
    color:  var(--pale-purple) !important;
}

div.panel > div.row > div.col-4 > div.row, div.panel > div.row > div.col-5 > div.row {
    border: none !important;
    border-right: 1px solid #ccc !important;
}

div.bg-info {
    background-color: #f6f6f6 !important;
}

.k-link {
    color: var(--dark-purple) !important;
}

a {
    color: var(--dark-purple);
}

.k-link:hover {
    background-color: rgba(88, 186, 255, 0.08) !important;
}

.k-state-selected, .k-state-selected > td {
    background-color: rgba(153, 87, 165, 0.2) !important;
}
.k-state-selected {
    background-color: rgba(153, 87, 165, 0.2) !important;
    color: #fff !important;
}
tr.k-state-selected {
    color: #656565 !important;
}

.k-i-sort-asc-sm, .k-i-sort-desc-sm {
    color: var(--dark-purple) !important;
}


.button {
    margin-left: 3px;
    margin-top: 2px;
    padding: 4px 16px;

    /*height: 32px;*/
    border-radius: 16px;
    background-color: var(--dark-purple);
    border: 0;
    display: inline-block;
    color: #fff;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.button:hover {
    color: #fff;
    background-color: var(--pale-purple);
}

.button:focus {
    outline: 5px auto var(--pale-purple);
}

.button:disabled {
    opacity: 0.5;
    background-color: var(--dark-purple);
    cursor: default;
}

.button.oranges {
    background-color: var(--saffron);
}

.button.greens {
    background-color: var(--tea);
}

.button.reds {
    background-color: var(--orange-pink);
}

.button.grey {
    background-color: #eaeef1;
    color: rgba(38, 38, 38, 0.5);
}

.button.oranges:hover {
    background-color: var(--marigold);
}

.button.greens:hover {
    background-color: var(--minty-green);
}

.button.reds:hover {
    background-color: var(--grapefruit);
}

.button.grey:hover {
    background-color: #f0f4f7;
}

.border-button {
    padding: 4px 15px;
    /*height: 32px;*/
    border-radius: 16px;
    border: solid 1px var(--dark-purple);
    display: inline-block;
    color: var(--dark-purple);
    background-color: initial;
    position: relative;
    cursor: pointer;
}

.border-button:hover {
    color: var(--pale-purple);
    border-color: var(--pale-purple);
}

.border-button:disabled {
    opacity: 0.5;
    color: var(--dark-purple);
    border-color: var(--dark-purple);
    cursor: default;
}

.border-button.oranges {
    border-color: var(--saffron);
    color: var(--saffron);
}

.border-button.greens {
    border-color: var(--tea);
    color: var(--tea);
}

.border-button.reds {
    border-color: var(--orange-pink);
    color: var(--orange-pink);
}

.border-button.grey {
    border-color: #eaeef1;
    color: rgba(38, 38, 38, 0.5);
}

.border-button.oranges:hover {
    border-color: var(--marigold);
    color: var(--marigold);
}

.border-button.greens:hover {
    border-color: var(--minty-green);
    color: var(--minty-green);
}

.border-button.reds:hover {
    border-color: var(--grapefruit);
    color: var(--grapefruit);
}

.border-button.grey:hover {
    border-color: #f0f4f7;
}

.icon_button {
    padding-left: 38px;
}

.icon_button.border-button {
    padding-left: 37px;
}

.icon_button:before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}

.icon_button.i-check:before {
    background: url('/assets/img/icons/a-check-18-px.svg') no-repeat center;
}

.icon_button.i-plus:before {
    background: url('/assets/img/icons/a-plus-18-px.svg') no-repeat center;
}

.icon_button.i-cancel:before {
    background: url('/assets/img/icons/a-cancel-18-px.svg') no-repeat center;
}

.icon_button.i-xls:before {
    background: url('/assets/img/icons/a-xls-18-px.svg') no-repeat center;
}

.icon_button.i-place:before {
    background: url('/assets/img/icons/a-place-18-px.svg') no-repeat center;
}

.icon_button.i-export:before {
    background: url('/assets/img/icons/a-export-18-px.svg') no-repeat center;
}

.icon_button.i-exit:before {
    background: url('/assets/img/icons/a-exit-18-px.svg') no-repeat center;
}

.icon_button.i-edit:before {
    filter: hue-rotate(66deg);
    background: url('/assets/img/icons/a-edit.svg') no-repeat center;
}

.icon_button.i-delete:before {
    background: url('/assets/img/icons/a-delete.svg') no-repeat center;
}

.icon_button.i-print:before {
    background: url('/assets/img/icons/a-print-18-px.svg') no-repeat center;
}

.icon_button.i-act:before {
    background: url('/assets/img/icons/a-act-18-px.svg') no-repeat center;
}

.waiting {
    cursor: wait;
}

.is_important {
    background-color: #d9edf7 !important;
}

.is_very_important {
    background-color: #f2dede !important;
}

.is_client_return {
    background-color: rgb(232, 204, 255) !important;
}

ngx-da-data{
    padding: 0 !important;
}
ngx-da-data>div>input{
    border: 0 !important;
    background-color: transparent !important;
    padding: 0.375rem 1.75rem 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}

.mat-tab-group, .mat-tab-group-dynamic-height, .mat-tab-body, .mat-tab-body-active, .mat-tab-body-wrapper, .mat-tab-body-content {
    overflow: unset !important;
}
.mat-tab-body-content {
    transform: none !important;
}
i.dropdown-update-icon {
    font-size: 16px;
    color: #ababab;
    cursor: pointer;
    transition: 0.5ms;
}
i.dropdown-update-icon:hover {
    color: #4a90e2;
}
.mat-expansion-panel-header-title {
    width: 80%;
}
.dropdown-list {
    overflow: hidden;
}
.mat-button-toggle {
    color: #5d5d5d !important;
    background-color: #f6f6f6 !important;
    border-right: 1px solid #6565653d;
}
.mat-button-toggle:last-child {
    border-right: none;
}
.mat-button-toggle-checked {
    color: #ffffff !important;
    background-color: var(--pale-purple) !important;
}
.alert-danger {
    background-color: #f2dede !important;
}
.mat-simple-snackbar {
    color: white !important;
}
.mat-snack-bar-container {
    background: var(--dark-purple) !important;
}
.mat-simple-snackbar-action > .mat_button {
    color: white !important;
}
.mat-simple-snackbar-action {
    color: #f1f1f1 !important;
}
.danger-notifier-service {
    background: #fb31317a !important;
}
.success-notifier-service {
    background: #4caf50 !important;
}
.max-width-50 { max-width: 50px !important; }
.max-width-60 { max-width: 60px !important; }
.max-width-100 { max-width: 100px !important; }
.max-width-150 { max-width: 150px !important; }
.max-width-200 { max-width: 200px !important; }
.max-width-250 { max-width: 250px !important; }
.max-width-300 { max-width: 300px !important; }
.max-width-350 { max-width: 350px !important; }
.max-width-400 { max-width: 400px !important; }
.max-width-450 { max-width: 450px !important; }
.max-width-500 { max-width: 500px !important; }
.max-width-600 { max-width: 600px !important; }
.max-width-700 { max-width: 700px !important; }
.max-width-1000 { max-width: 1000px !important; }

.min-width-50 { min-width: 50px !important; }
.min-width-100 { min-width: 100px !important; }
.min-width-150 { min-width: 150px !important; }
.min-width-200 { min-width: 200px !important; }
.min-width-250 { min-width: 250px !important; }
.min-width-300 { min-width: 300px !important; }
.min-width-350 { min-width: 350px !important; }
.min-width-400 { min-width: 400px !important; }
.min-width-450 { min-width: 450px !important; }
.min-width-500 { min-width: 500px !important; }

.width-350 { width: 350px !important; }

.fixed-width-50 { width: 50px !important; }
.fixed-width-75 { width: 75px !important; }
.fixed-width-100 { width: 100px !important; }
.fixed-width-250 { width: 250px !important; }

.max-height-100 { max-height: 100px !important; }

.height-30 { height: 30px !important; }

.vertical-align-middle { vertical-align: middle !important; }

.line-height-36 { line-height: 36px !important; }

.color-white { color: #FFF !important; }

.span-as-link {
    cursor: pointer;
    border-bottom: 1px dashed;
}
.span-as-link-dotted {
    cursor: pointer;
    border-bottom: 1px dotted;
}
.cursor-pointer {
    cursor: pointer;
}

.old-bg-danger {
    background-color: #f2dede !important;
}
.old-bg-warning {
    background-color: #fcf8e3  !important;
}
.old-bg-success {
    background-color: #dff0d8  !important;
}
.old-bg-info {
    background-color: #d9edf7  !important;
}

.spinner__center {
    display: block !important;
    margin: auto;
    margin-top: 20%;
}

.spinner__center_top {
    display: block !important;
    margin: auto;
}

.is-self-employed {
    display: inline-block !important;
    background: #270b64ab !important;
    color: white;
    font-weight: bold !important;
    cursor: default;
}

.is-self-employed-large {
    padding: 0.2rem 0.5rem;
    font-size: large;
}

.is-self-employed-label {
    padding: 0.1rem 0.3rem;
}

.status_alert {
    display: block;
    padding: 0 7px;
    height: 20px;
    border-radius: 16px;
    background-color: var(--dark-purple);
    font-size: 12px;
    font-weight: bold !important;
}

.status_alert.danger {
    background-color: var(--danger);
}

.status_alert.success {
    background-color: var(--success);
}

.status_alert.primary {
    background-color: var(--primary);
}

.status_alert.info {
    background-color: var(--info);
}

.status_alert.gray {
    background-color: var(--gray);
}
.status_alert.teal {
    background-color: var(--teal);
}

.status_alert.blues {
    background-color: rgba(74, 144, 226, 0.25);
    color: var(--dark-purple);
}

.status_alert.yellows {
    background-color: rgba(254, 183, 11, 0.25);
    color: var(--saffron);
}

.status_alert.greens {
    background-color: rgba(89, 198, 129, 0.25);
    color: var(--tea);
}

.status_alert.reds {
    background-color: rgba(232, 110, 100, 0.25);
    color: var(--orange-pink);
}

.status_alert.greys {
    background-color: rgba(234, 238, 241, 0.5);
    color: rgba(38, 38, 38, 0.5);
}

.status_alert + span {
    display: block;
    margin-top: 4px !important;
    opacity: 0.5;
    color: var(--black);
}

.border-right-bold {
    border-right-width: 3px !important;
}

/* Скрытие шапки, подвала, меню сайта при печати */
@media print {
    app-admin-navbar, app-admin-header, app-footer, .not-print {
        display: none !important;
        margin: 0;
        padding: 0;
    }
}

.text-smaller-80 {
    font-size: 80%;
}
.text-smaller-90 {
    font-size: 90%;
}

.text-smaller-90 {
    font-size: 90%;
}

ngx-mat-file-input > * mat-icon {
    border: solid 1px var(--dark-purple) !important;
    color: var(--dark-purple) !important;
    display: contents !important;
    height: auto;
}

.showOnTCD {
    visibility: collapse;
}
@media screen and (max-width: 480px) {
    .page-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    .modal-dialog {
        max-width: 100% !important;
    }
    kendo-window {
        min-width: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        top: unset !important;
        left: unset !important;
        font-size: 70% !important;
    }
    .button {
        height: unset !important;
        width: unset !important;
    }
    .table_orders_card td, .table_orders_card th, .table_orders_card tr{
        font-size: 80% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: unset !important;
        width: 300px !important;
    }

    .table_orders_card {
        overflow:scroll !important;
        min-width: unset !important;
        max-width: unset !important;
        width: 100% !important;
        display: block !important;
    }

    .table_orders_card * {
        font-size: 30%;
    }

    .table_orders_search {
        margin: 0 !important;
        padding: 0 !important;
        min-width: unset !important;
        max-width: unset !important;
        width: 100% !important;
        display: block;
    }
    .table_orders_search td, .table_orders_search tr, .table_orders_search th {
        font-size: 80% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: unset !important;
    }

    .top-m40 {
        margin: 0 !important;
    }
    .table_orders_log td, .table_orders_log tr, .table_orders_log th {
        font-size: 50% !important;
    }

    .showOnTCD {
        visibility: visible;
        display: inherit;
    }

    .hideOnTCD {
        visibility: collapse;
        display: none;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
    }
}
.mat-checkbox-background {
    background: white;
}
.mat-checkbox-inner-container {
    border: 1px solid var(--dark-purple) !important;
}

app-zorders-list tr.is-sameday {
    background-color: #e5f3ff !important;
}

app-zorders-list tr.is-sameday.saturate {
    background-color: #cde9fd !important;
}

.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb {
    background-color: var(--dark-purple) !important;
}

.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar {
    background-color: color-mix(in srgb, var(--dark-purple) 60%, white 40%) !important;
}


.payment-provider-label-base {
    font-family: monospace;
    font-size: 80% !important;
    padding: 0.12rem 0.17rem;
    margin: 0 0.19rem;
    background-color: brown;
    color: white !important;
}

.payment-provider-ibox {
    background-color: #00a1de !important;
    color: white !important;
}

.payment-provider-assist {
    background-color: #017f78 !important;
    color: white !important;
}

.payment-provider-sbp {
    background-color: #775aa0 !important;
    color: white !important;
}

.color-not-provider {
    color: brown;
}
.color-ibox {
    color: #00a1de !important;
}
.color-assist {
    color: #017f78 !important;
}
.color-sbp {
    color: #775aa0 !important;
}

/* mat-file-input фикс лейбла при выбранном файле */
.mat-file-input__logsis-style input.mat-input-element {
    margin-top: 1em !important;
}
.mat-file-input__logsis-style .mat-form-field-empty.mat-form-field-label {
    margin-top: -0.3em;
}
.mat-file-input__logsis-style .mat-form-field-label:not(.mat-form-field-empty) {
    margin-top: 0.15em;
}
/* /mat-file-input фикс лейбла при выбранном файле */

.signature-status-base {
    display: inline-block;
    border-radius: 30px;
    padding: 4px 10px;
    margin: 5px 0;
    cursor: default;
}

.order-row-style-base {
    height: 100%;
    background-size: 100% 100% !important;
    margin: 0 auto;
    background-color: #fff;
    background-repeat: repeat-y;
    background-position: 0% 0%;
}

/*  GENERATED order-row-style--XXX BEGIN */

.order-row-style--is_expensive--is_client_return {
    background-image: repeating-linear-gradient(-25deg, #f7f0d4 0px, #f7f0d4 30px, #e8ccff 60px, #e8ccff 120px, #f7f0d4 150px, #f7f0d4 180px) !important;
}


.order-row-style--is_expensive--is_client_return--is_important {
    background-image: repeating-linear-gradient(-25deg, #f7f0d4 0px, #f7f0d4 30px, #e8ccff 60px, #e8ccff 120px, #d9edf7 150px, #d9edf7 210px, #f7f0d4 240px, #f7f0d4 270px) !important;
}


.order-row-style--is_expensive--is_client_return--is_very_important {
    background-image: repeating-linear-gradient(-25deg, #f7f0d4 0px, #f7f0d4 30px, #e8ccff 60px, #e8ccff 120px, #f2dede 150px, #f2dede 210px, #f7f0d4 240px, #f7f0d4 270px) !important;
}


.order-row-style--is_expensive--is_important {
    background-image: repeating-linear-gradient(-25deg, #f7f0d4 0px, #f7f0d4 30px, #d9edf7 60px, #d9edf7 120px, #f7f0d4 150px, #f7f0d4 180px) !important;
}


.order-row-style--is_expensive--is_very_important {
    background-image: repeating-linear-gradient(-25deg, #f7f0d4 0px, #f7f0d4 30px, #f2dede 60px, #f2dede 120px, #f7f0d4 150px, #f7f0d4 180px) !important;
}


.order-row-style--is_client_return--is_important {
    background-image: repeating-linear-gradient(-25deg, #e8ccff 0px, #e8ccff 30px, #d9edf7 60px, #d9edf7 120px, #e8ccff 150px, #e8ccff 180px) !important;
}


.order-row-style--is_client_return--is_very_important {
    background-image: repeating-linear-gradient(-25deg, #e8ccff 0px, #e8ccff 30px, #f2dede 60px, #f2dede 120px, #e8ccff 150px, #e8ccff 180px) !important;
}

/*  GENERATED order-row-style--XXX END */

.order-badge {
    --order-badge-primary-color: transparent;
    --order-badge-color-muted: gainsboro;

    --order-badge-color--is_important: var(--saffron);
    --order-badge-color--is_very_important: var(--grapefruit);
    --order-badge-color--is_client_return_only: var(--azure);
    --order-badge-color--is_client_return_combined: var(--dark-sky-blue);
    --order-badge-color--is_bulky: var(--dark-purple);
    --order-badge-color--is_expensive: var(--tea);
    --order-badge-color--is_installation_service: var(--flat-blue);
    --order-badge-color--pickup_point_shipment: var(--pale-purple);
    --order-badge-color--vip_delivery_shipment: var(--dark-gold);

    align-items: center;
    background-color: white;
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-flex;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    tab-size: 8;
    text-align: left;
    cursor: default;

    box-shadow: inset 0 0 0 2px var(--order-badge-primary-color) !important;
    color: var(--order-badge-primary-color);

    margin: 2px;
}

.order-badge-icon {
    box-sizing: border-box;
    color: white !important;
    display: block;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 6px 4px 8px;
    tab-size: 8;
    text-align: left;
    text-overflow: ellipsis;
    vertical-align: top;
    white-space: nowrap;
    background-color: var(--order-badge-primary-color) !important;
}

.order-badge-label {
    box-sizing: border-box;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 8px 4px 4px;
    tab-size: 8;
    text-align: left;
    text-overflow: ellipsis;
    vertical-align: top;
    white-space: nowrap;
    color: var(--order-badge-primary-color) !important;
}

.order-badge-icon-only {
}

.order-badge-icon-only > .order-badge-icon {
    padding: 4px 8px 4px 8px !important;
}

.order-badge-label-only {
}

.order-badge-label-only > .order-badge-label {
    padding: 4px 8px 4px 8px !important;
}

.order-badge-inverted-colors {
}

.order-badge-inverted-colors > .order-badge-icon {
    color: var(--order-badge-primary-color) !important;
    background-color: transparent !important;
}

.order-badge-inverted-colors > .order-badge-label {
    color: white !important;
    background-color: var(--order-badge-primary-color) !important;
}

.order-badge.order_is_important {
    --order-badge-primary-color: var(--order-badge-color--is_important);
}

.order-badge.order_is_very_important {
    --order-badge-primary-color: var(--order-badge-color--is_very_important);
}

.order-badge.order_is_client_return_combined {
    --order-badge-primary-color: var(--order-badge-color--is_client_return_combined);
}

.order-badge.order_is_client_return_only {
    --order-badge-primary-color: var(--order-badge-color--is_client_return_only);
}

.order-badge.order_is_bulky {
    --order-badge-primary-color: var(--order-badge-color--is_bulky);
}

.order-badge.order_is_expensive {
    --order-badge-primary-color: var(--order-badge-color--is_expensive);
}

.order-badge.order_is_installation_service {
    --order-badge-primary-color: var(--order-badge-color--is_installation_service);
}

.order-badge.order_pickup_point_shipment {
    --order-badge-primary-color: var(--order-badge-color--pickup_point_shipment);
}

.order-badge.order_vip_delivery_shipment {
    --order-badge-primary-color: var(--order-badge-color--vip_delivery_shipment);
}

.order-badge.order-badge-muted {
    --order-badge-primary-color: var(--order-badge-color-muted) !important;
}

table.table-xs th, table.table-xs td {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
}

.fa-edit, .fa-phone, .fa-envelope, .fa-magnifying-glass {
    cursor: pointer;
    color: #4a90e2;
}

.text-size-90 {
    font-size: 90%;
}

.pre-wrapper pre {
    white-space: pre-wrap !important;
}

.d-contents {
    display: contents;
}

/* ng-select */

app-new-courier-type-select .ng-select__logsis-style ng-dropdown-panel,
app-new-client-select .ng-select__logsis-style ng-dropdown-panel,
app-new-courier-select .ng-select__logsis-style ng-dropdown-panel,
app-new-user-who-made-complains-and-penalties-select .ng-select__logsis-style ng-dropdown-panel,
app-new-user-manager-select .ng-select__logsis-style ng-dropdown-panel,
app-new-base-interval-select .ng-select__logsis-style ng-dropdown-panel,
app-new-user-select .ng-select__logsis-style ng-dropdown-panel {
    min-width: 250px !important;
}

.ng-select__logsis-style .item-group {
    margin: 0 0 0 12px !important;
}

.ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    line-height: 3em;
    height: 3em;
    padding: 0 0 0 4px;
    color: var(--ng-select-logsis-style);
    font-weight: 500;
    text-align: left;
}

.ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 5px 7px;
    vertical-align: middle;
}

.ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
    line-height: 22px;
    font-size: 13px;
    color: #000;
    font-weight: 500;
    min-height: auto;
    white-space: normal !important;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    padding: 8px 4px 3px 8px;
    text-decoration: none;
    position: relative;
}

.ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked, .ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked {
    background: rgba(78, 37, 106, 0.58);
    color: rgba(0, 0, 0, 0.87);
}

.ng-select__logsis-style.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder,
.ng-select__logsis-style.ng-select-single .ng-select-container .ng-value-container .ng-placeholder {
    color: #000;
    padding-bottom: 0;
}

.ng-select__logsis-style.ng-select-multiple .ng-select-container .ng-value-container .ng-input {
    padding-bottom: 0;
}

.ng-select__logsis-style .ng-select-container {
    border: 1px solid rgba(173, 173, 173, 255);
}

.ng-select__logsis-style .ng-value-label,
.ng-select__logsis-style .ng-value-icon {
    color: #ffffff;
}

.ng-select__logsis-style.ng-select-single .ng-select-container .ng-value-container {
    line-height: normal;
    overflow-wrap: anywhere;
}

.ng-select__logsis-style.ng-select-multiple .ng-select-container .ng-value-container {
    overflow-wrap: anywhere;
}

.ng-select__logsis-style.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
    white-space: normal !important;
}

.ng-select__logsis-style.ng-select-single .ng-value-label {
    color: black;
    font-size: 13px;
}

.ng-select__logsis-style.ng-select.ng-select-focused .ng-select-container:after {
    border-color: var(--dark-purple) !important;
}

.ng-select__logsis-style.ng-select.ng-select-focused .ng-select-container.ng-appearance-outline:after, .ng-select__logsis-style.ng-select.ng-select-focused .ng-select-container.ng-appearance-outline:hover:after {
    border-color: var(--dark-purple) !important;
}

.ng-select__logsis-style.ng-select.ng-select-focused .ng-select-container .ng-value-container .ng-placeholder {
    color: var(--dark-purple) !important;
}

.ng-select__logsis-style.ng-select.ng-select-focused .ng-select-container .ng-arrow-wrapper .ng-arrow {
    color: var(--dark-purple) !important;
}

.ng-select__logsis-style.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
    background-color: var(--dark-purple) !important;
    white-space: normal !important;
}

.ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected {
    color: var(--dark-purple) !important;
}

.ng-select__logsis-style .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected {
    color: var(--dark-purple) !important;
}

.ng-select__logsis-style.ng-value.ng-star-inserted {
    white-space: pre-wrap;
}

.ng-select__logsis-style.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input > input {
    color: #000;
    min-width: 130px;
    min-height: 20px;
    height: 20px;
    display: none;
}

/* ng-select конец */
