.dark .range_modal {
    background: #2d2d2d !important;
}

.light .card {
    border-color: transparent !important;
    box-shadow: none !important;
}

.dark .card {
    border-color: transparent !important;
    background: var(--dashboard-tiles-background) !important;
    color: var(--text-primary) !important;
}

/* .dark .text,
.dark h4,
.dark h5 {
    color: #a7a7a7 !important
} */

.dark .card-title {
    color: #fff !important
}

.dark text {
    fill: #fff !important;
}

.dark .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.dark .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.dark-button {
    background: #121212;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.light-button {
    background: #fff;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dark-button img,
.light-button img {
    width: 20px;
    height: 20px;
}

.dark .dark-button {
    display: none;
}

.dark .light-button {
    display: flex;
}

.light .dark-button {
    display: flex;
}

.light .light-button {
    display: none;
}

.dark .light_logo {
    display: none;
}

.light .dark_logo {
    display: none;
}

.logo {
    width: 150px;
}

.ui-state-highlight {
    width: 10px;
    background-color: #fffa90;
}

.dark .table {
    color: #fff;
}

.dark .offcanvas {
    background-color: #121212 !important;
    color: #fff;
}

.dark .offcanvas .btn-close {
    color: #fff !important;
    background: transparent
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
        center/1em auto no-repeat;
}

.dark .funnel1 {
    background: #58d6d7 !important;
}

.dark .funnel2 {
    background: #ff8080 !important;
}

.dark .funnel3 {
    background: #ffcc78 !important;
}

.dark .funnel4 {
    background: #636aff !important;
}

.dark .funnel5 {
    background: #4397ff !important;
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.checkbox-label {
    background-color: #efefef;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f1c40f;
}

.checkbox-label .ball {
    background-color: #ffffff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
    transform: translateX(24px);
    background-color: #fff;
}

.checkbox:checked + .checkbox-label {
    background-color: #121212;
}

.draggable--over {
    border: 1px solid black;
    border-radius: 10px;
    border-style: dashed;
    padding-bottom: 10px;
}

.bg-opacity-25 {
    opacity: 25%;
}

.dark .draggable--over{
    border: 1px solid #fff;
    border-style: dashed;
}

.box-with-title button, .box-with-title span {
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showAlways {
    display: block !important;
}

.hideAlways {
    display: none !important;
}

.draggable--original {
    display: none !important;
}

.box {
    min-height: 98px;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 6px
}

#preloader {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: var(--background-grey-1000) url('../../images/loader_mindboard.svg') no-repeat center center;
    background-size: 100px;
}

.loaded_hiding {
visibility: visible;
opacity: 1;
transition: opacity 0.5s linear;
}

.loaded {
visibility: hidden;
opacity: 0;
transition: visibility 0s 0.5s, opacity 0.5s linear;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #EDEDED;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #A0A1A2;
  border-radius: 10px;
}

nav.navbar {
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.15) !important
}

.alwan__button {
    width: 40px;
    height: 35px;
    padding: 0;
}

.tab-content>.tab-pane {
    display: block;
    height: 0;
    overflow: hidden;
}
.tab-content>.tab-pane.active {
    height: auto;
}

#date_order, .date_order {
    display: none;
}

#date_order.active, .date_order.active {
    display: block;
    font-size: 10px;
}

#range, .date_range {
    font-size: 9.5px;
    border-radius: 12px !important;
    padding: 6px 20px 6px 12px !important;
}

#last_period, .range_last_period {
    display: none;
}

#last_period.active, .range_last_period.active {
    display: block;
}


#year_select, .range_year_select {
    width: 74px !important;
    height: 27px !important;
    margin-top: 5px;
    margin-right: 5px;
    padding: 0.275rem 0.75rem 0.275rem 0.25rem !important;
    background-position: right 0.05rem center !important;
}

.table .valueProcent {
    display: none;
}

.table.active_procent .valueProcent, .TableForChart .past-container {
    display: flex;
    justify-content: center;
}

.table.active_procent .valueNumber {
    display: none;
}

