@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-ExtraLight.ttf');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-ExtraLightItalic.ttf');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-LightItalic.ttf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-MediumItalic.ttf');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-Medium.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-MediumItalic.ttf');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-BoldItalic.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-Black.ttf');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/fonts/Nunito/NunitoSans_10pt-BlackItalic.ttf');
    font-weight: 900;
    font-style: italic;
}

:root {
    --color-black: #333333;
}

html, body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    color: var(--color-black);
}

body {
    /*background: #f6f8fa;*/
    background: rgb(244, 248, 253);
}

#logo {
    height: 40px;
}

.shadow-custom {
    /*  box-shadow: 0 0.125rem 0.25rem rgba(109, 164, 205, 0.17);*/
    box-shadow: 0 0.125rem 0.25rem rgba(109, 164, 205, 0.17);
}


.row-td:nth-child(2n) {
    /*  background: rgb(248,249,250);*/
    background: #f6f8fa;
}

.bg-light-custom {
    background: #f6f8fa;
}

.badge-pills {
    right: 5px;
}

.border-dashed-top {
    border-top: 1px dashed #dee2e6;
}

:root {
    --bg-btn: #6f42c1;
    --color-btn: #ffffff;
}

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

.btn-custom {
    border: none;
    box-shadow: none;
    border-radius: 5px;
    padding: 4px 10px;
    background: var(--bg-btn);
    color: var(--color-btn);
}

.btn-custom:hover {
    filter: brightness(95%);
}

.badge-custom {
    background: var(--bg-btn);
    color: var(--color-btn);
}

.select2-container {
    width: auto !important;
}

/*иконка загрузки файлов*/
.lds-spinner-wrapper-position {
    position: absolute;
    top: -17px;
    z-index: 1;
    right: 10.5px;
}

.lds-spinner-wrapper {
    /* line-height: 13px;*/
}

.lds-ellipsis {
    display: block;
    position: relative;
    width: 61px;
    height: 13px;

}

.lds-ellipsis div {
    position: absolute;
    top: 0px;
    width: 13px;
    height: 13px;
    border-radius: 0.375rem;
    background: #0d6efd;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 0px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 0px;
    animation: lds-ellipsis2 0.6s infinite;

}

.lds-ellipsis div:nth-child(3) {
    left: 24px;

    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 48px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis2 {
    0% {

        transform: translate(0, 0);
    }
    100% {

        transform: translate(24px, 0);
    }
}

@keyframes lds-ellipsis3 {
    0% {

        transform: scale(1);
    }
    100% {
        transform: scale(0);

    }
}

#progress-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    font-size: 50px;
    color: #ffffff;
    z-index: 999999;
}

.btn-close:focus {
    box-shadow: none;
}

.custom-img-files {
    max-width: 25%;
    height: auto;
    border-radius: 5px;
    background-color: #c0d7ff;
}

.custom-files {
    max-width: 10%;
    height: auto;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .custom-img-comment-files {
        max-width: 200% !important;
        height: auto;
        border-radius: 5px;
        background-color: #d8e5fb;
    }

    .custom-comment-files {
        max-width: 80% !important;
        height: auto;
        border-radius: 5px;
    }

    .custom-files {
        max-width: 10%;
        height: auto;
        border-radius: 5px;
    }

    .text-name-files {
        text-align: end;
    }
}

.custom-img-comment-files {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    background-color: #d8e5fb;
}

.custom-comment-files {
    max-width: 50%;
    height: auto;
    border-radius: 5px;
}


