/**
 * Import base theme variables and settings
 */
@import "theme.css";

/**
 * Reset & Common styles
 */
BODY, HTML {
    height: 100%;
}

HTML {
    box-sizing: border-box;
    font-size: 100px;
    font-size: var(--base-font-size);
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

BODY {
    background: #fff;
    background: var(--base-bg-color);
    color: #000;
    color: var(--base-text-color);
    direction: ltr;
    direction: var(--base-direction);
    font-family: sans-serif;
    font-family: var(--base-font-family);
    font-size: .16rem;
    font-size: var(--content-text-font-size);
    line-height: 1.5;
    line-height: var(--base-text-line-height);
    margin: 0;
    min-width: 360px;
    text-align: left;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

*, :before, :after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

A {
    color: inherit;
    -webkit-text-decoration: none;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    transition:
        color var(--transition-duration),
        border-color var(--transition-duration),
        background-color var(--transition-duration),
        opacity var(--transition-duration);
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto
}

A SVG, A USE {
    pointer-events: none;
}

INPUT, SELECT, TEXTAREA, BUTTON, TABLE {
    font-family: inherit;
}

H1, H2, H3, H4, H5, H6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: bold;
    color: var(--header-text-color);
    font-family: var(--header-text-font-family);
}

H1, .h1 {
    font-size: var(--header-text-font-size-1);
    font-weight: var(--header-text-font-weight-1);
    line-height: var(--header-text-line-height-1);
    margin-bottom: var(--header-text-bottom-offset-1);
}

H2, .h2 {
    font-size: var(--header-text-font-size-2);
    font-weight: var(--header-text-font-weight-2);
    line-height: var(--header-text-line-height-2);
    margin-bottom: var(--header-text-bottom-offset-2);
}

H3, .h3 {
    font-size: var(--header-text-font-size-3);
    font-weight: var(--header-text-font-weight-3);
    line-height: var(--header-text-line-height-3);
    margin-bottom: var(--header-text-bottom-offset-3);
}

H4, .h4 {
    font-size: var(--header-text-font-size-4);
    font-weight: var(--header-text-font-weight-4);
    line-height: var(--header-text-line-height-4);
    margin-bottom: var(--header-text-bottom-offset-4);
}

H5, .h5 {
    font-size: var(--header-text-font-size-5);
    font-weight: var(--header-text-font-weight-5);
    line-height: var(--header-text-line-height-5);
    margin-bottom: var(--header-text-bottom-offset-5);
}

H6, .h6 {
    font-size: var(--header-text-font-size-6);
    font-weight: var(--header-text-font-weight-6);
    line-height: var(--header-text-line-height-6);
    margin-bottom: var(--header-text-bottom-offset-6);
}

A {
    color: var(--color-secondary);
}

.default-layout {
    width: 100%;
}

.header__container {
    padding: var(--gap-xxs) var(--gap-xs);
}

.header__logo {
    height: 46px;
    margin-right: 18px;
    transition: transform .3s ease;
    width: 46px
}

.header__logo:hover {
    transform: scale(1.04);
}

.header__title {
    margin: 0;
    line-height: 1;
}

.header__auth-user {
    margin-left: auto;
}

.auth-user {
    display: flex;
    align-items: center;
    column-gap: var(--gap-xs);
}


.page {
    padding: .32rem 0 .48rem;
    flex-direction: column;
}

.page_bg_gray {
    background: var(--color-gray100);
}

.page__bar {
    flex: 1;
    background: var(--color-white);
    border-radius: var(--control-border-radius);
    margin-bottom: var(--gap-s);
    padding: var(--gap-xxs) var(--gap-xs);
    justify-content: stretch;
    flex-direction: row;
}

.page__bar .form {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: row;
    column-gap: var(--gap-xs);
    flex-wrap: wrap;
}

.page__bar .form__row {
    margin: 0;
}

.page__bar .form__buttons {
    display: flex;
    column-gap: var(--gap-xs);
    margin-top: 20px;
}

.page__form {
    background: var(--color-white);
    border-radius: var(--control-border-radius);
    padding: var(--gap-xxs) var(--gap-xs);
    width: 100%;
    margin: 0 auto var(--gap-m);
}

.bar {
    display: flex;
}

.bar__search-form {
    width: 4rem;
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: stretch;
    column-gap: var(--gap-xs);
}

.search-form__v-input {
    flex: 1;
}


.v-input {
    outline: none;
    opacity: 1;
}
.v-input__label {
    font-size: .875em;
    line-height: 156%;
    color: var(--color-gray);
}
.v-input__label.v-input__required:after {
    content: ' *';
    color: var(--color-primary);
}

.v-input__desc {
    color: var(--color-gray);
    font-size: 0.875em;
}

.v-input__input,
.v-input__text,
.grow-wrap::after {
    box-sizing: border-box;
    box-shadow: none;
    background-color: var(--control-background-color);
    color: var(--control-text-color);
    font-size: var(--control-text-font-size);
    width: 100%;
    height: auto;
    padding: calc(var(--control-padding) - .02rem);
    outline: none;
    line-height: 1;

    border: var(--control-border);
    border-radius: var(--control-border-radius);

    transition: var(--transition);
}
.v-input__input:hover,
.v-input__text:hover,
.grow_wrap::after {
    border-color: var(--color-gray);
}
.v-input__input:focus,
.v-input__text:focus {
    border-color: var(--color-white);
    outline: none;
    color: var(--color-black);
    box-shadow: 0 0 1px rgba(0,0,0,.04),0 2px 6px rgba(0,0,0,.04),0 16px 24px rgba(0,0,0,.06);
}
.v-input__input:disabled,
.v-input__text:disabled,
.grow-wrap::after:disabled {
    border-color: var(--color-gray200);
    color: var(--color-gray300);
}
.field_informer {
    padding: 10px 20px;
    background: var(--color-jade100);
    border-radius: var(--control-border-radius);
}
.field_informer .v-input__input {
    border: unset;
    pointer-events: none;
    background: transparent;
    padding: 0;
}
.v-input__checkbox {
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
    color: var(--color-gray);
    margin: 0.5em;
    /*margin-right: 0;*/
    border: solid 1px var(--color-gray300);
    border-radius: var(--control-border-radius);
    transition: var(--transition);
}

.v-input__validation-msg {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: .75em;
    color: var(--color-red);
    opacity: 0;
    transition: var(--transition);
}

.v-input._invalid .v-input__input {
    border: var(--control-border-size) var(--control-border-type) var(--invalid-border-color);
    box-shadow: none;
}



.v-input._invalid .v-input__label {
    color: var(--invalid-text-color);
}
.v-input._invalid .v-input__validation-msg {
    opacity: 1;
}

.v-input .button {
    font-size: var(--control-text-font-size);
}

.checkboxInput {

}

.checkboxInput .v-input__label {

}

.checkboxInput .v-input__checkbox {
    margin: 0 var(--control-padding) 2px 0;
}

.checkboxInput:has(.v-input__checkbox) {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.checkboxInput .v-input__value {
    order: -1;
    width: 100%;
}


.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
}
.grow-wrap::after {
    /* Note the weird space! Needed to preventy jumpy behavior */
    content: attr(data-replicated-value) " ";
    /* This is how textarea text behaves */
    white-space: pre-wrap;
    /* Hidden from view, clicks, and screen readers */
    visibility: hidden;
}
.grow-wrap > textarea {
    /* You could leave this, but after a user resizes, then it ruins the auto sizing */
    resize: none;
    /* Firefox shows scrollbar on growth, you can hide like this. */
    overflow: hidden;
}
.grow-wrap > textarea,
.grow-wrap::after {
    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;
}
.v-input__table {
    font-size: 0.875em;
    color: var(--color-gray);
    border-collapse: collapse;
    margin-bottom: 1em;
}
.v-input__table TH,
.v-input__table TD {
    font-weight: normal;
    border: dotted 1px var(--color-gray300);
    padding: 5px 10px;
}
.v-input__row {

}
.v-input__row_editable {
    cursor: pointer;
    position: relative;
}


.v-input__row_editable:after {
    bottom: 0;
    -webkit-box-shadow: 0 0 60px rgba(0, 0, 0, .1);
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
    content: "";
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: opacity .15s ease;
    transition: opacity .15s ease;
}

.v-input__row_editable:hover:after {
    opacity: 1;
    z-index: 1;
}


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

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

.button {
    box-sizing: border-box;
    padding: 0.16rem 0.24rem;
    border-radius: var(--control-border-radius);
    border: none;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-size: var(--control-text-font-size);
    font-weight: 600;
    line-height: 1;
    transition: var(--transition);
    cursor: pointer;
    user-select: none;
}
button { cursor: pointer; }

.button {
    --button-bg: var(--ok-mid);
    --button-color: var(--card);
    --button-border: var(--ok-mid);
    --button-hover-bg: color-mix(in srgb, var(--ok-mid) 85%, var(--ink));
    --button-hover-color: var(--card);
    --button-hover-border: var(--button-hover-bg);
    --button-focus: var(--ok-mid);
    padding: 12px 16px;
    border: 1px solid var(--button-border);
    background-color: var(--button-bg);
    color: var(--button-color);
    box-shadow: none;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.button-soft {
    --button-bg: var(--ok-soft);
    --button-color: var(--ok);
    --button-border: var(--ok-mid);
    --button-hover-bg: var(--ok);
    --button-hover-color: var(--card);
    --button-hover-border: var(--ok);
    --button-focus: var(--ok);
}

a.button { padding: 12px 16px; }

.button_variant_common {
    --button-bg: var(--ok-mid);
    --button-color: var(--card);
    --button-border: var(--ok-mid);
    --button-hover-bg: color-mix(in srgb, var(--ok-mid) 85%, var(--ink));
    --button-hover-color: var(--card);
    --button-hover-border: var(--button-hover-bg);
    --button-focus: var(--ok-mid);
}

.button_variant_primary {
    --button-bg: var(--red);
    --button-color: var(--card);
    --button-border: var(--red);
    --button-hover-bg: var(--red-dark);
    --button-hover-color: var(--card);
    --button-hover-border: var(--red-dark);
    --button-focus: var(--red);
}

.button_variant_primary-soft {
    --button-bg: var(--red-soft);
    --button-color: var(--red-dark);
    --button-border: var(--red-soft);
    --button-hover-bg: var(--red);
    --button-hover-color: var(--card);
    --button-hover-border: var(--red);
    --button-focus: var(--red);
}

.button_variant_secondary {
    --button-bg: var(--blue-soft);
    --button-color: var(--blue);
    --button-border: var(--blue-soft);
    --button-hover-bg: var(--blue);
    --button-hover-color: var(--card);
    --button-hover-border: var(--blue);
}

.button:not(:disabled):not(.button_disabled):not([aria-disabled="true"]):hover,
.button:not(:disabled):not(.button_disabled):not([aria-disabled="true"]):active {
    border-color: var(--button-hover-border);
    background-color: var(--button-hover-bg);
    color: var(--button-hover-color);
}

.button:not(:disabled):not(.button_disabled):not([aria-disabled="true"]):active {
    box-shadow: inset 0 2px 4px rgba(28, 28, 30, 0.2);
}

.button:focus-visible {
    outline: 0;
    outline-offset: 0;
}

.button:is(:disabled, .button_disabled, [aria-disabled="true"]) {
    border-color: var(--line-strong);
    background-color: var(--bg);
    color: var(--muted);
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
}


.v-label {
    display: block;
    flex: 100%;
}

.form {

}
.with_tooltip {
    position: relative;
}
.v-input__tooltip {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    left: 100px;
    top: -25px;
    -webkit-transition: top .3s linear;
    transition: top .3s linear;
    z-index: 1;
    background: var(--color-white);
    border-radius: var(--control-border-radius);
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}
.with_tooltip:hover .v-input__tooltip {
    opacity: 1;
}
.recruit-form {
    padding-bottom: 60px;
    margin-bottom: 0;
}
.recruit-form > .v-label {
    font-size: .20rem;
    font-weight: 500;
    margin-bottom: .10rem;
}


.empty_value {
    /*color: var(--color-gray);*/
}

.form__row {
    -webkit-display: flex;
    display: flex;
    flex: 1 0 auto;
    flex-wrap: wrap;
    grid-gap: 0 40px;
    margin: 0 0 1.5em;
}
.form__panel {
    position: fixed;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: var(--color-white);
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
}
.form__panel-inner {
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    grid-gap: 0 40px;
}

.form__comments {
    position: fixed;
    right: 20px;
    /* bottom: 68px; */
    bottom: -386px;
    height: 500px;
    width: 400px;
    z-index: 2;
    transition: 0.5s;
}

.form__comments_state_opened {
    bottom: 68px;
}

.comments {
    background: var(--color-white);
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.comments__header {
    padding: var(--control-padding);
    display: flex;
    justify-content: space-between;
}

.comments__contents {
    padding: var(--control-padding);
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    row-gap: 4px;
    overflow-y: auto;
}

.comment__content {
    line-height: 1.2;
}

.comments__item {
    padding: 2px 10px;
    background-color: var(--color-jade100);
    border-radius: var(--control-border-radius);
}

.comment__info {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
}

.comment__author {
    font-weight: bold;
}

.comment__time {
    font-size: 80%;
}

.comments__add {
    display: flex;
    justify-content: stretch;
    align-items: flex-start;
    gap: 20px;
    padding: var(--control-padding);
}

.comments__add-text {
    flex: 1;
}

.comment.edit .comment__edit{
   display: none;
}

.comment.edit .comment__content{
    display: none;
}

.comment.edit .comment__save{
    display: block;
}

.comment.edit .comment__content-input{
    display: block;
    width: 290px;
}
.comment svg path {
    transition: var(--transition);
}
.comment svg:hover path{
    fill: var(--color-primary-hover);
}

.comment__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment__edit {
    cursor: pointer;
}
.comment__save {
    cursor: pointer;
    display: none;
}
.comment__content-input {
    display: none;
}
.recruitScreen .form__panel .v-input {
    margin: 0;
}
.form__panel .status {
    flex: 1 1 0;
}
.form__row .v-input {
    flex: 1 0 0;
}
.form__row .v-input.hr_changed, .form__row .v-input.admin_changed {
    border: 2px solid #ffb700;
    border-radius: 4px;
    padding: 10px;
}
.form__row .v-input.recruit_changed {
    border: 2px solid green;
    border-radius: 4px;
    padding: 10px;
}
.form__row .v-input__label {
    display: block;
}
.form__row .break {
    flex-basis: 100%;
    content: "";
    height: 0;
}
.v-input__files a.button {
    display: inline-block;
    border-radius: var(--control-border-radius);
    transition: var(--transition);
    box-sizing: border-box;
    background-color: var(--color-primary);
    color: var(--color-primary-items);
    padding: 0.16rem 0.24rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, .04), 0 2px 6px rgba(220, 57, 51, .12), 0 10px 20px rgba(220, 57, 51, .18);
}
.v-input__files_disabled a.button {
    color: var(--color-gray);
    pointer-events: none;
    background-color: buttonface;
    box-shadow: none;
}
.v-input__files_disabled .button {
    pointer-events: none;
}
.v-input__files .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.v-input__files_disabled .buttons {
    pointer-events: none;
}
.v-input__files_disabled a.button.edo-template-download {
    pointer-events: auto;
    color: var(--color-primary-items);
    background-color: var(--color-primary);
    box-shadow: 0 0 1px rgba(0, 0, 0, .04), 0 2px 6px rgba(220, 57, 51, .12), 0 10px 20px rgba(220, 57, 51, .18);
}
.v-input__files_disabled .buttons .edo-template-download {
    pointer-events: auto;
}

.edo-consents-hint {
    flex-basis: 100%;
    width: 100%;
    margin: 24px 0 16px;
}
.edo-consents-hint__separator {
    border: 0;
    border-top: 1px solid #c8c8c8;
    margin: 0 0 16px;
}
.edo-consents-hint__title {
    font-weight: 700;
    margin-bottom: 10px;
}
.edo-consents-hint p {
    margin: 0 0 6px;
    color: #444;
}
.v-input__file-size {
    color: var(--color-gray);
    font-size: 0.825em;
}

.form__row .v-input__table {
    width: 100%;
}
.form__section {
    margin-bottom: 40px;
}



.items-table {
    flex: 1;
    border-radius: var(--control-border-radius);
    border-collapse: collapse;
}

.items-table__cell {
    padding: var(--gap-xxs) var(--gap-xs);
}

.items-table__cell.sorted-field a{
    position: relative;
    display: inline-block;
}
.items-table__cell.sorted-field a:before {
    content: '↑';
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
}
.items-table__cell.sorted-field.DESC a:before {
    content: '↓';
}
.items-table__header {
    background-color: var(--color-white);
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    border-radius: var(--control-border-radius) var(--control-border-radius) 0 0;
    height: 54px;
    margin-bottom: 2px;
    -webkit-transition: top .3s linear;
    transition: top .3s linear;
}

.items-table__header .items-table__cell:first-child {
    border-radius: var(--control-border-radius) 0 0 0;
}

.items-table__header .items-table__cell:last-child {
    border-radius: 0 var(--control-border-radius) 0 0;
}

.items-table__header .items-table__cell {
    font-weight: normal;
}

.items-table__name {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.items-table__users {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.items-table__date {

}

.items-table__buttons {
    width: .1rem;
    opacity: 0;
    padding: 0;
}
.items-table__item:hover .items-table__buttons {
    opacity: 1;
}

.items-table__item {
    position: relative;
    align-items: center;
    background-color: var(--color-white);
    color: var(--color-black);
    height: 64px;
    margin-bottom: 2px;
    outline: none;
    -webkit-text-decoration: none;
    text-decoration: none;
}

.items-table__item:after {
    bottom: 0;
    -webkit-box-shadow: 0 0 60px rgba(0, 0, 0, .1);
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
    content: "";
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: opacity .15s ease;
    transition: opacity .15s ease;
}

.items-table__item:hover:after {
    opacity: 1;
    z-index: 1;
}

.items-table__item:last-child {
    border-radius: 0 0 var(--control-border-radius) var(--control-border-radius);
}

.items-table__item:last-child:after {
    border-radius: 0 0 var(--control-border-radius) var(--control-border-radius);
}

.items-table__item:last-child .items-table__cell:first-child {
    border-radius: 0 0 0 var(--control-border-radius);
}

.items-table__item:last-child .items-table__cell:last-child {
    border-radius: 0 0 var(--control-border-radius) 0;
}

.dialog {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
}

.dialog_opened .dialog {
    height: 100%;
}

.dialog__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #1f222acc;
    filter: alpha(opacity=0);
    opacity: 0;
    transition: var(--transition-duration);
}

.dialog_opened .dialog__overlay {
    filter: alpha(opacity=80);
    opacity: 0.8;
}

.dialog__window {
    position: absolute;
    left: 50%;
    top: -1000px;
    width: 768px;
    max-width: 100%;
    margin-left: -384px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: var(--control-border-radius);
    background: var(--color-white);
    transition: none;
}

.dialog_opened .dialog__window {
    top: 100px;
    transition: var(--transition-duration);
}

.dialog__title {

}

.dialog__close {
    width: 48px;
    height: 48px;
}

.rounded-button {
    cursor: pointer;
    border: 0 none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    display: flex;

}

.dialog__close.rounded-button SVG {
    width: 24px;
    height: 24px;
}

.rounded-button__icon-close {
    color: #202e35;
    transition: var(--transition-duration);
}
.rounded-button:hover .rounded-button__icon-close {
    transform: rotate(90deg);
}

.dialog__window .window-header {
    padding: var(--control-padding);
    border-bottom: solid 1px var(--color-gray200);
    grid-gap: 0 20px;
}

.dialog__window .window-content {
    padding: var(--control-padding);
}

.dialog__window .window-footer {
    padding: var(--control-padding);
    border-top: solid 1px var(--color-gray200);
    grid-gap: 0 20px;
}

.window-header {
    display: flex;
    justify-content: stretch;
    align-items: center;
    cursor: pointer;
}

.window-header__title {
    flex: 1;
}

.window-header__button {
    background: transparent;
    rotate: 180deg;
}

.form__comments_state_opened .window-header__button {
    rotate: 0deg;
}

.window-arrow {
    color: var(--color-gray);
    fill: var(--color-gray);
    width: 14px;
    height: 14px;
}

.window-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.screen {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
}
.screen__side {
    width: 50%;
    padding: 80px 75px;
}
.screen__side .wrapper {
    width: 360px;
    height: 100%;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: start;
}
.screen__side .form {
    width: 100%;
    margin: auto 0;
}
.screen__side .v-input {
    margin-bottom: 28px;
}
.screen__side .button.primary {
    width: 100%;
    margin-bottom: 20px;
}
.screen__side .form P {
    margin-bottom: 48px;
    font-size: 1em;
    line-height: 1.5;
    color: var(--color-gray);
}
.screen__side .conditions {
    margin-top: auto;
}
.screen__side .conditions P {
    margin:20px 0 0;
    font-size: 14px;
    line-height: 16px;
    color: var(--color-gray400);
}
.screen__side .conditions .v-input__checkbox {
    margin: 0 10px 0 0;
}
.screen__image {
    width: 50%;
    background: no-repeat 50% 85%;
    background-size: cover;
}
.authScreen .screen__image {
    background-image: url(../img/bg.jpg);
}




.container {
    margin: 0 auto;
    max-width: 100%;
    width: var(--container-max-width);
    display: flex;
    align-items: center;
}



.bar__filters {
    display: flex;
    align-items: center;
}

.bar__filters .button {
    margin-left: 1.5em;
}

/*
.container .v-input {
    margin-bottom: 0.5em;
}
*/


input[type="date" i] {
    font-family: Circe, serif;
    cursor: default;
    align-items: center;
    display: inline-flex;
    overflow: hidden;
    max-width: 100%;
}

.errors, .inf {
    padding: 10px 20px;
    /*color: var(--color-red700);*/
    background: var(--color-red100);
    border-radius: var(--control-border-radius);
    margin-bottom: 20px;
}
.inf {
    /*color: var(--color-jade700);*/
    background: var(--color-jade100);
}


@media only screen and (max-width: 768px) {
    .container {
        min-width: 0;
        width: 100%;
    }
    .header {
        padding: 1.5em 16px;
    }

    .header__container {
        padding: 0;
    }

    .title {
        font-size: 3em;
    }
    H1 {
        font-size: 1.75em;
    }
    H2 {
        font-size: 1.625em;
    }
    H3, H4 {
        font-size: 1.25em;
    }
    H5, H6 {
        font-size: 1em;
    }

    .page {
        padding: 0;
    }

    .container .v-input {
        flex-basis: 100%;
    }

    .container .form {
        padding: 0 16px;
    }

    .screen__side {
        width: 100%;
        padding: 2em 0;
    }

    .screen__side .wrapper {
        width: auto;
        margin: 0 2em;
    }

    .screen__side .form P,
    .screen__side .conditions P {
        font-size: 1em;
    }

    .v-input__label {
        font-size: 1em;
    }

    .v-input__desc {
        font-size: 1em;
        margin-bottom: 1em;
    }

    .v-input__table {
        font-size: 1em;
    }

    .v-input__table TH,
    .v-input__table TD {
        font-size: 1em;
    }


    .v-input__table THEAD {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .v-input__table TR {
        border: 1px solid #ddd;
        border-radius: var(--control-border-radius);
        display: block;
        padding: 1em;
        margin-bottom: 1em;
    }

    .v-input__table TD {
        display: block;
        border: 0 none;
    }

    .v-input__table .row__variant_labels TD::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label) ': ';
        display: block;
    }


    .form__panel {
        position: relative;
        box-shadow: none;
    }

    .form__panel-inner {
        flex-direction: column;
        row-gap: 1em;
    }

    .form__panel-inner .button {
        width: 100%;
    }

    .form__comments {
        /* make as overlay */
        display: none;
    }



    .list-container {
        background-color: var(--color-white);
        padding: 24px 16px 18px;
    }

    .authScreen {

    }

    .authScreen .screen__image {
        display: none;
    }

    .dialog {
        bottom: 0;
        overflow-y: auto;
    }

    .dialog_opened #__layout {
        display: none;
    }

    .dialog_opened .dialog__window {
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        height: auto;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }

}


/*notifications*/
.header__notifications {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}
.header__notification-head {
    position: relative;
    cursor: pointer;
}
.header__notifications-circle {
    position: absolute;
    top: 30%;
    right: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-primary);
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
}
.header__notifications-items {
    position: absolute;
    width: 18vw;
    padding: 20px 10px;
    background: #F5F5F5;
    border-radius: var(--control-border-radius);
    top: 100%;
    left: -10px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0px 5px 50px 0px #00000080;
    z-index: 2;
}
.header__notifications-item {
    line-height: 100%;
}
.header__notifications-item:not(:last-child) {
    margin-bottom: 10px;
}
.header__notifications.has_notifications:hover .header__notifications-items {
    opacity: 1;
    pointer-events: all;
}
.header__notifications-button {
    padding-top: 5px;
}
.button.abutton {
    display: block;
    padding-left: 0.12rem;
    padding-right: 0.12rem;
    width: max-content;
    padding: 0.08rem 0.12rem;
    background-color: var(--color-primary);
    color: var(--color-primary-items);
    box-shadow: 0 0 1px rgba(0,0,0,.04), 0 2px 6px rgba(220,57,51,.12), 0 10px 20px rgba(220,57,51,.18);
}

