.pt-sans-regular {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-bold {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.pt-sans-regular-italic {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.pt-sans-bold-italic {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}


body {
    font-family: Arial,sans-serif;
    box-sizing: border-box;
}

/* html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { */
html, body, div, span {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
}

sep {
    height: 1.5em;
    border: 1px #dddddd solid;
    margin: 4px 16px;
    border-radius: 5px;
}

.hidden {
    display: none;
}

a {
    text-decoration: underline;
    background-color: transparent;
    color: black;
}

a:link {
    color: black;
}

a:visited {
    color: black;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

#header {
    padding-left: 16px;
    padding-right: 16px;
}

#content {
    padding-left: 16px;
}

.logout {
    text-align: right;
    padding-right: 2px;
}

.pull-right {
    float: right;
}

.user-bar {
    display: flex;
    gap: 14px;
}

.user-bar .name-part {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.user-bar .name-part .email {
    color: #9b9b9b;
    font-size: small;
}

.avatar {
    text-align: right;
}

.user-bar .avatar-part .avatar img {
    height: 45px;
    width: 45px;
    border-radius: 17px;
    outline: 3px solid #7457FF;
    margin: 0 5px;
}

.item-file .item-icon {
    margin-right: 8px;
}

.item-file .copy-button {
    height: 24px;
    padding-left: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.item-file .copy-button:active {
    padding-left: 9px;
}

.header-wrapper {
    height: 5em;
}

.content-wrapper {
    background-color: #F5F7FA;
    padding: 16px;
    border-top: 1px solid rgb(203, 208, 221);
    border-bottom: 1px solid rgb(203, 208, 221);
}

.content {
    margin: 10px 16px 0 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px;
}

.content-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.checkbox-with-time {
    display: flex;
    flex-direction: row;
}

.selectable-list-block {
    width: 50%;
    position: relative;
    background-color: white;
}

.list-block {
    width: 50%;
    position: relative;
}

.selectable-list {
    height: 25em;
    overflow-y: scroll;
    border: 1px rgb(203, 208, 221) dashed;
    border-radius: 8px;
    padding: 8px;
    min-width: 400px;
    position: relative;
}

.selectable-list__left {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.selectable-list__right {
    border-radius: 0 8px 8px 0;
}

.selectable-list__fullrounded {
    border-radius: 5px;
}

.selectable-row {
    position: relative;
    padding: 4px 8px;
    margin-bottom: 2px;
    background-color: #f9f9f9;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow-x: clip;
    user-select: none;
    border-radius: 4px;
}

.selectable-row:hover:not(.selected):not(.selected),
.selectable-row:active:not(.selected):not(.selected),
.selectable-row:focus:not(.selected):not(.selected) {
    background-color: #e3f3f3;
}

.selectable-row.selected {
    background-color: #a1efe1;
    color: #347166;;
    cursor: default;
}

.removable-row {
    padding: 4px 8px;
    margin-bottom: 2px;
    background-color: #f3f1f1;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow-x: clip;
    user-select: none;
    position: relative;
    border-radius: 4px;
}

.removable-row:hover,
.removable-row:active,
.removable-row:focus {
    background-color: #e1fbed;
}

.row-pull-right {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 8px;
    font-size: small;
    /* border-left: 1px solid #adadad; */
}

.row-pull-right .fraction {
    display: inline-block;
    /* overflow: hidden; */
    max-width: 0;
    opacity: 0;
    transform: translateX(-4px);
    line-height: 10px;
    transition:
        max-width 0.4s ease,
        opacity 0.4s ease,
        transform 0.4s ease;
}

.selectable-row:hover .row-pull-right .fraction {
    max-width: 3em; /* длина вместит ",00" */
    opacity: 1;
    transform: translateX(0);
    transition:
        max-width 0.6s ease-out,
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.selectable-row:not(:hover) .row-pull-right .fraction {
    transition:
        max-width 0.2s ease-in,
        opacity 0.2s ease-in,
        transform 0.2s ease-in;
}

.grouped-row {
    padding-left: 26px;
}

.company-info {
    width: 50%;
    padding-left: 8px;
}

.selected-company-wrapper {
    padding: 0 8px;
    margin-bottom: 16px;
    line-height: 1.1em;
    font-size: 1.1em;
    text-overflow: ellipsis;
    overflow-x: clip;
    width: 100%;
    word-wrap: break-word;
}

.selected-company {
    color: #b1b1b1;
}
.selected-company.selected {
    color: #000;
}

.email-selector {
    width: 100%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* gap: 6px; */
}

.company-email-block {
    padding: 8px 0;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.checkbox-container-root {
    height: 1.5em;
}

.company-email-input {
    outline: none;
    font-size: 1em;
}

.btn, a.btn {
    padding: 8px 16px;
    outline: none;
    border: 1px solid #e6e9ef;
    background: #f5f7fa;;
    border-radius: 5px;
    text-decoration: none;
    color: #31374a;;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
}

.btn:hover {
    background: #e3e6ed;
}

.btn.primary {
    background-color: rgb(245, 247, 250);
    border-color: rgb(227, 230, 237);
    color: rgb(56, 116, 255);

}

.btn.primary:hover {
    color: rgb(0, 77, 255);
    background-color: rgb(227, 230, 237);
    border-color: rgb(230, 233, 239);
}

.btn.primary:active {
    color: rgb(56, 116, 255);
}

.btn.success {
    color: rgb(37, 176, 3);
}

.btn.success:hover {
    color: rgb(35, 137, 11);
}

.btn.info {
    color: rgb(0, 151, 235);
}

.btn.info:hover {
    color: rgb(0, 128, 199);
}

.btn.warning {
    color: rgb(229, 120, 11);
}

.btn.warning:hover {
    color: rgb(214, 99, 10);
}

.btn.outline-primary {
    background-color: rgba(255, 255, 255, 0.4);
    border-color:  rgb(56, 116, 255);
    color: rgb(56, 116, 255);
}

.btn.outline-primary:hover {
    color:  rgb(255, 255, 255);
    background-color: rgb(56, 116, 255);
    border-color: rgb(56, 116, 255);
}

.btn.outline-secondary {
    background-color: rgba(255, 255, 255, 0.4);
    border-color:  rgb(49, 55, 74);
    color: rgb(49, 55, 74);
}

.btn.outline-secondary:hover {
    color:  rgb(255, 255, 255);
    background-color: rgb(49, 55, 74);
    border-color: rgb(49, 55, 74);
}

.btn.outline-success {
    background-color: rgba(255, 255, 255, 0.4);
    border-color:  rgb(37, 176, 3);
    color: rgb(37, 176, 3);
}

.btn.outline-success:hover {
    background-color: rgb(37, 176, 3);
    border-color:  rgb(37, 176, 3);
    color: rgb(255, 255, 255);
}

.btn.outline-info {
    background-color: rgba(255, 255, 255, 0.4);
    border-color:  rgb(0, 151, 235);
    color: rgb(0, 151, 235);
}

.btn.outline-info:hover {
    background-color: rgb(0, 151, 235);
    border-color:  rgb(0, 151, 235);
    color: rgb(255, 255, 255);
}

.btn.outline-warning {
    background-color: rgba(255, 255, 255, 0.4);
    border-color:  rgb(229, 120, 11);
    color: rgb(229, 120, 11);
}

.btn.outline-warning:hover {
    background-color: rgb(229, 120, 11);
    border-color:  rgb(229, 120, 11);
    color: rgb(255, 255, 255);
}

.checkbox-label {
    font-size: 18px;
    line-height: 24px;
}

.checkbox-container-root.checkbox-container-root__text-label {
    margin-top: 4px;
}

#popup_messages {
    position: fixed;
    top: 0;
    width: 400px;
    left: calc(50% - 200px);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.popup-message {
    width: 100%;
    border: 1px solid #cdcdcd;
    background: #ebebeb;
    border-radius: 5px;
    padding: 18px;
    position: relative;
    box-shadow: #aeacd7 5px 5px 10px -5px;
    color: white;
    user-select: none;
}

.popup-message::after {
    content: "×";
    position: absolute;
    right: 2px;
    top: 0px;
    font-size: 20px;
    font-weight: bold;
    font-family: sans-serif;
    height: 22px;
    width: 22px;
    text-align: center;
    cursor: pointer;
    color: white;
    text-shadow: 0px 0px 1px black;
    user-select: none;
}

.popup-message.msg-success {
    background: #1aab9d;
    border-color: #1d978b;
}

.popup-message.msg-error {
    background: #cd4e4e;
    border-color: #b14545;
}

.popup-message.msg-info {
    background: #2381e1;
    border-color: #1d6a97;
}

.popup-message.msg-warning {
    background: #df8d27;
    border-color: #97611d;
}

.m-l-2 {
    margin-left: 2px;
}

.m-l-4 {
    margin-left: 4px;
}

.p-l-8 {
    padding-left: 8px;
}

.m-l-8 {
    margin-left: 8px;
}

.m-l-16 {
    margin-left: 16px;
}

.m-r-8 {
    margin-right: 8px;
}

.font-small {
    font-size: small;
}

.width-50 {
    width: 50%;
}

.width-100 {
    width: 100%;
}

.date-label {
    font-size: 18px;
    line-height: 24px;
    padding-top: 4px;
}

.date-field, .time-field {
    border: 1px solid #b7b7b7;
    outline: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: larger;
}

.row-tag {
    padding: 4px 16px;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 2px;
    user-select: none;
    font-family: sans-serif;
}

.top-tag {
    padding: 13px 16px 7px;
    border: none;
    border-radius: 10px;
    width: fit-content;
    user-select: none;
    font-family: sans-serif;
    text-align: center;
    height: 2.6em;
    width: 6em;
}

.top-tag.is-adding {
    padding: 5px 4px 7px;
}

[class*="tag-color"] {
    background-color: #d1d1d1;
}

.tag-color-0 {
    background-color: #e2e2e2;
    color: #1b1b1b;
}

.tag-color-1 {
    background-color: #B9C9CD;
    color: #2A454C;
}

.tag-color-2 {
    background-color: #8C9683;
    color: #303D24;
}

.tag-color-3 {
    background-color: #B09A7B;
    color: #4C3413;
}

.tag-color-4 {
    background-color: #AE94A4;
    color: #60234B;
}

.tag-color-5 {
    background-color: #CDBE86;
    color: #564614;
}

.tag-color-6 {
    background-color: #C4BABC;
    color: #442D30;
}

.tag-color-7 {
    background-color: #969FA1;
    color: #1B2F33;
}

.tag-color-8 {
    background-color: #D29A8B;
    color: #56281E;
}

.tag-color-9 {
    background-color: #E8E0D9;
    color: #3F3124;
}

.tag-color-10 {
    background-color: #DEC4BE;
    color: #633E37;
}

.tag-color-11 {
    background-color: #427E75;
    color: #173A34;
}

[class*="product-color"] {
    background-color: #c0c0c0;
}

.product-color-0 {
    background-color: #f5f5f5;
    color: #202020;
}

.product-color-1 {
    background-color: #E7ECEE;
    color: #2A454C;
}

.product-color-2 {
    background-color: #DADDD8;
    color: #303D24;
}

.product-color-3 {
    background-color: #ECE7DF;
    color: #4C3413;
}

.product-color-4 {
    background-color: #DDD3D9;
    color: #60234B;
}

.product-color-5 {
    background-color: #F5F1E7;
    color: #564614;
}

.product-color-6 {
    background-color: #E6E2E3;
    color: #442D30;
}

.product-color-7 {
    background-color: #D9DCDD;
    color: #1B2F33;
}

.product-color-8 {
    background-color: #F1E2DD;
    color: #56281E;
}

.product-color-9 {
    background-color: #F4F0EC;
    color: #3F3124;
}

.product-color-10 {
    background-color: #F2E8E5;
    color: #633E37;
}

.product-color-11 {
    background-color: #C7D8D5;
    color: #173A34;
}

.star-button {
    color: grb(138, 148, 173);
    position: absolute;
    left: 0px;
    top: 0;
    height: 18px;
    padding: 4px;
    cursor: pointer;
    user-select: none;
}

.star-button.gold-color {
    color: rgb(229, 120, 11);
}

.prohibited-to-be-main .star-button {
    color: #d1d1d1;
    cursor: not-allowed;
}

.tag-list-block {
    width: 50%;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 16px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 8px;
}

.loading-show {
    display: none !important;
}

.loading>.loading-hide {
    display: none !important;
}

.loading>.loading-show {
    display: inline-block !important;
}

.input-field {
    height: 2em;
    outline: none;
    border: 2px #d1d1d1 solid;
    border-radius: 6px;
    padding: 1px 8px 1px;
    color: rgb(49, 55, 74);
    font-weight: 600;

    background-color: #fff;
    /* box-shadow: transparent 0px 1px 2px inset; */
    position: relative;
    padding: 1px 8px 2px 8px;
    font-size: 0.9em;

    background-position: right 1rem center;
    border: 1px solid #cbd0dd;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.input-field:focus {
    /* box-shadow: transparent 0px 1px 2px inset, rgba(56, 116, 255, 0.25) 0px 0px 0px 0.25rem; */
    /* border-color: rgb(56, 116, 255); */
    border-color: #3874ff;
    outline: 0px;
}

.id-field {
    position: relative;
    padding: 1px 8px 1px 32px;
}

.id-icon-block {
    position: relative;
    margin-bottom: 16px;
}

.id-icon-block:before {
    content: "🆔";
    position: absolute;
    top: 5px;
    left: 6px;
    z-index: 1;
}

.border-right {
    border-right: 1px solid #cbd0dd;
}



.label {
    display: inline;
    padding: 0.2em 0.7em 0.2em;
    font-size: 60%;
    font-weight: 500;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.85em;
}

.label-default {
    background-color: #777;
}

.label-primary {
    background-color: #337ab7;
}

.label-success {
    background-color: #5cb85c;
}

.label-info {
    background-color: #5bc0de;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-danger {
    background-color: #d9534f;
}