.custom-icons-files {
    max-width: 30px;
    height: auto;
    border-radius: 5px;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-wrapper .pen {
    position: absolute;
    bottom: 20px;
    right: -25px;
}

.avatar-box {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.avatar-box img {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.avatar-box-text {
    font-size: 45px;
}

.avatar-wrapper {
    margin-right: 25px;
}

.avatar-wrapper .pen {
    width: 32px;
    height: 32px;
}

.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.task-sticker {
    border-width: 6px 0px 0px 0px;
    border-radius: 5px;
    border-style: solid;
}

.preview-box-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.custom-color-h-kanban {
    color: rgba(255, 255, 255, 0.5);
}

.btn-my {
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--my-btn-color);
    --bs-btn-bg: var(--my-btn-bg);
    --bs-btn-border-color: var(--my-btn-bg);
    --bs-btn-hover-color: var(--my-btn-color);
    --bs-btn-hover-bg: var(--my-btn-hover-bg);
    --bs-btn-hover-border-color: var(--my-btn-hover-bg);
    --bs-btn-active-color: var(--my-btn-color);
    --bs-btn-active-bg: var(--my-btn-active-bg);
    --bs-btn-active-border-color: var(--my-btn-active-bg);
    --bs-btn-disabled-color: var(--my-btn-color);
    --bs-btn-disabled-bg: var(--my-btn-bg);
    --bs-btn-disabled-border-color: var(--my-btn-bg);
}

.btn-violet {
    --my-btn-color: #fff;
    --my-btn-bg: #712cf9;
    --my-btn-hover-bg: #6528e0;
    --my-btn-active-bg: #6327d9;
}

.avatar-box-small {
    width: 35px;
    height: 35px;
    overflow: hidden;
    border-radius: 50%;
}

.avatar-box-small img {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.my-informer {
    border-width: 0px 0px 0px 4px;
    border-radius: 5px;
    border-style: solid;
    background-color: #ffffff;
    transition: .15s ease-in-out;
    color: #6C757D;
}

.my-informer:hover {
    background-color: #fafafa;
    border-color: #212529 !important;
    color: #212529;
}

.my-informer .my-text-informer {
    color: #6C757D;
}

.my-informer:hover .my-text-informer {
    color: #212529;
}

.my-informer .my-counter-informer {
    font-family: Tahoma, sans-serif;
}

@media (max-width: 991px) {
    .my-informer .my-text-informer {
        font-size: 12px;
    }

    .my-informer .my-counter-informer {
        font-size: 14px;
    }
}

label.btn:has(> input:checked) {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
}

.my-btn-radio:hover {
    color: var(--bs-btn-color);
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-color);
}

.info-badge {
    position: absolute;
    height: calc(100% - 8px);
    top: 50%;
    padding: 2px;
    left: -1px;
    transform: translate(-100%, -50%) scale(-1);
    writing-mode: vertical-rl;
    font-size: 10px;
    background: #000000;
    text-align: center;
    color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.comment-block-indent {
    margin-left: 42px;
}

.comment-block-indent .avatar-box-small {
    font-size: 9px;
    width: 25px;
    height: 25px;
}

#comments-block .comment-block:not(:last-of-type) .comment-line {
    border-bottom: 1px solid #dee2e6;
    margin-top: 7px;
}

.custom-tooltip-timeline {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 5px;
    pointer-events: none;
    width: 500px;
}

.dropdown-menu[data-comment-id] {
    pointer-events: auto;
}

.dropdown-menu[data-comment-id] .dropdown-item {
    user-select: none;
    pointer-events: none;
    cursor: default;
}

.collapse-toggle {
    transition: color 0.2s ease-in-out;
}
.collapse-toggle:hover {
    color: var(--bs-primary) !important;
}
.collapse-toggle.active {
    color: var(--bs-primary) !important;
}

.side-ribbon {
    position: fixed;
    top: 0;
    width: 36px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 0;
}

.side-ribbon .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.0);
    border-radius: 50%;
    font-size: 18px;
    color: white;
    opacity: 0.6;
    transition: background 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}
.side-ribbon:hover {
    background: rgba(0, 0, 0, 0.03);
    opacity: 1;
    transform: scale(1.1);
}
.side-ribbon:hover .arrow {
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
    transform: scale(1.1);
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

#nav-left {
    left: 0;
}

#nav-right {
    right: 0;
}

@media (max-width: 768px) {
    #nav-left,
    #nav-right {
        display: none !important;
    }
}

@keyframes border-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
    30% {
        box-shadow: 0 0 20px 4px var(--blink-border, #ffcc00);
    }
    60% {
        box-shadow: 0 0 8px 2px var(--blink-border, #ffcc00);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.task-blink {
    animation: border-pulse 0.7s ease-in-out 3;
    border-radius: 0.5rem;
    z-index: 2;
    position: relative;
}
