@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;
}

.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: 300% !important;
        height: auto;
        border-radius: 5px;
        background-color: #d8e5fb;
    }

    .custom-comment-files {
        max-width: 150% !important;
        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: #aa80ff;
    --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;
}


.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #b2c3fb;
    --bs-btn-border-color: #b2c3fb;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5e82ff;
    --bs-btn-hover-border-color: #5e82ff;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b2c3fb;
    --bs-btn-active-border-color: #b2c3fb;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b2c3fb;
    --bs-btn-disabled-border-color: #b2c3fb;
}

.bg-primary{
    background-color: #b2c3fb !important;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ff8a95;
    --bs-btn-border-color: #ff8a95;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #dc3545;
    --bs-btn-hover-border-color: #dc3545;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff8a95;
    --bs-btn-active-border-color: #ff8a95;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #ff8a95;
    --bs-btn-disabled-border-color: #ff8a95;
}


.form-check-input:checked {
    background-color: #b2c3fb;
    border-color: #b2c3fb;
}
.form-control:focus {
    border-color: #b2c3fb;
    box-shadow: 0 0 0 0.2rem rgb(178, 195, 251);
}

/* Для чекбоксов */
.form-check-input:focus {
    border-color: #b2c3fb;
    box-shadow: 0 0 0 0.2rem rgb(178, 195, 251);
}
.form-select:focus {
    border-color: #b2c3fb;
    box-shadow: 0 0 0 0.2rem rgb(178, 195, 251);
}


.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #b2c3fb !important;
    box-shadow: 0 0 0 0.2rem rgb(178, 195, 251) !important;
}


.btn-outline-primary {
    --bs-btn-color: #b2c3fb;
    --bs-btn-border-color: #b2c3fb;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b2c3fb;
    --bs-btn-hover-border-color: #b2c3fb;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b2c3fb;
    --bs-btn-active-border-color: #b2c3fb;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #b2c3fb;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #b2c3fb;
    --bs-gradient: none;
}

.form-select:focus {
    border-color: #5e85ff !important;
    box-shadow: 0 0 0 0.2rem rgb(178, 195, 251) !important;
    outline: none;
}

.nav-pills {
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #b2c3fb;
}
.nav-pills .nav-link {
    border-radius: var(--bs-nav-pills-border-radius);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--bs-nav-pills-link-active-bg);
}

.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: #b2c3fb !important;
    --bs-nav-link-hover-color: #a3b8fd !important;
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    padding-right: 0;
    margin-bottom: 0;
    list-style: none;
}

.link-primary {
    color: var(--bs-secondary-color) !important;
    -webkit-text-decoration-color:var(--bs-secondary-color)!important;
    text-decoration-color:var(--bs-secondary-color) !important;
}

.link-primary:focus, .link-primary:hover {
    color: #1047ff !important;
    -webkit-text-decoration-color: #b2c3fb !important;
    text-decoration-color: #b2c3fb !important;
}


.active > .page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--bs-pagination-active-bg);
    border-color: var(--bs-pagination-active-border-color);
}

.border-my-color  {
    --bs-border-opacity: 1;
    border-color: #a3b8fd !important;
}

.text-my-color  {
    --bs-text-opacity: 1;
    color: #a3b8fd !important;
}

.form-check-label .btn {
    border-radius: 30px;
    background-color: #0f5132;
}

.form-check-btn .form-check-label {
    padding: 0.175rem 0.75rem;
    margin: -10rem 0;
    border-radius: 30px;
    transition: all 0.1s ease;
}

.form-check-btn .form-check-label:hover {
    background-color: #3a80d7;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-check-btn .btn-check:checked + .form-check-label {
    background-color: #a3b8fd;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-check-btn .btn-check:checked + .form-check-label:hover {
    background-color: #3a80d7;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