.custom-multiselect {
    position: relative;
    width: 100%;
    font-size: var(--control-text-font-size);
    line-height: 1;
}

.custom-multiselect__head {
    position: relative;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: border-color 0.3s ease;
}

._invalid .custom-multiselect__head {
    border-color: var(--invalid-text-color);
}

.custom-multiselect__head:after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid var(--control-text-color);
    border-bottom: 2px solid var(--control-text-color);
    width: 7px;
    height: 7px;
}

.custom-multiselect__head.custom-multiselect__head--active:after {
    transform: translateY(-50%) rotate(225deg);
}

.custom-multiselect__head:hover {
    border-color:var(--color-gray);
}

._invalid .custom-multiselect__head:hover {
    border-color: var(--invalid-text-color);
}

.custom-multiselect__head--active {
    border-color: var(--color-gray);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

._invalid .custom-multiselect__head--active {
    border-color: var(--invalid-text-color);
}

.custom-multiselect__placeholder {
    color: #999;
}


.custom-multiselect__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--color-gray);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 2;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

._invalid .custom-multiselect__dropdown {
    border-color: var(--invalid-text-color);
}

.custom-multiselect__dropdown--active {
    display: block;
}

.custom-multiselect__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-multiselect__option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.custom-multiselect__option:hover {
    background-color: #f5f5f5;
}

.custom-multiselect__option--selected {
    background-color: #e3f2fd;
}

.custom-multiselect__checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.custom-multiselect__option--selected .custom-multiselect__checkbox {
    background-color: #2196F3;
    border-color: #2196F3;
}

.custom-multiselect__checkbox::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-multiselect__option--selected .custom-multiselect__checkbox::after {
    opacity: 1;
}

.custom-multiselect__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 20px;
}

.custom-multiselect__tag {
    background: #e3f2fd;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.custom-multiselect__tag-remove {
    cursor: pointer;
    font-size: 14px;
    color: #666;
    line-height: 100%;
    height: 10px;
}

.custom-multiselect__tag-remove:hover {
    color: var(--invalid-text-color);
}

.hidden {
    display: none;
}