.no-visible-operator {
    opacity: 0;
    width: 0;
    height: 0;
}


.box-table, .box-chart, .box-multi-chart {
    display: none;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0;
}

.box-chart.active, .box-table.active, .box-multi-chart.active {
    display: flex;
}

.box-pie {
    max-height: 500px !important;
}

.access_date {
    text-decoration: none;
    color: #fff;
    background: #24935E;
    padding: 4px 6px;
    border-radius: 3px;
}

.access_date_end {
    background: #f65d5d;
}

.access_date:hover {
    color: #fff;
}

.custom-tooltip {
    --bs-tooltip-bg: #24935E;
}

.avatar {
    width: 2em;
    height: 2em;
    background: #24935E;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.avatar_name {
    font-size: 0.85em;
}

.dropdown-menu {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.light .cardMindboard {
    border-color: #f3f4fa !important;
}

.cardMindboard .card-title {
    font-weight: 700;
}

.cardMindboard .card-text {
    font-size: 13px;
    margin: 10px 0 5px;
    min-height: 100px;
}

.cardMindboard .h5, .cardMindboard h5 {
    font-size: 1rem;
}

.cardMindboard img {
    width: 100%;
    min-height: 330px;
    padding: 5px;
}

@media (min-width: 1400px) {
    .col-xl-125 {
        flex: 0 0 auto;
        width: 12.5%
    }
}

.nav-pills .nav-link:disabled {
    background-color: #57ac83 !important;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    z-index: 9999;
    background: var(--background-grey-1000);
    overflow: auto;
    max-height: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
}

.fullscreen .box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    z-index: 9999;
    background-color: white;
    overflow: auto;
    max-height: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
}

.fullscreen .table-responsive {
    height: auto !important;
    max-height: 100% !important;
}

.fullscreen:not(:has(.box-pie)) .box {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    z-index: 9999;
    background-color: white;
    overflow: auto;
    max-height: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}

.fullscreen:not(:has(.box-pie)) .table-responsive {
    height: auto !important;
    max-height: 100% !important;
}

.fullscreen:not(:has(.box-pie)) .box-chart, .fullscreen:not(:has(.box-pie)) .box-multi-chart {
    height: 50% !important;
    margin-top: 30px !important;
}

.fullscreen:not(:has(.box-pie)) .box-table {
    box-shadow: none !important;
    margin-top: 30px !important;
    height: auto !important;
}

.fullscreen:not(:has(.box-pie)) .tableChart, .fullscreen:not(:has(.box-pie)) .viewChart {
    display: none !important;
}

.customTooltip .tooltip-inner {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    max-width: 350px;
    color: #fff;
}

.customTooltip.tooltip.show {
    opacity: 1
}

.tooltip_link {
    cursor: pointer;
    position: relative;
}

.tooltip_content {
    font-size: 12px;
}

.tooltip_content b {
    display: block;
    margin-bottom: 5px;
}

.fa-check-green {
    color: #198754;
}

.render .tooltip_link {
    pointer-events: none; /* Отключает взаимодействие мыши */
}

.sidebar-wrapper {
    height: calc(80vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-right: 5px;
}

.sidebar-wrapper::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.sidebar-wrapper::-webkit-scrollbar-track {
  background: #EDEDED;
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
  background: #A0A1A2;
  border-radius: 10px;
}

.sidebar-wrapper::-webkit-scrollbar-thumb:hover {
  background: #8c8d8e;
}

.accordion-button:focus {
    border-color: var(--bs-accordion-border-color);
    outline: 0;
    box-shadow: none !important
}

.textElipse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deleteSegment, .deleteSubject {
    cursor: pointer;
    padding: 0 2px;
    font-size: 10px;
    margin-top: 5px;
}

.notification-ul .dropdown-item {
    white-space: normal !important;
}

.fullscreen .container_chart_pie .position-relative {
    height: 50vh !important;
}

.col-xxl-3 .container_chart_pie .position-relative {
    height: 450px;
}


.fullscreen:not(:has(.box-pie)) .titleTableForChart {
    text-align: center;
    width: 100%;
    padding-top: 20px;
}